Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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.001677/0.001677, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001992/0.001992, allocations: 216.3 kB / 22.99 MB, free: 4.602 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.76/1.76, allocations: 207.7 MB / 233.8 MB, free: 9.801 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.3345/0.3345, allocations: 44.27 MB / 330.3 MB, free: 9.418 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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") translateModel(ModelicaTest.Tables.CombiTimeTable.Test83,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|booleanTable.y|booleanTable.combiTimeTable.y.1.|booleanTable.realToBoolean.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83") [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.0024/0.0024, allocations: 75.84 kB / 468.1 MB, free: 3.824 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1582, allocations: 61.04 MB / 0.5167 GB, free: 6.645 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003762/0.162, allocations: 1.891 MB / 0.5185 GB, free: 4.738 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001748/0.1637, allocations: 0.9366 MB / 0.5195 GB, free: 3.793 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001891/0.1639, allocations: 3.938 kB / 0.5195 GB, free: 3.789 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007514/0.1647, allocations: 199.4 kB / 0.5197 GB, free: 3.594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000395/0.1651, allocations: 163.4 kB / 0.5198 GB, free: 3.434 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005416/0.1656, allocations: 195.5 kB / 0.52 GB, free: 3.242 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003481/0.166, allocations: 255.3 kB / 0.5202 GB, free: 2.992 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.1661, allocations: 17.78 kB / 0.5203 GB, free: 2.973 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001662/0.1662, allocations: 111.5 kB / 0.5204 GB, free: 2.863 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001809/0.1664, allocations: 111.6 kB / 0.5205 GB, free: 2.754 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.1665, allocations: 12 kB / 0.5205 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001604/0.1666, allocations: 63.88 kB / 0.5205 GB, free: 2.68 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.994e-05/0.1667, allocations: 51.78 kB / 0.5206 GB, free: 2.629 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.034e-05/0.1668, allocations: 63.59 kB / 0.5206 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003546/0.1672, allocations: 242.9 kB / 0.5209 GB, free: 2.328 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1672, allocations: 0 / 0.5209 GB, free: 2.328 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1672, allocations: 0 / 0.5209 GB, free: 2.328 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.292e-06/0.1672, allocations: 0 / 0.5209 GB, free: 2.328 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008462/0.168, allocations: 482.5 kB / 0.5213 GB, free: 1.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.1681, allocations: 16.03 kB / 0.5214 GB, free: 1.805 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.008e-05/0.1681, allocations: 20.8 kB / 0.5214 GB, free: 1.785 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003861/0.1685, allocations: 229.4 kB / 0.5216 GB, free: 1.539 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.793e-05/0.1685, allocations: 4.375 kB / 0.5216 GB, free: 1.535 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.953e-05/0.1686, allocations: 8.125 kB / 0.5216 GB, free: 1.527 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.1688, allocations: 95.36 kB / 0.5217 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.1688, allocations: 0 / 0.5217 GB, free: 1.422 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1688, allocations: 4 kB / 0.5217 GB, free: 1.418 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1688, allocations: 4 kB / 0.5217 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.169, allocations: 55.88 kB / 0.5218 GB, free: 1.359 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004998/0.1695, allocations: 305.3 kB / 0.522 GB, free: 1.027 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003106/0.1698, allocations: 113.2 kB / 0.5222 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001094/0.1699, allocations: 45.69 kB / 0.5222 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.1699, allocations: 0 / 0.5222 GB, free: 0.8477 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002483/0.1702, allocations: 121 kB / 0.5223 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=11): time 1.232e-06/0.1702, allocations: 4 kB / 0.5223 GB, free: 0.707 MB / 398.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004968/0.1707, allocations: 193.6 kB / 0.5225 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.848e-05/0.1707, allocations: 81.09 kB / 0.5226 GB, free: 424 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004121/0.1711, allocations: 340.2 kB / 0.5229 GB, free: 76 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.1712, allocations: 25.7 kB / 0.5229 GB, free: 44 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.1713, allocations: 136.1 kB / 0.5231 GB, free: 15.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.833e-05/0.1714, allocations: 39.73 kB / 0.5231 GB, free: 15.87 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.72e-05/0.1714, allocations: 33.7 kB / 0.5231 GB, free: 15.83 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001755/0.1716, allocations: 342.8 kB / 0.5235 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001014/0.1717, allocations: 31.98 kB / 0.5235 GB, free: 15.45 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.1718, allocations: 102 kB / 0.5236 GB, free: 15.33 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002127/0.1721, allocations: 99.34 kB / 0.5237 GB, free: 15.22 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1721, allocations: 0 / 0.5237 GB, free: 15.22 MB / 414.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003025/0.1724, allocations: 149.5 kB / 0.5238 GB, free: 15.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1724, allocations: 9.875 kB / 0.5238 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1724, allocations: 3.938 kB / 0.5238 GB, free: 15.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.409e-05/0.1724, allocations: 8.031 kB / 0.5238 GB, free: 15.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001265/0.1725, allocations: 23.98 kB / 0.5239 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/0.1725, allocations: 3.984 kB / 0.5239 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.057e-05/0.1726, allocations: 15.89 kB / 0.5239 GB, free: 15.01 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.1726, allocations: 8.438 kB / 0.5239 GB, free: 15 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001612/0.1728, allocations: 161.7 kB / 0.524 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.078e-05/0.1728, allocations: 23.86 kB / 0.5241 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003829/0.1732, allocations: 171.3 kB / 0.5242 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.1732, allocations: 4 kB / 0.5242 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.1732, allocations: 0 / 0.5242 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1732, allocations: 0 / 0.5242 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002006/0.1734, allocations: 193.1 kB / 0.5244 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1734, allocations: 0 / 0.5244 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.726e-05/0.1735, allocations: 11.98 kB / 0.5244 GB, free: 14.4 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.208e-06/0.1735, allocations: 4 kB / 0.5244 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.078e-05/0.1735, allocations: 0 / 0.5244 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.1735, allocations: 0 / 0.5244 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1735, allocations: 4 kB / 0.5244 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003409/0.1738, allocations: 201.7 kB / 0.5246 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.1739, allocations: 27.8 kB / 0.5247 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.1739, allocations: 8 kB / 0.5247 GB, free: 14.14 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.545e-05/0.174, allocations: 7.984 kB / 0.5247 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.888e-05/0.174, allocations: 7.984 kB / 0.5247 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.209e-05/0.1741, allocations: 8 kB / 0.5247 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002708/0.1743, allocations: 251 kB / 0.5249 GB, free: 13.87 MB / 414.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1743, allocations: 0 / 0.5249 GB, free: 13.87 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002641/0.1746, allocations: 43.89 kB / 0.525 GB, free: 13.83 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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001726/0.1763, allocations: 449.2 kB / 0.5254 GB, free: 13.42 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002964/0.1766, allocations: 99.83 kB / 0.5255 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1766, allocations: 0 / 0.5255 GB, free: 13.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001369/0.1768, allocations: 55.89 kB / 0.5255 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.1772, allocations: 60.38 kB / 0.5256 GB, free: 13.21 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007242/0.1779, allocations: 387.8 kB / 0.526 GB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000139/0.178, allocations: 140.3 kB / 0.5261 GB, free: 12.65 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001025/0.1781, allocations: 34.47 kB / 0.5261 GB, free: 12.62 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.1782, allocations: 27.41 kB / 0.5262 GB, free: 12.59 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1782, allocations: 0 / 0.5262 GB, free: 12.59 MB / 414.1 MB Notification: Performance of Templates: time 0.007786/0.186, allocations: 3.306 MB / 0.5294 GB, free: 9.297 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test83/Test83.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test83.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: 5.851637225598097]