Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.002227/0.002227, allocations: 119.5 kB / 18.45 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.002213/0.002213, allocations: 201.8 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.568/1.568, allocations: 227.4 MB / 251.6 MB, free: 36 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.2363/0.2363, allocations: 46.16 MB / 351.1 MB, free: 14.24 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.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") translateModel(ModelicaTest.Tables.CombiTimeTable.Test64,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002289/0.002289, allocations: 84.11 kB / 490.3 MB, free: 27.95 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1497, allocations: 62.44 MB / 0.5398 GB, free: 4.129 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test64): time 0.003693/0.1535, allocations: 1.693 MB / 0.5414 GB, free: 2.418 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00195/0.1554, allocations: 1.009 MB / 0.5424 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.8e-05/0.1555, allocations: 0 / 0.5424 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004183/0.156, allocations: 51.77 kB / 0.5424 GB, free: 1.352 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004304/0.1564, allocations: 95.59 kB / 0.5425 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002464/0.1567, allocations: 79.66 kB / 0.5426 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002941/0.157, allocations: 99.64 kB / 0.5427 GB, free: 1.082 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.612e-05/0.1571, allocations: 4.234 kB / 0.5427 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001236/0.1572, allocations: 47.77 kB / 0.5428 GB, free: 1.031 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.807e-05/0.1573, allocations: 23.86 kB / 0.5428 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.897e-05/0.1573, allocations: 8 kB / 0.5428 GB, free: 1 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001065/0.1574, allocations: 31.98 kB / 0.5428 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.927e-05/0.1575, allocations: 35.78 kB / 0.5429 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.556e-05/0.1576, allocations: 35.69 kB / 0.5429 GB, free: 0.8984 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002687/0.1579, allocations: 127.4 kB / 0.543 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.011e-06/0.1579, allocations: 0 / 0.543 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.1579, allocations: 0 / 0.543 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.464e-06/0.1579, allocations: 0 / 0.543 GB, free: 0.7734 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007923/0.1587, allocations: 442.5 kB / 0.5434 GB, free: 300 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.1588, allocations: 8.031 kB / 0.5434 GB, free: 292 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.069e-05/0.1588, allocations: 16.89 kB / 0.5435 GB, free: 276 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003782/0.1592, allocations: 225 kB / 0.5437 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.1592, allocations: 384 / 0.5437 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.623e-05/0.1593, allocations: 384 / 0.5437 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002042/0.1595, allocations: 57.98 kB / 0.5437 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1595, allocations: 3.938 kB / 0.5437 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.1595, allocations: 0 / 0.5437 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.211e-06/0.1595, allocations: 0 / 0.5437 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.831e-05/0.1596, allocations: 19.97 kB / 0.5438 GB, free: 15.92 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002854/0.1599, allocations: 197.7 kB / 0.5439 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00018/0.1601, allocations: 50.56 kB / 0.544 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.277e-05/0.1602, allocations: 20.84 kB / 0.544 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.526e-05/0.1602, allocations: 0 / 0.544 GB, free: 15.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001964/0.1604, allocations: 75.33 kB / 0.5441 GB, free: 15.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.453e-06/0.1604, allocations: 0 / 0.5441 GB, free: 15.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003413/0.1608, allocations: 97.52 kB / 0.5442 GB, free: 15.41 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.832e-05/0.1608, allocations: 55.41 kB / 0.5442 GB, free: 15.34 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003652/0.1612, allocations: 274.7 kB / 0.5445 GB, free: 15.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.699e-05/0.1612, allocations: 25.7 kB / 0.5445 GB, free: 15.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.772e-05/0.1614, allocations: 112.1 kB / 0.5446 GB, free: 14.92 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.487e-05/0.1614, allocations: 15.89 kB / 0.5446 GB, free: 14.9 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.1615, allocations: 25.72 kB / 0.5447 GB, free: 14.87 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.1617, allocations: 322.8 kB / 0.545 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.431e-05/0.1617, allocations: 15.98 kB / 0.545 GB, free: 14.53 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.583e-05/0.1618, allocations: 29.7 kB / 0.545 GB, free: 14.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.1619, allocations: 41.72 kB / 0.545 GB, free: 14.45 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1619, allocations: 3.938 kB / 0.5451 GB, free: 14.45 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001848/0.1621, allocations: 97.77 kB / 0.5451 GB, free: 14.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1621, allocations: 7.938 kB / 0.5452 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.1621, allocations: 0 / 0.5452 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1622, allocations: 0 / 0.5452 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.035e-05/0.1623, allocations: 15.94 kB / 0.5452 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.1623, allocations: 0 / 0.5452 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.597e-05/0.1623, allocations: 3.953 kB / 0.5452 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.169e-05/0.1623, allocations: 7.984 kB / 0.5452 GB, free: 14.31 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 (7): * Single equations (assignments): 7 * 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.0001375/0.1625, allocations: 139.4 kB / 0.5453 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.453e-05/0.1625, allocations: 15.84 kB / 0.5453 GB, free: 14.15 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.222e-05/0.1626, allocations: 17 kB / 0.5453 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.1626, allocations: 0 / 0.5453 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1626, allocations: 4 kB / 0.5453 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.1626, allocations: 3.984 kB / 0.5454 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002126/0.1628, allocations: 201.5 kB / 0.5455 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1628, allocations: 0 / 0.5455 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.281e-05/0.1629, allocations: 7.938 kB / 0.5456 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.1629, allocations: 0 / 0.5456 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1629, allocations: 0 / 0.5456 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.1629, allocations: 8 kB / 0.5456 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1629, allocations: 0 / 0.5456 GB, free: 13.86 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.1631, allocations: 113 kB / 0.5457 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-05/0.1632, allocations: 96.89 kB / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.1632, allocations: 0 / 0.5458 GB, free: 13.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.826e-05/0.1632, allocations: 7.984 kB / 0.5458 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.347e-05/0.1633, allocations: 0 / 0.5458 GB, free: 13.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.497e-05/0.1633, allocations: 8 kB / 0.5458 GB, free: 13.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002053/0.1635, allocations: 204.6 kB / 0.546 GB, free: 13.41 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1635, allocations: 0 / 0.546 GB, free: 13.41 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.000205/0.1637, allocations: 16 kB / 0.546 GB, free: 13.39 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (5): * Single equations (assignments): 3 * 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.001549/0.1653, allocations: 400.1 kB / 0.5464 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.1655, allocations: 43.92 kB / 0.5464 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1655, allocations: 3.938 kB / 0.5464 GB, free: 13.08 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.961e-05/0.1656, allocations: 24.05 kB / 0.5464 GB, free: 13.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003394/0.1659, allocations: 37.91 kB / 0.5465 GB, free: 13.02 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005514/0.1665, allocations: 270.3 kB / 0.5467 GB, free: 12.73 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004057/0.1669, allocations: 0.7158 MB / 0.5474 GB, free: 11.99 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.856e-05/0.167, allocations: 12.8 kB / 0.5474 GB, free: 11.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.32e-05/0.167, allocations: 15.44 kB / 0.5475 GB, free: 11.96 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.167, allocations: 0 / 0.5475 GB, free: 11.96 MB / 414.1 MB Notification: Performance of Templates: time 0.004754/0.1718, allocations: 1.544 MB / 0.549 GB, free: 10.43 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test64/Test64.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test64.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.186807829886675]