Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.001399/0.001399, allocations: 100.4 kB / 20.45 MB, free: 1.262 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.001606/0.001606, allocations: 210.8 kB / 23.74 MB, free: 4.445 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.617/1.617, allocations: 207.7 MB / 234.6 MB, free: 9.805 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.2307/0.2307, allocations: 44.26 MB / 331.1 MB, free: 9.32 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.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78") [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.002239/0.002239, allocations: 67.91 kB / 468.8 MB, free: 3.793 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.147, allocations: 61.03 MB / 0.5174 GB, free: 6.621 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003634/0.1506, allocations: 1.82 MB / 0.5192 GB, free: 4.789 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001691/0.1523, allocations: 0.8703 MB / 0.5201 GB, free: 3.91 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.245e-05/0.1524, allocations: 4 kB / 0.5201 GB, free: 3.906 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005213/0.1529, allocations: 251.4 kB / 0.5203 GB, free: 3.66 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004068/0.1533, allocations: 191.4 kB / 0.5205 GB, free: 3.473 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004366/0.1537, allocations: 139.7 kB / 0.5206 GB, free: 3.336 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003671/0.1541, allocations: 251.2 kB / 0.5209 GB, free: 3.09 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001201/0.1542, allocations: 25.72 kB / 0.5209 GB, free: 3.062 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.1544, allocations: 127.6 kB / 0.521 GB, free: 2.938 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.1547, allocations: 191.5 kB / 0.5212 GB, free: 2.75 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.849e-05/0.1547, allocations: 8 kB / 0.5212 GB, free: 2.742 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001287/0.1548, allocations: 47.97 kB / 0.5212 GB, free: 2.695 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001157/0.1549, allocations: 59.77 kB / 0.5213 GB, free: 2.637 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.194e-05/0.155, allocations: 71.41 kB / 0.5214 GB, free: 2.566 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000346/0.1554, allocations: 226.9 kB / 0.5216 GB, free: 2.344 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1554, allocations: 0 / 0.5216 GB, free: 2.344 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.99e-06/0.1554, allocations: 4 kB / 0.5216 GB, free: 2.34 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.642e-06/0.1554, allocations: 0 / 0.5216 GB, free: 2.34 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0007829/0.1562, allocations: 0.4925 MB / 0.5221 GB, free: 1.816 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.1562, allocations: 8.031 kB / 0.5221 GB, free: 1.809 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.786e-05/0.1563, allocations: 32.75 kB / 0.5221 GB, free: 1.777 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004084/0.1567, allocations: 214.5 kB / 0.5223 GB, free: 1.547 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.621e-05/0.1567, allocations: 4.375 kB / 0.5223 GB, free: 1.543 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.799e-05/0.1567, allocations: 20.06 kB / 0.5223 GB, free: 1.523 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002452/0.157, allocations: 99.34 kB / 0.5224 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.157, allocations: 0 / 0.5224 GB, free: 1.414 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.244e-05/0.157, allocations: 3.938 kB / 0.5224 GB, free: 1.41 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.157, allocations: 4 kB / 0.5224 GB, free: 1.406 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001273/0.1571, allocations: 35.97 kB / 0.5225 GB, free: 1.371 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005255/0.1577, allocations: 404.5 kB / 0.5228 GB, free: 0.9414 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002962/0.158, allocations: 117.3 kB / 0.523 GB, free: 0.8086 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.776e-05/0.1581, allocations: 45.7 kB / 0.523 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.1581, allocations: 7.875 kB / 0.523 GB, free: 0.75 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.1583, allocations: 113.1 kB / 0.5231 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.1583, allocations: 0 / 0.5231 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of matching and sorting (n=16): time 0.0009222/0.1592, allocations: 388.5 kB / 0.5235 GB, free: 240 kB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.343e-05/0.1593, allocations: 85.11 kB / 0.5236 GB, free: 136 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00056/0.1599, allocations: 493.6 kB / 0.524 GB, free: 15.64 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.667e-05/0.1599, allocations: 33.7 kB / 0.5241 GB, free: 15.6 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001347/0.16, allocations: 160.3 kB / 0.5242 GB, free: 15.44 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.777e-05/0.1601, allocations: 51.62 kB / 0.5243 GB, free: 15.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.118e-05/0.1601, allocations: 37.7 kB / 0.5243 GB, free: 15.35 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001795/0.1603, allocations: 342.8 kB / 0.5246 GB, free: 15 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001132/0.1604, allocations: 44.72 kB / 0.5247 GB, free: 14.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.1606, allocations: 75.41 kB / 0.5248 GB, free: 14.88 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00027/0.1608, allocations: 127.4 kB / 0.5249 GB, free: 14.74 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1608, allocations: 4 kB / 0.5249 GB, free: 14.73 MB / 414.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000339/0.1612, allocations: 197.3 kB / 0.5251 GB, free: 14.54 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.1612, allocations: 8 kB / 0.5251 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1612, allocations: 0 / 0.5251 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1612, allocations: 0 / 0.5251 GB, free: 14.53 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001415/0.1613, allocations: 35.98 kB / 0.5251 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.1613, allocations: 0 / 0.5251 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.297e-05/0.1614, allocations: 11.92 kB / 0.5251 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.512e-05/0.1614, allocations: 20 kB / 0.5251 GB, free: 14.46 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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.0001669/0.1616, allocations: 169.7 kB / 0.5253 GB, free: 14.29 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.677e-05/0.1617, allocations: 31.81 kB / 0.5253 GB, free: 14.25 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004589/0.1622, allocations: 232.4 kB / 0.5256 GB, free: 14.02 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.664e-06/0.1622, allocations: 7.984 kB / 0.5256 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.768e-06/0.1622, allocations: 0 / 0.5256 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.1622, allocations: 3.938 kB / 0.5256 GB, free: 14.01 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007959/0.163, allocations: 0.5732 MB / 0.5261 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.163, allocations: 4.25 kB / 0.5261 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.933e-05/0.163, allocations: 23.98 kB / 0.5262 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.518e-06/0.1631, allocations: 7.875 kB / 0.5262 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.1631, allocations: 8 kB / 0.5262 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.333e-06/0.1631, allocations: 7.938 kB / 0.5262 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.1631, allocations: 0 / 0.5262 GB, free: 13.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004642/0.1635, allocations: 380.3 kB / 0.5265 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.1636, allocations: 31.8 kB / 0.5266 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.775e-05/0.1636, allocations: 7.938 kB / 0.5266 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001323/0.1638, allocations: 8 kB / 0.5266 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.603e-05/0.1638, allocations: 19.91 kB / 0.5266 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.376e-05/0.1638, allocations: 12 kB / 0.5266 GB, free: 12.87 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003761/0.1642, allocations: 367.1 kB / 0.527 GB, free: 12.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1642, allocations: 0 / 0.527 GB, free: 12.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003473/0.1646, allocations: 43.92 kB / 0.527 GB, free: 12.47 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (18): * Single equations (assignments): 14 * 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.001906/0.1665, allocations: 496.3 kB / 0.5275 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003208/0.1668, allocations: 119.7 kB / 0.5276 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.1668, allocations: 0 / 0.5276 GB, free: 11.92 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.1669, allocations: 59.91 kB / 0.5276 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000533/0.1675, allocations: 70.06 kB / 0.5277 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009556/0.1684, allocations: 0.5821 MB / 0.5283 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.1686, allocations: 173.4 kB / 0.5284 GB, free: 10.97 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.611e-05/0.1687, allocations: 23.44 kB / 0.5285 GB, free: 10.95 MB / 414.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1687, allocations: 3.938 kB / 0.5285 GB, free: 10.94 MB / 414.1 MB Notification: Performance of Templates: time 0.006182/0.1749, allocations: 3.494 MB / 0.5319 GB, free: 7.445 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test78.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.563811312895268]