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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00141/0.00141, allocations: 109.7 kB / 18.33 MB, free: 3.98 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00149/0.00149, allocations: 186 kB / 21.49 MB, free: 0.8242 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.91/1.91, allocations: 207.6 MB / 232.1 MB, free: 3.195 MB / 174.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.4189/0.4189, allocations: 44.23 MB / 328.4 MB, free: 6.289 MB / 254.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.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: 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.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.002401/0.002401, allocations: 76.86 kB / 465.6 MB, free: 45.35 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.1607, allocations: 61 MB / 0.5143 GB, free: 12.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.003937/0.1646, allocations: 1.955 MB / 0.5162 GB, free: 10.94 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002558/0.1672, allocations: 0.988 MB / 0.5171 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001718/0.1674, allocations: 5.25 kB / 0.5171 GB, free: 10.17 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008736/0.1682, allocations: 201.7 kB / 0.5173 GB, free: 10 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000422/0.1687, allocations: 160 kB / 0.5175 GB, free: 9.848 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006562/0.1693, allocations: 196.3 kB / 0.5177 GB, free: 9.656 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003074/0.1696, allocations: 247.3 kB / 0.5179 GB, free: 9.414 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1698, allocations: 21.59 kB / 0.5179 GB, free: 9.391 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.1699, allocations: 107.5 kB / 0.518 GB, free: 9.285 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001544/0.17, allocations: 119.5 kB / 0.5181 GB, free: 9.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.686e-05/0.1701, allocations: 8 kB / 0.5181 GB, free: 9.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001641/0.1702, allocations: 59.95 kB / 0.5182 GB, free: 9.102 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.244e-05/0.1703, allocations: 51.83 kB / 0.5183 GB, free: 9.051 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001013/0.1704, allocations: 87.41 kB / 0.5183 GB, free: 8.965 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003644/0.1708, allocations: 227 kB / 0.5186 GB, free: 8.742 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.1708, allocations: 4 kB / 0.5186 GB, free: 8.738 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1708, allocations: 4 kB / 0.5186 GB, free: 8.734 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.654e-05/0.1708, allocations: 0 / 0.5186 GB, free: 8.734 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0008336/0.1716, allocations: 0.5542 MB / 0.5191 GB, free: 8.125 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.1717, allocations: 19.78 kB / 0.5191 GB, free: 8.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.09e-05/0.1718, allocations: 24.8 kB / 0.5191 GB, free: 8.082 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003428/0.1721, allocations: 283.8 kB / 0.5194 GB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.936e-05/0.1721, allocations: 4.375 kB / 0.5194 GB, free: 7.766 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.031e-05/0.1721, allocations: 16.12 kB / 0.5194 GB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000221/0.1724, allocations: 104.2 kB / 0.5195 GB, free: 7.633 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1724, allocations: 3.938 kB / 0.5195 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.1724, allocations: 0 / 0.5195 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.13e-06/0.1724, allocations: 0 / 0.5195 GB, free: 7.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001152/0.1725, allocations: 43.91 kB / 0.5196 GB, free: 7.586 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004738/0.173, allocations: 377.6 kB / 0.5199 GB, free: 7.164 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002599/0.1732, allocations: 109.2 kB / 0.52 GB, free: 7.039 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/0.1734, allocations: 45.7 kB / 0.5201 GB, free: 6.988 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.323e-05/0.1734, allocations: 4 kB / 0.5201 GB, free: 6.984 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001949/0.1736, allocations: 120.9 kB / 0.5202 GB, free: 6.848 MB / 382.1 MB Notification: Performance of pre-optimization done (n=11): time 1.062e-06/0.1736, allocations: 0 / 0.5202 GB, free: 6.848 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004285/0.174, allocations: 185.4 kB / 0.5204 GB, free: 6.66 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.1741, allocations: 102.8 kB / 0.5205 GB, free: 6.535 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.1743, allocations: 335 kB / 0.5208 GB, free: 6.191 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1743, allocations: 25.7 kB / 0.5208 GB, free: 6.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.1744, allocations: 144 kB / 0.521 GB, free: 6.016 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.874e-05/0.1744, allocations: 27.75 kB / 0.521 GB, free: 5.988 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.47e-05/0.1745, allocations: 33.7 kB / 0.521 GB, free: 5.949 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.706e-05/0.1746, allocations: 342.8 kB / 0.5214 GB, free: 5.605 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.711e-05/0.1746, allocations: 31.98 kB / 0.5214 GB, free: 5.574 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.151e-05/0.1747, allocations: 81.06 kB / 0.5215 GB, free: 5.477 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.1749, allocations: 91.45 kB / 0.5215 GB, free: 5.375 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.1749, allocations: 0 / 0.5215 GB, free: 5.375 MB / 382.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002165/0.1751, allocations: 154 kB / 0.5217 GB, free: 5.219 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.1751, allocations: 4 kB / 0.5217 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.1751, allocations: 0 / 0.5217 GB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.1751, allocations: 4 kB / 0.5217 GB, free: 5.211 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001087/0.1752, allocations: 19.98 kB / 0.5217 GB, free: 5.191 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.1752, allocations: 4 kB / 0.5217 GB, free: 5.188 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.588e-05/0.1753, allocations: 19.95 kB / 0.5217 GB, free: 5.168 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.203e-05/0.1753, allocations: 11.94 kB / 0.5218 GB, free: 5.156 MB / 382.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.0001199/0.1754, allocations: 149.8 kB / 0.5219 GB, free: 5 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.558e-05/0.1755, allocations: 23.86 kB / 0.5219 GB, free: 4.977 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003051/0.1758, allocations: 159.3 kB / 0.5221 GB, free: 4.816 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.1758, allocations: 4 kB / 0.5221 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.1758, allocations: 0 / 0.5221 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1758, allocations: 0 / 0.5221 GB, free: 4.812 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001669/0.176, allocations: 257.5 kB / 0.5223 GB, free: 4.512 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.176, allocations: 3.938 kB / 0.5223 GB, free: 4.508 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.144e-05/0.176, allocations: 8 kB / 0.5223 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.784e-06/0.176, allocations: 0 / 0.5223 GB, free: 4.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.38e-05/0.176, allocations: 7.984 kB / 0.5223 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.176, allocations: 0 / 0.5223 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.176, allocations: 0 / 0.5223 GB, free: 4.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002512/0.1763, allocations: 193.6 kB / 0.5225 GB, free: 4.281 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.194e-05/0.1763, allocations: 100.9 kB / 0.5226 GB, free: 4.164 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.326e-05/0.1763, allocations: 11.94 kB / 0.5226 GB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.325e-05/0.1764, allocations: 7.984 kB / 0.5226 GB, free: 4.145 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.1765, allocations: 7.984 kB / 0.5226 GB, free: 4.137 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.629e-05/0.1765, allocations: 11.94 kB / 0.5227 GB, free: 4.125 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.1766, allocations: 245.9 kB / 0.5229 GB, free: 3.887 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1766, allocations: 0 / 0.5229 GB, free: 3.887 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002405/0.1769, allocations: 36 kB / 0.5229 GB, free: 3.852 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: 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 (11): * Single equations (assignments): 7 * 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.001465/0.1784, allocations: 432.4 kB / 0.5233 GB, free: 3.473 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002404/0.1786, allocations: 83.91 kB / 0.5234 GB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1786, allocations: 0 / 0.5234 GB, free: 3.391 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 9.747e-05/0.1787, allocations: 43.97 kB / 0.5235 GB, free: 3.348 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003652/0.1791, allocations: 75.58 kB / 0.5235 GB, free: 3.273 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006539/0.1797, allocations: 395.9 kB / 0.5239 GB, free: 2.859 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001841/0.1799, allocations: 0.7398 MB / 0.5246 GB, free: 2.094 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.425e-05/0.18, allocations: 33.92 kB / 0.5247 GB, free: 2.062 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.298e-05/0.18, allocations: 27.42 kB / 0.5247 GB, free: 2.035 MB / 382.1 MB Notification: Performance of SimCode: time 5.81e-07/0.18, allocations: 0 / 0.5247 GB, free: 2.035 MB / 382.1 MB Notification: Performance of Templates: time 0.006773/0.1868, allocations: 3.023 MB / 0.5276 GB, free: 15.01 MB / 398.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.935722662135959]