Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test55,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009234/0.0009235, allocations: 100.3 kB / 15.98 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001077/0.001077, allocations: 193.1 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.656/1.656, allocations: 205.1 MB / 222.8 MB, free: 4.691 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4429/0.4429, allocations: 43.49 MB / 313.6 MB, free: 8.453 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001768/0.001768, allocations: 71.91 kB / 382.3 MB, free: 8.504 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.142, allocations: 57.79 MB / 440.1 MB, free: 14.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test55): time 0.00575/0.1478, allocations: 1.749 MB / 441.9 MB, free: 12.85 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002634/0.1505, allocations: 1.375 MB / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001367/0.1506, allocations: 0 / 443.2 MB, free: 11.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004418/0.1511, allocations: 39.83 kB / 443.3 MB, free: 11.43 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004009/0.1516, allocations: 47.84 kB / 443.3 MB, free: 11.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004042/0.152, allocations: 83.77 kB / 443.4 MB, free: 11.3 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.1523, allocations: 87.77 kB / 443.5 MB, free: 11.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001314/0.1524, allocations: 20.22 kB / 443.5 MB, free: 11.19 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001166/0.1525, allocations: 39.78 kB / 443.6 MB, free: 11.15 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.1528, allocations: 47.77 kB / 443.6 MB, free: 11.11 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.1528, allocations: 4 kB / 443.6 MB, free: 11.1 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.153, allocations: 59.97 kB / 443.7 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.208e-05/0.1531, allocations: 11.94 kB / 443.7 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.86e-05/0.1532, allocations: 35.78 kB / 443.7 MB, free: 11 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003291/0.1535, allocations: 119.9 kB / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.1535, allocations: 0 / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.767e-06/0.1536, allocations: 0 / 443.8 MB, free: 10.88 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.566e-06/0.1536, allocations: 11.92 kB / 443.8 MB, free: 10.87 MB / 382.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.0007494/0.1543, allocations: 407 kB / 444.2 MB, free: 10.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.341e-05/0.1544, allocations: 11.89 kB / 444.2 MB, free: 10.41 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.908e-05/0.1544, allocations: 38.73 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.752e-05/0.1545, allocations: 8.844 kB / 444.3 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002897/0.1548, allocations: 200.2 kB / 444.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.416e-05/0.1548, allocations: 4.375 kB / 444.5 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.091e-05/0.1549, allocations: 19.86 kB / 444.5 MB, free: 10.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002181/0.1551, allocations: 75.33 kB / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/0.1551, allocations: 3.906 kB / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.287e-05/0.1552, allocations: 0 / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.1552, allocations: 0 / 444.6 MB, free: 10.01 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.476e-05/0.1553, allocations: 19.98 kB / 444.6 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004439/0.1557, allocations: 284.9 kB / 444.9 MB, free: 9.66 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.1559, allocations: 58.62 kB / 444.9 MB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.498e-05/0.156, allocations: 24.84 kB / 445 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.963e-05/0.156, allocations: 0 / 445 MB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002613/0.1563, allocations: 63.39 kB / 445 MB, free: 9.492 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.893e-06/0.1563, allocations: 0 / 445 MB, free: 9.492 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000648/0.157, allocations: 181.2 kB / 445.2 MB, free: 9.309 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.041e-05/0.157, allocations: 81.11 kB / 445.3 MB, free: 9.211 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001835/0.1572, allocations: 149.8 kB / 445.4 MB, free: 9.055 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1573, allocations: 33.7 kB / 445.5 MB, free: 9.016 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.7e-05/0.1573, allocations: 96.14 kB / 445.6 MB, free: 8.918 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.982e-05/0.1574, allocations: 27.64 kB / 445.6 MB, free: 8.891 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.1575, allocations: 17.72 kB / 445.6 MB, free: 8.867 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1576, allocations: 326.8 kB / 445.9 MB, free: 8.539 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.643e-05/0.1577, allocations: 23.98 kB / 445.9 MB, free: 8.516 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.421e-05/0.1578, allocations: 42.5 kB / 446 MB, free: 8.465 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001281/0.1579, allocations: 69.69 kB / 446.1 MB, free: 8.391 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1579, allocations: 0 / 446.1 MB, free: 8.391 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001955/0.1581, allocations: 93.53 kB / 446.2 MB, free: 8.293 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.1581, allocations: 8.062 kB / 446.2 MB, free: 8.285 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1582, allocations: 4 kB / 446.2 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.592e-05/0.1582, allocations: 0 / 446.2 MB, free: 8.281 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.391e-05/0.1583, allocations: 15.98 kB / 446.2 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1583, allocations: 0 / 446.2 MB, free: 8.266 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.952e-05/0.1584, allocations: 15.84 kB / 446.2 MB, free: 8.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-06/0.1584, allocations: 4.375 kB / 446.2 MB, free: 8.246 MB / 382.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.000112/0.1585, allocations: 121.8 kB / 446.3 MB, free: 8.117 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.957e-05/0.1585, allocations: 7.906 kB / 446.3 MB, free: 8.109 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.604e-05/0.1586, allocations: 16.91 kB / 446.3 MB, free: 8.094 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.1586, allocations: 4 kB / 446.3 MB, free: 8.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.1586, allocations: 11.88 kB / 446.4 MB, free: 8.078 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.1586, allocations: 3.938 kB / 446.4 MB, free: 8.074 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004664/0.1591, allocations: 391.3 kB / 446.7 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.1591, allocations: 0 / 446.7 MB, free: 7.633 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.495e-05/0.1591, allocations: 8 kB / 446.7 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.011e-06/0.1592, allocations: 7.969 kB / 446.8 MB, free: 7.617 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.333e-05/0.1592, allocations: 4 kB / 446.8 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1592, allocations: 0 / 446.8 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.1592, allocations: 0 / 446.8 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002573/0.1595, allocations: 204.5 kB / 447 MB, free: 7.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.907e-05/0.1595, allocations: 81.02 kB / 447 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.658e-05/0.1595, allocations: 7.938 kB / 447 MB, free: 7.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.275e-05/0.1596, allocations: 8 kB / 447.1 MB, free: 7.281 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.26e-05/0.1597, allocations: 7.984 kB / 447.1 MB, free: 7.273 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.1597, allocations: 4 kB / 447.1 MB, free: 7.27 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001075/0.1598, allocations: 118.9 kB / 447.2 MB, free: 7.156 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1598, allocations: 4 kB / 447.2 MB, free: 7.152 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002919/0.1601, allocations: 28 kB / 447.2 MB, free: 7.125 MB / 382.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.001758/0.1619, allocations: 1.144 MB / 448.4 MB, free: 5.988 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002066/0.1621, allocations: 59.91 kB / 448.4 MB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1621, allocations: 0 / 448.4 MB, free: 5.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.232e-05/0.1622, allocations: 24 kB / 448.4 MB, free: 5.906 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003546/0.1626, allocations: 43.77 kB / 448.5 MB, free: 5.863 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001813/0.1644, allocations: 1.57 MB / 450.1 MB, free: 4.199 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002972/0.1647, allocations: 0.7002 MB / 450.8 MB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.191e-05/0.1648, allocations: 8.891 kB / 450.8 MB, free: 3.465 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.097e-05/0.1649, allocations: 39.41 kB / 450.8 MB, free: 3.43 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.1649, allocations: 0 / 450.8 MB, free: 3.43 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01757/0.1825, allocations: 3.373 MB / 454.2 MB, free: 24 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2373/0.4198, allocations: 231.3 kB / 454.4 MB, free: 51.14 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.786/2.205, allocations: 0 / 454.4 MB, free: 51.14 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test55.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test55/Test55.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test55.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches