Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001373/0.001373, allocations: 113.9 kB / 19.13 MB, free: 3.922 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001474/0.001474, allocations: 212.9 kB / 22.08 MB, free: 0.9727 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.4 MB / 252.3 MB, free: 100 kB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2372/0.2372, allocations: 46.17 MB / 351.8 MB, free: 14.29 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Tables.CombiTimeTable.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002355/0.002355, allocations: 91.61 kB / 490.9 MB, free: 27.82 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1468, allocations: 62.44 MB / 0.5404 GB, free: 4.203 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.003609/0.1504, allocations: 1.836 MB / 0.5422 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002796/0.1532, allocations: 1.695 MB / 0.5438 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.912e-05/0.1534, allocations: 7.938 kB / 0.5439 GB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.1537, allocations: 47.69 kB / 0.5439 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004033/0.1541, allocations: 147.4 kB / 0.544 GB, free: 456 kB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002332/0.1544, allocations: 99.64 kB / 0.5441 GB, free: 356 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002868/0.1547, allocations: 207.4 kB / 0.5443 GB, free: 148 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.173e-05/0.1548, allocations: 13.69 kB / 0.5443 GB, free: 132 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001566/0.1549, allocations: 87.62 kB / 0.5444 GB, free: 44 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.1552, allocations: 79.61 kB / 0.5445 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.844e-05/0.1552, allocations: 11.94 kB / 0.5445 GB, free: 15.95 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002259/0.1555, allocations: 111.9 kB / 0.5446 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.26e-05/0.1555, allocations: 35.84 kB / 0.5447 GB, free: 15.81 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.931e-05/0.1556, allocations: 63.53 kB / 0.5447 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003738/0.156, allocations: 227.1 kB / 0.5449 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.156, allocations: 4 kB / 0.5449 GB, free: 15.52 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1561, allocations: 0 / 0.5449 GB, free: 15.52 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.885e-06/0.1561, allocations: 4 kB / 0.5449 GB, free: 15.52 MB / 414.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.0009125/0.157, allocations: 0.4979 MB / 0.5454 GB, free: 14.97 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.157, allocations: 8.031 kB / 0.5454 GB, free: 14.96 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.371e-05/0.1571, allocations: 20.83 kB / 0.5455 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004279/0.1575, allocations: 257 kB / 0.5457 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/0.1576, allocations: 8.359 kB / 0.5457 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.918e-05/0.1576, allocations: 8.375 kB / 0.5457 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.1578, allocations: 101.3 kB / 0.5458 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1579, allocations: 0 / 0.5458 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.023e-05/0.1579, allocations: 7.984 kB / 0.5458 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.1579, allocations: 3.984 kB / 0.5458 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001116/0.158, allocations: 23.98 kB / 0.5459 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002989/0.1583, allocations: 226.5 kB / 0.5461 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002886/0.1586, allocations: 105.2 kB / 0.5462 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001019/0.1587, allocations: 41.7 kB / 0.5462 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.1588, allocations: 0 / 0.5462 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002459/0.159, allocations: 112.9 kB / 0.5463 GB, free: 13.91 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/0.159, allocations: 0 / 0.5463 GB, free: 13.91 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004945/0.1595, allocations: 173.6 kB / 0.5465 GB, free: 13.74 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001005/0.1596, allocations: 136.5 kB / 0.5466 GB, free: 13.57 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002943/0.1599, allocations: 237 kB / 0.5468 GB, free: 13.33 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.516e-05/0.16, allocations: 29.7 kB / 0.5469 GB, free: 13.3 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.493e-05/0.1601, allocations: 120.1 kB / 0.547 GB, free: 13.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.751e-05/0.1601, allocations: 31.73 kB / 0.547 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.678e-05/0.1602, allocations: 29.72 kB / 0.547 GB, free: 13.11 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.1604, allocations: 330.8 kB / 0.5474 GB, free: 12.78 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.005e-05/0.1605, allocations: 27.98 kB / 0.5474 GB, free: 12.75 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001253/0.1606, allocations: 77.06 kB / 0.5475 GB, free: 12.66 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001849/0.1608, allocations: 83.42 kB / 0.5475 GB, free: 12.56 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1608, allocations: 4.031 kB / 0.5475 GB, free: 12.56 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002835/0.1611, allocations: 137.4 kB / 0.5477 GB, free: 12.42 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1611, allocations: 4 kB / 0.5477 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.752e-06/0.1611, allocations: 3.984 kB / 0.5477 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.1611, allocations: 4 kB / 0.5477 GB, free: 12.41 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001191/0.1613, allocations: 16 kB / 0.5477 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.937e-06/0.1613, allocations: 4 kB / 0.5477 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.292e-05/0.1614, allocations: 15.94 kB / 0.5477 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.3e-05/0.1614, allocations: 8.438 kB / 0.5477 GB, free: 12.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.0001319/0.1615, allocations: 141.7 kB / 0.5479 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.392e-05/0.1616, allocations: 19.84 kB / 0.5479 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.97e-05/0.1616, allocations: 17 kB / 0.5479 GB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.1616, allocations: 4 kB / 0.5479 GB, free: 12.17 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.185e-05/0.1617, allocations: 7.984 kB / 0.5479 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.1617, allocations: 0 / 0.5479 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002354/0.1619, allocations: 225.5 kB / 0.5481 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.323e-06/0.1619, allocations: 0 / 0.5481 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.548e-05/0.162, allocations: 11.94 kB / 0.5481 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.162, allocations: 4 kB / 0.5481 GB, free: 11.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.518e-05/0.162, allocations: 7.984 kB / 0.5481 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.162, allocations: 4 kB / 0.5481 GB, free: 11.87 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.162, allocations: 3.938 kB / 0.5481 GB, free: 11.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003183/0.1623, allocations: 157.9 kB / 0.5483 GB, free: 11.69 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.548e-05/0.1624, allocations: 100.9 kB / 0.5484 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.839e-05/0.1625, allocations: 8 kB / 0.5484 GB, free: 11.56 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.532e-05/0.1625, allocations: 7.938 kB / 0.5484 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.976e-05/0.1626, allocations: 11.98 kB / 0.5484 GB, free: 11.54 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.849e-05/0.1626, allocations: 4 kB / 0.5484 GB, free: 11.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000221/0.1629, allocations: 181.6 kB / 0.5486 GB, free: 11.36 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1629, allocations: 3.938 kB / 0.5486 GB, free: 11.36 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002959/0.1632, allocations: 51.86 kB / 0.5487 GB, free: 11.31 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.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001817/0.165, allocations: 0.495 MB / 0.5491 GB, free: 10.98 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.1653, allocations: 87.89 kB / 0.5492 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.1653, allocations: 0 / 0.5492 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001066/0.1654, allocations: 39.86 kB / 0.5493 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003844/0.1658, allocations: 70.88 kB / 0.5493 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006107/0.1664, allocations: 305.4 kB / 0.5496 GB, free: 10.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.1668, allocations: 0.7165 MB / 0.5503 GB, free: 9.715 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.269e-05/0.1669, allocations: 31.42 kB / 0.5503 GB, free: 9.684 MB / 414.1 MB Notification: Performance of SimCode: time 2.1e-07/0.1669, allocations: 0 / 0.5503 GB, free: 9.684 MB / 414.1 MB Notification: Performance of Templates: time 0.006033/0.1729, allocations: 3.172 MB / 0.5534 GB, free: 6.527 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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.080012344988063]