Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.001756/0.001757, allocations: 126.7 kB / 18.46 MB, free: 4.605 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.001566/0.001566, allocations: 203.3 kB / 21.4 MB, free: 1.664 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.554/1.554, allocations: 227.4 MB / 251.7 MB, free: 272 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.2633/0.2633, allocations: 46.18 MB / 351.1 MB, free: 14.31 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002264/0.002264, allocations: 83.23 kB / 490.3 MB, free: 28.07 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1493, allocations: 62.45 MB / 0.5398 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003543/0.1529, allocations: 1.727 MB / 0.5415 GB, free: 2.426 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002754/0.1557, allocations: 1.631 MB / 0.5431 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.347e-05/0.1558, allocations: 0 / 0.5431 GB, free: 0.7852 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003451/0.1562, allocations: 39.77 kB / 0.5431 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003984/0.1566, allocations: 99.53 kB / 0.5432 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002151/0.1568, allocations: 79.69 kB / 0.5433 GB, free: 0.5703 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002159/0.1571, allocations: 115.7 kB / 0.5434 GB, free: 468 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001207/0.1572, allocations: 16 kB / 0.5434 GB, free: 452 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.732e-05/0.1573, allocations: 43.78 kB / 0.5434 GB, free: 408 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001746/0.1575, allocations: 51.77 kB / 0.5435 GB, free: 356 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.127e-05/0.1575, allocations: 4 kB / 0.5435 GB, free: 352 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002036/0.1577, allocations: 107.9 kB / 0.5436 GB, free: 244 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.845e-05/0.1578, allocations: 23.91 kB / 0.5436 GB, free: 220 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.772e-05/0.1579, allocations: 47.69 kB / 0.5437 GB, free: 172 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003388/0.1582, allocations: 175.4 kB / 0.5438 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1582, allocations: 0 / 0.5438 GB, free: 15.99 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1582, allocations: 0 / 0.5438 GB, free: 15.99 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1583, allocations: 3.938 kB / 0.5438 GB, free: 15.99 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006689/0.1589, allocations: 446.4 kB / 0.5443 GB, free: 15.51 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.159, allocations: 8.031 kB / 0.5443 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.496e-05/0.159, allocations: 12.89 kB / 0.5443 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003593/0.1594, allocations: 216.1 kB / 0.5445 GB, free: 15.24 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.341e-05/0.1594, allocations: 4.375 kB / 0.5445 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.1595, allocations: 8.359 kB / 0.5445 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.1597, allocations: 75.7 kB / 0.5446 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.1597, allocations: 3.953 kB / 0.5446 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.186e-05/0.1597, allocations: 4 kB / 0.5446 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.1597, allocations: 0 / 0.5446 GB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.767e-05/0.1598, allocations: 31.97 kB / 0.5446 GB, free: 15.1 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000471/0.1603, allocations: 312.7 kB / 0.5449 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002214/0.1605, allocations: 70.67 kB / 0.545 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.743e-05/0.1606, allocations: 20.84 kB / 0.545 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.1606, allocations: 4 kB / 0.545 GB, free: 14.64 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.1608, allocations: 83.39 kB / 0.5451 GB, free: 14.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.1609, allocations: 0 / 0.5451 GB, free: 14.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0007263/0.1616, allocations: 193.4 kB / 0.5453 GB, free: 14.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.867e-05/0.1617, allocations: 77.11 kB / 0.5453 GB, free: 14.26 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002047/0.1619, allocations: 170.2 kB / 0.5455 GB, free: 14.08 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.1619, allocations: 29.7 kB / 0.5455 GB, free: 14.04 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.907e-05/0.162, allocations: 100.1 kB / 0.5456 GB, free: 13.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.812e-05/0.1621, allocations: 35.73 kB / 0.5456 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.159e-05/0.1621, allocations: 29.7 kB / 0.5457 GB, free: 13.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.1623, allocations: 322.8 kB / 0.546 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.026e-05/0.1624, allocations: 28 kB / 0.546 GB, free: 13.52 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.25e-05/0.1625, allocations: 50.48 kB / 0.5461 GB, free: 13.46 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001453/0.1626, allocations: 69.75 kB / 0.5461 GB, free: 13.39 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.1626, allocations: 7.969 kB / 0.5461 GB, free: 13.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000215/0.1628, allocations: 113.5 kB / 0.5462 GB, free: 13.26 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.1629, allocations: 4 kB / 0.5462 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.1629, allocations: 0 / 0.5462 GB, free: 13.26 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.1629, allocations: 4 kB / 0.5462 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.639e-05/0.163, allocations: 15.98 kB / 0.5463 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.163, allocations: 4 kB / 0.5463 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.763e-05/0.1631, allocations: 7.938 kB / 0.5463 GB, free: 13.23 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.96e-05/0.1631, allocations: 4.469 kB / 0.5463 GB, free: 13.22 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 (11): * Single equations (assignments): 11 * 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.0001215/0.1632, allocations: 131.6 kB / 0.5464 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.78e-05/0.1633, allocations: 11.95 kB / 0.5464 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.434e-05/0.1633, allocations: 12.72 kB / 0.5464 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.1633, allocations: 4 kB / 0.5464 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1633, allocations: 0 / 0.5464 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.875e-06/0.1633, allocations: 3.984 kB / 0.5464 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000529/0.1639, allocations: 423.2 kB / 0.5468 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.1639, allocations: 4.031 kB / 0.5468 GB, free: 12.58 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.911e-05/0.1639, allocations: 12 kB / 0.5469 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1639, allocations: 0 / 0.5469 GB, free: 12.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.164, allocations: 4 kB / 0.5469 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-06/0.164, allocations: 3.938 kB / 0.5469 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.879e-06/0.164, allocations: 0 / 0.5469 GB, free: 12.56 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002841/0.1643, allocations: 216.2 kB / 0.5471 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.402e-05/0.1643, allocations: 93.06 kB / 0.5472 GB, free: 12.22 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.739e-05/0.1644, allocations: 4 kB / 0.5472 GB, free: 12.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.647e-05/0.1644, allocations: 11.92 kB / 0.5472 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.888e-05/0.1645, allocations: 7.938 kB / 0.5472 GB, free: 12.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.1645, allocations: 8 kB / 0.5472 GB, free: 12.19 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000133/0.1647, allocations: 136.7 kB / 0.5473 GB, free: 12.05 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1647, allocations: 0 / 0.5473 GB, free: 12.05 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003172/0.165, allocations: 48.05 kB / 0.5474 GB, free: 12.01 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: 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 (9): * Single equations (assignments): 7 * 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.002055/0.1671, allocations: 0.5472 MB / 0.5479 GB, free: 11.64 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002324/0.1673, allocations: 63.92 kB / 0.548 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.1673, allocations: 0 / 0.548 GB, free: 11.58 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.854e-05/0.1674, allocations: 35.92 kB / 0.548 GB, free: 11.54 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003543/0.1678, allocations: 35.59 kB / 0.548 GB, free: 11.51 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005084/0.1683, allocations: 211.1 kB / 0.5482 GB, free: 11.27 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.1687, allocations: 0.7002 MB / 0.5489 GB, free: 10.55 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.254e-05/0.1688, allocations: 28.42 kB / 0.5489 GB, free: 10.52 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.364e-05/0.1688, allocations: 23.42 kB / 0.549 GB, free: 10.5 MB / 414.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1688, allocations: 0 / 0.549 GB, free: 10.5 MB / 414.1 MB Notification: Performance of Templates: time 0.00656/0.1754, allocations: 2.45 MB / 0.5514 GB, free: 8.066 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.324697646312416]