Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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.001281/0.001281, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001426/0.001426, allocations: 212.6 kB / 23.77 MB, free: 4.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.637/1.637, allocations: 207.7 MB / 234.6 MB, free: 9.785 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2719/0.2719, allocations: 44.26 MB / 331.1 MB, free: 9.324 MB / 270.1 MB " [Timeout remaining time 179] 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.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.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002203/0.002203, allocations: 79.03 kB / 468.3 MB, free: 4.312 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1596, allocations: 61.04 MB / 0.517 GB, free: 7.145 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.004598/0.1642, allocations: 1.887 MB / 0.5188 GB, free: 5.242 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001712/0.1659, allocations: 0.8078 MB / 0.5196 GB, free: 4.426 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001157/0.166, allocations: 3.938 kB / 0.5196 GB, free: 4.422 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003753/0.1664, allocations: 43.7 kB / 0.5196 GB, free: 4.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.1666, allocations: 59.7 kB / 0.5197 GB, free: 4.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003148/0.1669, allocations: 111.7 kB / 0.5198 GB, free: 4.211 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002523/0.1672, allocations: 147.5 kB / 0.5199 GB, free: 4.066 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001394/0.1673, allocations: 21.66 kB / 0.52 GB, free: 4.039 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.691e-05/0.1674, allocations: 51.78 kB / 0.52 GB, free: 3.988 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000121/0.1675, allocations: 55.7 kB / 0.5201 GB, free: 3.934 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.62e-05/0.1676, allocations: 4 kB / 0.5201 GB, free: 3.93 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.1677, allocations: 55.92 kB / 0.5201 GB, free: 3.875 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.946e-05/0.1678, allocations: 27.86 kB / 0.5202 GB, free: 3.848 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.551e-05/0.1678, allocations: 43.72 kB / 0.5202 GB, free: 3.805 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002783/0.1681, allocations: 143.4 kB / 0.5203 GB, free: 3.664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.1681, allocations: 0 / 0.5203 GB, free: 3.664 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.1681, allocations: 0 / 0.5203 GB, free: 3.664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.363e-06/0.1681, allocations: 3.938 kB / 0.5203 GB, free: 3.66 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007411/0.1689, allocations: 407.1 kB / 0.5207 GB, free: 3.227 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/0.1689, allocations: 11.97 kB / 0.5207 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.319e-05/0.1689, allocations: 192 / 0.5207 GB, free: 3.215 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.112e-05/0.169, allocations: 42.75 kB / 0.5208 GB, free: 3.164 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001283/0.1691, allocations: 16.84 kB / 0.5208 GB, free: 3.148 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003134/0.1694, allocations: 167.2 kB / 0.521 GB, free: 2.961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.96e-05/0.1694, allocations: 8.125 kB / 0.521 GB, free: 2.953 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.176e-05/0.1695, allocations: 11.95 kB / 0.521 GB, free: 2.941 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002978/0.1698, allocations: 133.9 kB / 0.5211 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.068e-05/0.1698, allocations: 0 / 0.5211 GB, free: 2.789 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.663e-05/0.1698, allocations: 4 kB / 0.5211 GB, free: 2.785 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.1698, allocations: 4 kB / 0.5211 GB, free: 2.781 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001636/0.17, allocations: 55.89 kB / 0.5212 GB, free: 2.727 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/0.1707, allocations: 476 kB / 0.5216 GB, free: 2.211 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003461/0.171, allocations: 82.66 kB / 0.5217 GB, free: 2.121 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.955e-05/0.1711, allocations: 40.83 kB / 0.5217 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.1711, allocations: 0 / 0.5217 GB, free: 2.078 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002362/0.1714, allocations: 117 kB / 0.5218 GB, free: 1.945 MB / 398.1 MB Notification: Performance of pre-optimization done (n=9): time 1.382e-06/0.1714, allocations: 0 / 0.5218 GB, free: 1.945 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004255/0.1718, allocations: 149.4 kB / 0.522 GB, free: 1.793 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.166e-05/0.1718, allocations: 51.41 kB / 0.522 GB, free: 1.73 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002094/0.1721, allocations: 191.6 kB / 0.5222 GB, free: 1.531 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.66e-05/0.1721, allocations: 29.7 kB / 0.5222 GB, free: 1.496 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.027e-05/0.1722, allocations: 112.1 kB / 0.5224 GB, free: 1.383 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.585e-05/0.1722, allocations: 31.73 kB / 0.5224 GB, free: 1.352 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.803e-05/0.1723, allocations: 25.72 kB / 0.5224 GB, free: 1.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1724, allocations: 330.8 kB / 0.5227 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.16e-05/0.1725, allocations: 31.97 kB / 0.5228 GB, free: 0.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.1726, allocations: 60.28 kB / 0.5228 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002043/0.1728, allocations: 104.5 kB / 0.5229 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1728, allocations: 3.938 kB / 0.5229 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002904/0.1731, allocations: 141.4 kB / 0.523 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.1731, allocations: 8 kB / 0.5231 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.1731, allocations: 0 / 0.5231 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.005e-05/0.1732, allocations: 11.92 kB / 0.5231 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1733, allocations: 23.92 kB / 0.5231 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.1733, allocations: 4 kB / 0.5231 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.996e-05/0.1733, allocations: 15.88 kB / 0.5231 GB, free: 0.5547 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.123e-05/0.1733, allocations: 4.125 kB / 0.5231 GB, free: 0.5508 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.000121/0.1735, allocations: 129.8 kB / 0.5232 GB, free: 424 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.1735, allocations: 19.89 kB / 0.5233 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003151/0.1738, allocations: 134.9 kB / 0.5234 GB, free: 260 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.02e-06/0.1738, allocations: 4 kB / 0.5234 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.1738, allocations: 0 / 0.5234 GB, free: 256 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.1738, allocations: 4 kB / 0.5234 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001959/0.174, allocations: 172.7 kB / 0.5236 GB, free: 36 kB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.516e-06/0.174, allocations: 4 kB / 0.5236 GB, free: 32 kB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.178e-05/0.1741, allocations: 11.98 kB / 0.5236 GB, free: 20 kB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.1741, allocations: 4 kB / 0.5236 GB, free: 16 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.1741, allocations: 7.938 kB / 0.5236 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1741, allocations: 0 / 0.5236 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1741, allocations: 0 / 0.5236 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004274/0.1746, allocations: 197 kB / 0.5238 GB, free: 15.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.456e-05/0.1746, allocations: 12.06 kB / 0.5238 GB, free: 15.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.176e-05/0.1746, allocations: 8.031 kB / 0.5238 GB, free: 15.78 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.396e-05/0.1747, allocations: 11.92 kB / 0.5238 GB, free: 15.77 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.76e-05/0.1747, allocations: 15.98 kB / 0.5238 GB, free: 15.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.1747, allocations: 4 kB / 0.5238 GB, free: 15.75 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000152/0.1749, allocations: 149.1 kB / 0.524 GB, free: 15.6 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1749, allocations: 0 / 0.524 GB, free: 15.6 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002494/0.1752, allocations: 27.94 kB / 0.524 GB, free: 15.57 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.002322/0.1775, allocations: 1.057 MB / 0.525 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002812/0.1778, allocations: 83.95 kB / 0.5251 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1778, allocations: 0 / 0.5251 GB, free: 14.46 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001083/0.1779, allocations: 39.92 kB / 0.5251 GB, free: 14.42 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003201/0.1782, allocations: 35.91 kB / 0.5252 GB, free: 14.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002345/0.1805, allocations: 1.752 MB / 0.5269 GB, free: 12.53 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.1807, allocations: 98.7 kB / 0.527 GB, free: 12.42 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001154/0.1808, allocations: 21.06 kB / 0.527 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.748e-05/0.1809, allocations: 43.42 kB / 0.527 GB, free: 12.35 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1809, allocations: 4 kB / 0.527 GB, free: 12.35 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02762/0.2085, allocations: 4.178 MB / 0.5311 GB, free: 8.055 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.71, allocations: 8 kB / 0.5311 GB, free: 8.047 MB / 414.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --stepSize=0.00039976 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test11.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: 15.472852025995962]