Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.001622/0.001622, allocations: 118 kB / 18.46 MB, free: 4.613 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.001959/0.001959, allocations: 207.4 kB / 21.4 MB, free: 1.668 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.63/1.63, allocations: 227.4 MB / 251.6 MB, free: 112 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.2949/0.2949, allocations: 46.17 MB / 351.1 MB, free: 14.3 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") translateModel(ModelicaTest.Tables.CombiTimeTable.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 87.06 kB / 490.3 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1577, allocations: 62.46 MB / 0.5398 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test7): time 0.003646/0.1614, allocations: 1.741 MB / 0.5415 GB, free: 2.398 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001937/0.1634, allocations: 1.03 MB / 0.5425 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.012e-05/0.1635, allocations: 0 / 0.5425 GB, free: 1.363 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004122/0.1639, allocations: 107.7 kB / 0.5426 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003697/0.1643, allocations: 127.5 kB / 0.5427 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.1646, allocations: 79.66 kB / 0.5428 GB, free: 1.055 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002164/0.1648, allocations: 123.7 kB / 0.5429 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001261/0.1649, allocations: 12 kB / 0.5429 GB, free: 0.9219 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001224/0.165, allocations: 63.69 kB / 0.543 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001233/0.1652, allocations: 63.75 kB / 0.543 GB, free: 0.7969 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.1652, allocations: 4 kB / 0.543 GB, free: 0.793 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000138/0.1654, allocations: 63.97 kB / 0.5431 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.28e-05/0.1654, allocations: 31.91 kB / 0.5431 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.397e-05/0.1655, allocations: 35.69 kB / 0.5432 GB, free: 0.6641 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002725/0.1658, allocations: 155.3 kB / 0.5433 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.431e-06/0.1658, allocations: 7.938 kB / 0.5433 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1658, allocations: 0 / 0.5433 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.993e-06/0.1658, allocations: 0 / 0.5433 GB, free: 0.5039 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.0006575/0.1665, allocations: 450.4 kB / 0.5438 GB, free: 16 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.1665, allocations: 8.031 kB / 0.5438 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.208e-05/0.1666, allocations: 20.27 kB / 0.5438 GB, free: 15.99 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003693/0.167, allocations: 231.8 kB / 0.544 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.167, allocations: 384 / 0.544 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.712e-05/0.167, allocations: 4.375 kB / 0.544 GB, free: 15.72 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.1672, allocations: 70.53 kB / 0.5441 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.1673, allocations: 0 / 0.5441 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.1673, allocations: 3.938 kB / 0.5441 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.1673, allocations: 0 / 0.5441 GB, free: 15.64 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.317e-05/0.1674, allocations: 19.98 kB / 0.5441 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004789/0.1679, allocations: 308.9 kB / 0.5444 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000264/0.1681, allocations: 62.44 kB / 0.5445 GB, free: 15.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.484e-05/0.1682, allocations: 28.95 kB / 0.5445 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.988e-05/0.1682, allocations: 0 / 0.5445 GB, free: 15.17 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001675/0.1684, allocations: 79.33 kB / 0.5446 GB, free: 15.08 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.443e-06/0.1684, allocations: 0 / 0.5446 GB, free: 15.08 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008465/0.1693, allocations: 253.2 kB / 0.5448 GB, free: 14.82 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.187e-05/0.1694, allocations: 51.41 kB / 0.5448 GB, free: 14.76 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002908/0.1697, allocations: 251.2 kB / 0.5451 GB, free: 14.5 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.512e-05/0.1697, allocations: 25.7 kB / 0.5451 GB, free: 14.47 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.973e-05/0.1698, allocations: 112.1 kB / 0.5452 GB, free: 14.36 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.073e-05/0.1699, allocations: 43.69 kB / 0.5453 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.282e-05/0.1699, allocations: 25.72 kB / 0.5453 GB, free: 14.29 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.1701, allocations: 334.8 kB / 0.5456 GB, free: 13.95 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-05/0.1702, allocations: 31.92 kB / 0.5456 GB, free: 13.92 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.191e-05/0.1703, allocations: 41.7 kB / 0.5457 GB, free: 13.87 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001682/0.1705, allocations: 77.72 kB / 0.5457 GB, free: 13.79 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1705, allocations: 0 / 0.5457 GB, free: 13.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002429/0.1707, allocations: 133.5 kB / 0.5459 GB, free: 13.65 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.1708, allocations: 8 kB / 0.5459 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.1708, allocations: 0 / 0.5459 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1708, allocations: 0 / 0.5459 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.545e-05/0.1709, allocations: 19.98 kB / 0.5459 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.1709, allocations: 4 kB / 0.5459 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.767e-05/0.171, allocations: 7.938 kB / 0.5459 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.368e-05/0.171, allocations: 7.984 kB / 0.5459 GB, free: 13.61 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (13): * Single equations (assignments): 13 * 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.0001373/0.1711, allocations: 137.8 kB / 0.5461 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.1712, allocations: 19.89 kB / 0.5461 GB, free: 13.44 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.074e-05/0.1712, allocations: 25.34 kB / 0.5461 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1713, allocations: 0 / 0.5461 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.262e-06/0.1713, allocations: 0 / 0.5461 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/0.1713, allocations: 0 / 0.5461 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006291/0.1719, allocations: 468 kB / 0.5465 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1719, allocations: 0 / 0.5465 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.482e-05/0.172, allocations: 12 kB / 0.5466 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.172, allocations: 4 kB / 0.5466 GB, free: 12.88 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.172, allocations: 3.938 kB / 0.5466 GB, free: 12.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.172, allocations: 8 kB / 0.5466 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.172, allocations: 0 / 0.5466 GB, free: 12.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.1723, allocations: 237.1 kB / 0.5468 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.023e-05/0.1724, allocations: 89.02 kB / 0.5469 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.248e-05/0.1724, allocations: 11.94 kB / 0.5469 GB, free: 12.49 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.612e-05/0.1725, allocations: 7.984 kB / 0.5469 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.274e-05/0.1726, allocations: 4 kB / 0.5469 GB, free: 12.48 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.1726, allocations: 11.98 kB / 0.5469 GB, free: 12.47 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001794/0.1728, allocations: 184.5 kB / 0.5471 GB, free: 12.29 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1728, allocations: 4 kB / 0.5471 GB, free: 12.29 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002725/0.1731, allocations: 27.94 kB / 0.5471 GB, free: 12.26 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (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): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002045/0.1751, allocations: 0.5126 MB / 0.5476 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002413/0.1754, allocations: 75.91 kB / 0.5477 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.1754, allocations: 0 / 0.5477 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.309e-05/0.1755, allocations: 35.94 kB / 0.5477 GB, free: 11.82 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003858/0.1759, allocations: 42.56 kB / 0.5478 GB, free: 11.78 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006574/0.1765, allocations: 296.6 kB / 0.5481 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.177, allocations: 0.7197 MB / 0.5488 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.094e-05/0.1771, allocations: 20.64 kB / 0.5488 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.1771, allocations: 23.42 kB / 0.5488 GB, free: 10.67 MB / 414.1 MB Notification: Performance of SimCode: time 1.994e-06/0.1771, allocations: 0 / 0.5488 GB, free: 10.67 MB / 414.1 MB Notification: Performance of Templates: time 0.005722/0.1829, allocations: 2.025 MB / 0.5508 GB, free: 8.66 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test7.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.669798626564443]