Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.001844/0.001844, allocations: 111.9 kB / 19.12 MB, free: 3.941 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.002365/0.002365, allocations: 208.9 kB / 22.08 MB, free: 0.9922 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.566/1.566, allocations: 227.4 MB / 252.3 MB, free: 60 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.2316/0.2316, allocations: 46.16 MB / 351.8 MB, free: 14.28 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.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") translateModel(ModelicaTest.Tables.CombiTimeTable.Test38,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5068,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002325/0.002325, allocations: 83.44 kB / 490.9 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1554, allocations: 62.44 MB / 0.5404 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test38): time 0.003341/0.1587, allocations: 1.701 MB / 0.5421 GB, free: 2.453 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001882/0.1606, allocations: 0.9933 MB / 0.543 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.1607, allocations: 3.938 kB / 0.543 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003471/0.1611, allocations: 63.78 kB / 0.5431 GB, free: 1.387 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003171/0.1614, allocations: 111.5 kB / 0.5432 GB, free: 1.277 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.1616, allocations: 63.75 kB / 0.5433 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001898/0.1618, allocations: 111.6 kB / 0.5434 GB, free: 1.105 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.355e-05/0.1619, allocations: 8.219 kB / 0.5434 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.293e-05/0.162, allocations: 47.78 kB / 0.5434 GB, free: 1.051 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001098/0.1621, allocations: 43.83 kB / 0.5435 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.826e-05/0.1621, allocations: 4 kB / 0.5435 GB, free: 1.004 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.101e-05/0.1622, allocations: 35.98 kB / 0.5435 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.214e-05/0.1623, allocations: 23.92 kB / 0.5435 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.824e-05/0.1623, allocations: 35.73 kB / 0.5436 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.1626, allocations: 107.5 kB / 0.5437 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.1626, allocations: 0 / 0.5437 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1626, allocations: 0 / 0.5437 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.1626, allocations: 0 / 0.5437 GB, free: 0.8047 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.0006203/0.1632, allocations: 413.7 kB / 0.5441 GB, free: 364 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.1633, allocations: 12.03 kB / 0.5441 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.641e-05/0.1633, allocations: 12.84 kB / 0.5441 GB, free: 340 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002852/0.1636, allocations: 212.9 kB / 0.5443 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.1636, allocations: 384 / 0.5443 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.583e-05/0.1636, allocations: 4.375 kB / 0.5443 GB, free: 84 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.1638, allocations: 53.92 kB / 0.5444 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-06/0.1638, allocations: 0 / 0.5444 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.1638, allocations: 0 / 0.5444 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.02e-06/0.1638, allocations: 0 / 0.5444 GB, free: 24 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.989e-05/0.1639, allocations: 15.98 kB / 0.5444 GB, free: 8 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002417/0.1642, allocations: 189.6 kB / 0.5445 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001705/0.1643, allocations: 58.59 kB / 0.5446 GB, free: 15.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.733e-05/0.1644, allocations: 20.86 kB / 0.5446 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.199e-05/0.1644, allocations: 3.984 kB / 0.5446 GB, free: 15.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001577/0.1646, allocations: 71.2 kB / 0.5447 GB, free: 15.6 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.403e-06/0.1646, allocations: 4 kB / 0.5447 GB, free: 15.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002934/0.1649, allocations: 97.61 kB / 0.5448 GB, free: 15.49 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.473e-05/0.165, allocations: 51.41 kB / 0.5448 GB, free: 15.43 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002269/0.1652, allocations: 203.5 kB / 0.545 GB, free: 15.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1652, allocations: 25.7 kB / 0.5451 GB, free: 15.19 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.1653, allocations: 96.14 kB / 0.5452 GB, free: 15.09 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.629e-05/0.1654, allocations: 19.89 kB / 0.5452 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.1654, allocations: 17.72 kB / 0.5452 GB, free: 15.05 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1656, allocations: 326.8 kB / 0.5455 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.283e-05/0.1656, allocations: 19.92 kB / 0.5455 GB, free: 14.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.554e-05/0.1657, allocations: 25.72 kB / 0.5455 GB, free: 14.67 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.1658, allocations: 45.7 kB / 0.5456 GB, free: 14.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1658, allocations: 0 / 0.5456 GB, free: 14.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001638/0.166, allocations: 89.47 kB / 0.5457 GB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.166, allocations: 8 kB / 0.5457 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.166, allocations: 0 / 0.5457 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.166, allocations: 3.938 kB / 0.5457 GB, free: 14.52 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.576e-05/0.1661, allocations: 11.98 kB / 0.5457 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1661, allocations: 0 / 0.5457 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.107e-05/0.1662, allocations: 4 kB / 0.5457 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-06/0.1662, allocations: 4 kB / 0.5457 GB, free: 14.5 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.0001141/0.1663, allocations: 125.8 kB / 0.5458 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.306e-05/0.1663, allocations: 19.92 kB / 0.5458 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/0.1664, allocations: 9 kB / 0.5458 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.1664, allocations: 0 / 0.5458 GB, free: 14.33 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.1664, allocations: 7.984 kB / 0.5459 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1664, allocations: 0 / 0.5459 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000174/0.1666, allocations: 185.9 kB / 0.546 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.1666, allocations: 4 kB / 0.546 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.989e-05/0.1666, allocations: 3.938 kB / 0.546 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.432e-06/0.1666, allocations: 4 kB / 0.546 GB, free: 14.08 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.1666, allocations: 7.984 kB / 0.5461 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1666, allocations: 0 / 0.5461 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1667, allocations: 4 kB / 0.5461 GB, free: 14.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001947/0.1668, allocations: 101.1 kB / 0.5462 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.121e-05/0.1669, allocations: 92.94 kB / 0.5462 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.601e-05/0.167, allocations: 4 kB / 0.5462 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.522e-05/0.167, allocations: 4 kB / 0.5462 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.631e-05/0.167, allocations: 7.922 kB / 0.5463 GB, free: 13.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.1671, allocations: 4 kB / 0.5463 GB, free: 13.82 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001538/0.1672, allocations: 152.2 kB / 0.5464 GB, free: 13.68 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1672, allocations: 3.938 kB / 0.5464 GB, free: 13.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002084/0.1674, allocations: 15.98 kB / 0.5464 GB, free: 13.66 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.001491/0.1689, allocations: 412 kB / 0.5468 GB, free: 13.39 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001731/0.1691, allocations: 35.98 kB / 0.5469 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1691, allocations: 0 / 0.5469 GB, free: 13.36 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.9e-05/0.1692, allocations: 27.98 kB / 0.5469 GB, free: 13.33 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002638/0.1695, allocations: 31.16 kB / 0.5469 GB, free: 13.3 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00046/0.1699, allocations: 239.5 kB / 0.5471 GB, free: 13.04 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003668/0.1703, allocations: 0.7002 MB / 0.5478 GB, free: 12.31 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.1704, allocations: 11.44 kB / 0.5478 GB, free: 12.3 MB / 414.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1704, allocations: 0 / 0.5478 GB, free: 12.3 MB / 414.1 MB Notification: Performance of Templates: time 0.003954/0.1743, allocations: 1.728 MB / 0.5495 GB, free: 10.57 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test38/Test38.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test38.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.043583984021097]