Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00178/0.00178, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002159/0.002159, allocations: 208.4 kB / 23.74 MB, free: 4.691 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.984 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2238/0.2238, allocations: 46.94 MB / 360.9 MB, free: 4.25 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test20,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test20",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002035/0.002035, allocations: 71.89 kB / 0.4962 GB, free: 7.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.319/0.3211, allocations: 66.03 MB / 0.5607 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test20): time 0.003238/0.3243, allocations: 1.749 MB / 0.5624 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001766/0.3261, allocations: 1.042 MB / 0.5634 GB, free: 1.609 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.973e-05/0.3261, allocations: 7.875 kB / 0.5634 GB, free: 1.602 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003181/0.3264, allocations: 51.75 kB / 0.5635 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003289/0.3268, allocations: 91.61 kB / 0.5636 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001965/0.327, allocations: 79.67 kB / 0.5637 GB, free: 1.383 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.3272, allocations: 107.7 kB / 0.5638 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.115e-05/0.3272, allocations: 5.828 kB / 0.5638 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3273, allocations: 51.72 kB / 0.5638 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.011e-05/0.3274, allocations: 31.84 kB / 0.5638 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.421e-05/0.3274, allocations: 4 kB / 0.5639 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.944e-05/0.3275, allocations: 39.98 kB / 0.5639 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.35e-05/0.3276, allocations: 19.92 kB / 0.5639 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.53e-05/0.3276, allocations: 43.72 kB / 0.564 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002101/0.3279, allocations: 127.4 kB / 0.5641 GB, free: 0.9609 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.3279, allocations: 3.938 kB / 0.5641 GB, free: 0.957 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.3279, allocations: 0 / 0.5641 GB, free: 0.957 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.589e-06/0.3279, allocations: 0 / 0.5641 GB, free: 0.957 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005327/0.3284, allocations: 347.8 kB / 0.5644 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3284, allocations: 8.031 kB / 0.5644 GB, free: 0.582 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.88e-05/0.3285, allocations: 30.75 kB / 0.5644 GB, free: 0.543 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.519e-05/0.3285, allocations: 12.89 kB / 0.5645 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002479/0.3288, allocations: 159 kB / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-06/0.3288, allocations: 384 / 0.5646 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.3288, allocations: 11.88 kB / 0.5646 GB, free: 348 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.3289, allocations: 53.67 kB / 0.5647 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.087e-05/0.3289, allocations: 0 / 0.5647 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.329, allocations: 0 / 0.5647 GB, free: 288 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.033e-06/0.329, allocations: 3.984 kB / 0.5647 GB, free: 284 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.111e-05/0.329, allocations: 16 kB / 0.5647 GB, free: 268 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.3294, allocations: 267.9 kB / 0.5649 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001699/0.3296, allocations: 54.62 kB / 0.565 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.53e-05/0.3296, allocations: 20.84 kB / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.929e-05/0.3297, allocations: 0 / 0.565 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001423/0.3298, allocations: 67.39 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.252e-06/0.3298, allocations: 3.938 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005329/0.3303, allocations: 185.3 kB / 0.5653 GB, free: 15.6 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.927e-05/0.3304, allocations: 51.41 kB / 0.5653 GB, free: 15.54 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001985/0.3306, allocations: 202.2 kB / 0.5655 GB, free: 15.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.647e-05/0.3306, allocations: 25.7 kB / 0.5655 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.566e-05/0.3307, allocations: 108.1 kB / 0.5656 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.845e-05/0.3307, allocations: 23.8 kB / 0.5657 GB, free: 15.17 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.24e-05/0.3307, allocations: 29.7 kB / 0.5657 GB, free: 15.13 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001517/0.3309, allocations: 322.8 kB / 0.566 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.805e-05/0.3309, allocations: 19.94 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.031e-05/0.331, allocations: 37.7 kB / 0.566 GB, free: 14.75 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001229/0.3311, allocations: 61.69 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.3311, allocations: 4 kB / 0.5661 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001918/0.3313, allocations: 105.5 kB / 0.5662 GB, free: 14.57 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.3313, allocations: 4 kB / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3313, allocations: 0 / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.3314, allocations: 4 kB / 0.5662 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.379e-05/0.3315, allocations: 12 kB / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.3315, allocations: 0 / 0.5662 GB, free: 14.55 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.134e-05/0.3315, allocations: 15.92 kB / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.653e-06/0.3315, allocations: 0 / 0.5662 GB, free: 14.53 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001292/0.3317, allocations: 132.8 kB / 0.5664 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.3317, allocations: 11.91 kB / 0.5664 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002496/0.3319, allocations: 119.2 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.007e-06/0.3319, allocations: 4 kB / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.3319, allocations: 0 / 0.5665 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.3319, allocations: 3.938 kB / 0.5665 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004359/0.3324, allocations: 366.4 kB / 0.5669 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.3324, allocations: 4.031 kB / 0.5669 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.328e-05/0.3324, allocations: 11.94 kB / 0.5669 GB, free: 13.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.3324, allocations: 3.938 kB / 0.5669 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.057e-06/0.3324, allocations: 0 / 0.5669 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.3324, allocations: 4 kB / 0.5669 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.3324, allocations: 0 / 0.5669 GB, free: 13.81 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002408/0.3327, allocations: 208.2 kB / 0.5671 GB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.3327, allocations: 15.94 kB / 0.5671 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.3327, allocations: 8.125 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.046e-05/0.3328, allocations: 4 kB / 0.5671 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.3328, allocations: 8.297 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.215e-05/0.3328, allocations: 4 kB / 0.5671 GB, free: 13.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001368/0.333, allocations: 148.2 kB / 0.5673 GB, free: 13.4 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.333, allocations: 0 / 0.5673 GB, free: 13.4 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.3332, allocations: 27.94 kB / 0.5673 GB, free: 13.38 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00218/0.3354, allocations: 1.096 MB / 0.5684 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001847/0.3356, allocations: 59.92 kB / 0.5684 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3356, allocations: 0 / 0.5684 GB, free: 12.38 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.518e-05/0.3357, allocations: 28.08 kB / 0.5684 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.336, allocations: 28.12 kB / 0.5685 GB, free: 12.32 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.3379, allocations: 1.658 MB / 0.5701 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003805/0.3383, allocations: 0.708 MB / 0.5708 GB, free: 9.84 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.807e-05/0.3383, allocations: 8.984 kB / 0.5708 GB, free: 9.832 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.186e-05/0.3384, allocations: 39.41 kB / 0.5708 GB, free: 9.793 MB / 414.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3384, allocations: 4 kB / 0.5708 GB, free: 9.789 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03124/0.3696, allocations: 3.631 MB / 0.5744 GB, free: 6.223 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.83/11.2, allocations: 11.56 kB / 0.5744 GB, free: 6.219 MB / 414.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test20_fmu --startTime=0 --stopTime=2.5 --stepSize=0.0004995 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Tables_CombiTimeTable_Test20.fmu > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test20/Test20.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test20.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.234639586182311]