Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.001815/0.001815, allocations: 123.9 kB / 18.45 MB, free: 4.59 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.002284/0.002284, allocations: 205.8 kB / 21.4 MB, free: 1.641 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.592/1.592, allocations: 227.4 MB / 251.7 MB, free: 256 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.2465/0.2465, 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 87 kB / 490.3 MB, free: 28.05 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1679, allocations: 62.44 MB / 0.5397 GB, free: 4.18 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003781/0.1717, allocations: 1.939 MB / 0.5416 GB, free: 2.219 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001943/0.1737, allocations: 1.063 MB / 0.5427 GB, free: 1.148 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1738, allocations: 4 kB / 0.5427 GB, free: 1.145 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003551/0.1742, allocations: 43.7 kB / 0.5427 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.1745, allocations: 103.5 kB / 0.5428 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002458/0.1748, allocations: 91.66 kB / 0.5429 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002485/0.1751, allocations: 147.5 kB / 0.543 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000141/0.1752, allocations: 29.48 kB / 0.5431 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001093/0.1753, allocations: 59.72 kB / 0.5431 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.1754, allocations: 51.7 kB / 0.5432 GB, free: 0.625 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.334e-05/0.1755, allocations: 8 kB / 0.5432 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000106/0.1756, allocations: 43.98 kB / 0.5432 GB, free: 0.5742 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.58e-05/0.1757, allocations: 23.92 kB / 0.5433 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.328e-05/0.1757, allocations: 63.53 kB / 0.5433 GB, free: 500 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002702/0.176, allocations: 147.4 kB / 0.5435 GB, free: 352 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.176, allocations: 4 kB / 0.5435 GB, free: 348 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.512e-06/0.1761, allocations: 0 / 0.5435 GB, free: 348 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.021e-06/0.1761, allocations: 0 / 0.5435 GB, free: 348 kB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007699/0.1768, allocations: 492.1 kB / 0.5439 GB, free: 15.8 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.1769, allocations: 8.031 kB / 0.5439 GB, free: 15.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.616e-05/0.177, allocations: 24.77 kB / 0.544 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003773/0.1773, allocations: 236.9 kB / 0.5442 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.57e-05/0.1774, allocations: 4.375 kB / 0.5442 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.753e-05/0.1774, allocations: 8.375 kB / 0.5442 GB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002416/0.1776, allocations: 109.2 kB / 0.5443 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.1777, allocations: 0 / 0.5443 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.654e-05/0.1777, allocations: 8 kB / 0.5443 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.91e-06/0.1777, allocations: 0 / 0.5443 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.1779, allocations: 47.97 kB / 0.5444 GB, free: 15.31 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006644/0.1785, allocations: 0.5048 MB / 0.5448 GB, free: 14.75 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.1789, allocations: 94.59 kB / 0.5449 GB, free: 14.65 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001044/0.179, allocations: 44.83 kB / 0.545 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.229e-05/0.179, allocations: 0 / 0.545 GB, free: 14.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001903/0.1792, allocations: 79.36 kB / 0.5451 GB, free: 14.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.513e-06/0.1792, allocations: 0 / 0.5451 GB, free: 14.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004417/0.1797, allocations: 149.5 kB / 0.5452 GB, free: 14.36 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.381e-05/0.1798, allocations: 51.41 kB / 0.5452 GB, free: 14.3 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/0.18, allocations: 202.2 kB / 0.5454 GB, free: 14.09 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.776e-05/0.18, allocations: 29.7 kB / 0.5455 GB, free: 14.05 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001324/0.1802, allocations: 116 kB / 0.5456 GB, free: 13.94 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.663e-05/0.1802, allocations: 27.8 kB / 0.5456 GB, free: 13.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.975e-05/0.1803, allocations: 37.64 kB / 0.5456 GB, free: 13.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002195/0.1805, allocations: 326.8 kB / 0.546 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.61e-05/0.1806, allocations: 35.92 kB / 0.546 GB, free: 13.5 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001357/0.1808, allocations: 75.14 kB / 0.5461 GB, free: 13.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002156/0.181, allocations: 100.2 kB / 0.5462 GB, free: 13.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/0.181, allocations: 0 / 0.5462 GB, free: 13.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002822/0.1813, allocations: 133.8 kB / 0.5463 GB, free: 13.17 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.1813, allocations: 10.03 kB / 0.5463 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.1813, allocations: 3.984 kB / 0.5463 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.1814, allocations: 4.109 kB / 0.5463 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.875e-05/0.1815, allocations: 27.94 kB / 0.5463 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.349e-05/0.1815, allocations: 7.984 kB / 0.5463 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.352e-05/0.1816, allocations: 19.83 kB / 0.5464 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.141e-05/0.1816, allocations: 4 kB / 0.5464 GB, free: 13.09 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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.0001486/0.1817, allocations: 121.8 kB / 0.5465 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.079e-05/0.1818, allocations: 19.89 kB / 0.5465 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.081e-05/0.1818, allocations: 17.41 kB / 0.5465 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.1818, allocations: 0 / 0.5465 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.1818, allocations: 4 kB / 0.5465 GB, free: 12.92 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.054e-05/0.1819, allocations: 11.88 kB / 0.5465 GB, free: 12.91 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002356/0.1821, allocations: 213.6 kB / 0.5467 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.1821, allocations: 0 / 0.5467 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.223e-05/0.1822, allocations: 8 kB / 0.5467 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.1822, allocations: 0 / 0.5467 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.1822, allocations: 4 kB / 0.5467 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1822, allocations: 0 / 0.5467 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.1822, allocations: 0 / 0.5467 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004222/0.1827, allocations: 188.8 kB / 0.5469 GB, free: 12.44 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.306e-05/0.1827, allocations: 92.98 kB / 0.547 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.044e-05/0.1828, allocations: 4 kB / 0.547 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.898e-05/0.1829, allocations: 7.984 kB / 0.547 GB, free: 12.32 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.904e-05/0.1829, allocations: 7.938 kB / 0.547 GB, free: 12.31 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.493e-05/0.183, allocations: 7.984 kB / 0.547 GB, free: 12.3 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001474/0.1831, allocations: 144.4 kB / 0.5472 GB, free: 12.16 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1831, allocations: 4.062 kB / 0.5472 GB, free: 12.16 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002421/0.1834, allocations: 24 kB / 0.5472 GB, free: 12.13 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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.001599/0.185, allocations: 413.6 kB / 0.5476 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002756/0.1853, allocations: 79.89 kB / 0.5477 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.1853, allocations: 0 / 0.5477 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001061/0.1854, allocations: 40.17 kB / 0.5477 GB, free: 11.75 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003328/0.1857, allocations: 43.66 kB / 0.5477 GB, free: 11.7 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006256/0.1864, allocations: 259.3 kB / 0.548 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004041/0.1868, allocations: 0.7123 MB / 0.5487 GB, free: 10.69 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.555e-05/0.1869, allocations: 21.41 kB / 0.5487 GB, free: 10.67 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.761e-05/0.1869, allocations: 19.44 kB / 0.5487 GB, free: 10.65 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.1869, allocations: 0 / 0.5487 GB, free: 10.65 MB / 414.1 MB Notification: Performance of Templates: time 0.006215/0.1931, allocations: 1.917 MB / 0.5506 GB, free: 8.742 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test13.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.372003732249141]