Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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.001425/0.001425, allocations: 100.4 kB / 20.45 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.0016/0.0016, allocations: 206.7 kB / 23.74 MB, free: 4.543 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.634/1.634, allocations: 207.7 MB / 234.6 MB, free: 9.773 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.2534/0.2534, allocations: 44.26 MB / 331.1 MB, free: 9.305 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.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80") [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.002343/0.002343, allocations: 72.45 kB / 468.8 MB, free: 3.781 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1481, allocations: 61.04 MB / 0.5174 GB, free: 6.613 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003535/0.1517, allocations: 1.75 MB / 0.5191 GB, free: 4.852 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002656/0.1543, allocations: 1.54 MB / 0.5206 GB, free: 3.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.66e-05/0.1544, allocations: 4 kB / 0.5206 GB, free: 3.297 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.1548, allocations: 51.69 kB / 0.5207 GB, free: 3.246 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003633/0.1552, allocations: 99.53 kB / 0.5208 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003713/0.1555, allocations: 143.7 kB / 0.5209 GB, free: 3.008 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003142/0.1558, allocations: 187.4 kB / 0.5211 GB, free: 2.824 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.865e-05/0.1559, allocations: 17.67 kB / 0.5211 GB, free: 2.805 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001327/0.156, allocations: 67.72 kB / 0.5212 GB, free: 2.738 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002029/0.1563, allocations: 75.59 kB / 0.5213 GB, free: 2.664 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.354e-05/0.1563, allocations: 8 kB / 0.5213 GB, free: 2.656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001718/0.1565, allocations: 59.98 kB / 0.5213 GB, free: 2.598 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.985e-05/0.1566, allocations: 39.83 kB / 0.5214 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.911e-05/0.1566, allocations: 47.67 kB / 0.5214 GB, free: 2.512 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000324/0.157, allocations: 171.3 kB / 0.5216 GB, free: 2.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.157, allocations: 4 kB / 0.5216 GB, free: 2.34 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.903e-06/0.157, allocations: 4 kB / 0.5216 GB, free: 2.336 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.741e-06/0.157, allocations: 0 / 0.5216 GB, free: 2.336 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007593/0.1577, allocations: 389.2 kB / 0.5219 GB, free: 1.926 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.1578, allocations: 16.02 kB / 0.522 GB, free: 1.91 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.002e-05/0.1579, allocations: 16.84 kB / 0.522 GB, free: 1.895 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.1583, allocations: 177.9 kB / 0.5221 GB, free: 1.695 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.744e-05/0.1583, allocations: 4.375 kB / 0.5221 GB, free: 1.691 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.1583, allocations: 8.125 kB / 0.5222 GB, free: 1.684 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003076/0.1586, allocations: 164.5 kB / 0.5223 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/0.1586, allocations: 0 / 0.5223 GB, free: 1.492 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.1586, allocations: 3.938 kB / 0.5223 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.1586, allocations: 0 / 0.5223 GB, free: 1.488 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001265/0.1588, allocations: 39.91 kB / 0.5224 GB, free: 1.449 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002326/0.159, allocations: 154.2 kB / 0.5225 GB, free: 1.266 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.1593, allocations: 105.2 kB / 0.5226 GB, free: 1.145 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.987e-05/0.1594, allocations: 41.69 kB / 0.5226 GB, free: 1.098 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.886e-05/0.1594, allocations: 7.984 kB / 0.5226 GB, free: 1.09 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002463/0.1596, allocations: 109 kB / 0.5228 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.1596, allocations: 0 / 0.5228 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.000515/0.1602, allocations: 177.5 kB / 0.5229 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.1603, allocations: 132.5 kB / 0.523 GB, free: 0.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002707/0.1605, allocations: 219.8 kB / 0.5233 GB, free: 408 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.1606, allocations: 33.69 kB / 0.5233 GB, free: 368 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001244/0.1607, allocations: 116.1 kB / 0.5234 GB, free: 248 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.013e-05/0.1607, allocations: 31.73 kB / 0.5234 GB, free: 216 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.615e-05/0.1608, allocations: 33.7 kB / 0.5235 GB, free: 176 kB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001855/0.161, allocations: 326.8 kB / 0.5238 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.712e-05/0.1611, allocations: 27.98 kB / 0.5238 GB, free: 15.82 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000151/0.1612, allocations: 128.5 kB / 0.5239 GB, free: 15.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.1615, allocations: 95.84 kB / 0.524 GB, free: 15.55 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.1615, allocations: 0 / 0.524 GB, free: 15.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002932/0.1618, allocations: 149.5 kB / 0.5242 GB, free: 15.4 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1618, allocations: 4 kB / 0.5242 GB, free: 15.4 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1618, allocations: 4 kB / 0.5242 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1618, allocations: 0 / 0.5242 GB, free: 15.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001225/0.1619, allocations: 27.92 kB / 0.5242 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1619, allocations: 0 / 0.5242 GB, free: 15.37 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.865e-05/0.162, allocations: 7.953 kB / 0.5242 GB, free: 15.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.237e-05/0.162, allocations: 4 kB / 0.5242 GB, free: 15.36 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: 10 ($PRE.t_new_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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.0001309/0.1621, allocations: 137.9 kB / 0.5243 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.903e-05/0.1622, allocations: 27.78 kB / 0.5244 GB, free: 15.18 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003641/0.1625, allocations: 158.7 kB / 0.5245 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.857e-06/0.1625, allocations: 0 / 0.5245 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.1626, allocations: 4 kB / 0.5245 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.1626, allocations: 3.938 kB / 0.5245 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001856/0.1627, allocations: 157.2 kB / 0.5247 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.1627, allocations: 4.188 kB / 0.5247 GB, free: 14.83 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.452e-05/0.1628, allocations: 12 kB / 0.5247 GB, free: 14.82 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.973e-06/0.1628, allocations: 7.938 kB / 0.5247 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.2e-05/0.1628, allocations: 4 kB / 0.5247 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1628, allocations: 0 / 0.5247 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.543e-06/0.1628, allocations: 4 kB / 0.5247 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003383/0.1631, allocations: 185.8 kB / 0.5249 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.252e-05/0.1632, allocations: 19.78 kB / 0.5249 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.301e-05/0.1632, allocations: 3.984 kB / 0.5249 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.734e-05/0.1633, allocations: 8 kB / 0.5249 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.31e-05/0.1633, allocations: 7.984 kB / 0.5249 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.1633, allocations: 8 kB / 0.5249 GB, free: 14.55 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001842/0.1635, allocations: 165.5 kB / 0.5251 GB, free: 14.39 MB / 414.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1635, allocations: 4 kB / 0.5251 GB, free: 14.39 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002891/0.1638, allocations: 39.92 kB / 0.5251 GB, free: 14.35 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001816/0.1656, allocations: 481.5 kB / 0.5256 GB, free: 13.92 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002748/0.1659, allocations: 87.89 kB / 0.5257 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1659, allocations: 4.125 kB / 0.5257 GB, free: 13.83 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001125/0.166, allocations: 39.92 kB / 0.5257 GB, free: 13.79 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004049/0.1664, allocations: 59.75 kB / 0.5258 GB, free: 13.73 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000679/0.1671, allocations: 301.2 kB / 0.5261 GB, free: 13.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000124/0.1672, allocations: 106.2 kB / 0.5262 GB, free: 13.27 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.558e-05/0.1673, allocations: 27.38 kB / 0.5262 GB, free: 13.25 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1673, allocations: 0 / 0.5262 GB, free: 13.25 MB / 414.1 MB Notification: Performance of Templates: time 0.005659/0.173, allocations: 2.79 MB / 0.5289 GB, free: 10.45 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test80.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: 8.595575769431889]