Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.001638/0.001638, allocations: 119.2 kB / 19.13 MB, free: 3.918 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.001982/0.001982, allocations: 210.6 kB / 22.08 MB, free: 0.9688 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.507/1.507, allocations: 227.4 MB / 252.3 MB, free: 120 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.2332/0.2332, allocations: 46.17 MB / 351.8 MB, free: 14.42 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") translateModel(ModelicaTest.Tables.CombiTimeTable.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 83.52 kB / 490.9 MB, free: 27.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1474/0.1497, allocations: 62.44 MB / 0.5404 GB, free: 4.242 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.003802/0.1535, allocations: 1.948 MB / 0.5423 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001897/0.1554, allocations: 1.059 MB / 0.5433 GB, free: 1.207 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001136/0.1556, allocations: 4 kB / 0.5434 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003579/0.156, allocations: 43.72 kB / 0.5434 GB, free: 1.16 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003279/0.1563, allocations: 99.47 kB / 0.5435 GB, free: 1.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002455/0.1566, allocations: 95.64 kB / 0.5436 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.1568, allocations: 143.5 kB / 0.5437 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001369/0.157, allocations: 37.47 kB / 0.5438 GB, free: 0.7891 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.1571, allocations: 55.72 kB / 0.5438 GB, free: 0.7344 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001053/0.1572, allocations: 47.72 kB / 0.5439 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.1572, allocations: 8 kB / 0.5439 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001208/0.1574, allocations: 51.97 kB / 0.5439 GB, free: 0.6289 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.88e-05/0.1574, allocations: 23.86 kB / 0.5439 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.084e-05/0.1575, allocations: 55.61 kB / 0.544 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002873/0.1578, allocations: 151.4 kB / 0.5441 GB, free: 412 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1578, allocations: 4 kB / 0.5441 GB, free: 408 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.354e-06/0.1578, allocations: 0 / 0.5441 GB, free: 408 kB / 398.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.1578, allocations: 0 / 0.5441 GB, free: 408 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.0008153/0.1587, allocations: 496 kB / 0.5446 GB, free: 15.86 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.637e-05/0.1587, allocations: 12.03 kB / 0.5446 GB, free: 15.85 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.465e-05/0.1588, allocations: 12.84 kB / 0.5446 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003508/0.1591, allocations: 232.9 kB / 0.5449 GB, free: 15.57 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.1592, allocations: 8.375 kB / 0.5449 GB, free: 15.56 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.174e-05/0.1592, allocations: 12.36 kB / 0.5449 GB, free: 15.55 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002639/0.1595, allocations: 108.5 kB / 0.545 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.1595, allocations: 0 / 0.545 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.686e-05/0.1595, allocations: 7.984 kB / 0.545 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.1595, allocations: 0 / 0.545 GB, free: 15.42 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001576/0.1597, allocations: 47.91 kB / 0.545 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000688/0.1604, allocations: 0.5049 MB / 0.5455 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003543/0.1607, allocations: 90.59 kB / 0.5456 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.1609, allocations: 44.83 kB / 0.5457 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.304e-05/0.1609, allocations: 0 / 0.5457 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002016/0.1611, allocations: 83.31 kB / 0.5457 GB, free: 14.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.333e-06/0.1611, allocations: 0 / 0.5457 GB, free: 14.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004292/0.1616, allocations: 141.5 kB / 0.5459 GB, free: 14.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/0.1616, allocations: 63.39 kB / 0.5459 GB, free: 14.35 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002255/0.1618, allocations: 206.1 kB / 0.5461 GB, free: 14.14 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.868e-05/0.1619, allocations: 25.7 kB / 0.5461 GB, free: 14.11 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.706e-05/0.162, allocations: 120 kB / 0.5463 GB, free: 13.99 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.627e-05/0.162, allocations: 31.78 kB / 0.5463 GB, free: 13.96 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.974e-05/0.1621, allocations: 29.66 kB / 0.5463 GB, free: 13.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001669/0.1623, allocations: 330.8 kB / 0.5466 GB, free: 13.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.755e-05/0.1624, allocations: 31.98 kB / 0.5467 GB, free: 13.56 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001174/0.1625, allocations: 68.39 kB / 0.5467 GB, free: 13.48 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.1627, allocations: 96.22 kB / 0.5468 GB, free: 13.37 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1627, allocations: 0 / 0.5468 GB, free: 13.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000284/0.163, allocations: 137.4 kB / 0.547 GB, free: 13.23 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/0.163, allocations: 5.719 kB / 0.547 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.163, allocations: 0 / 0.547 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.119e-05/0.1631, allocations: 4.469 kB / 0.547 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001061/0.1632, allocations: 32.05 kB / 0.547 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.045e-06/0.1632, allocations: 4 kB / 0.547 GB, free: 13.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.964e-05/0.1633, allocations: 23.81 kB / 0.547 GB, free: 13.16 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.051e-05/0.1633, allocations: 4 kB / 0.547 GB, free: 13.16 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.0001182/0.1634, allocations: 129.7 kB / 0.5471 GB, free: 13.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.1635, allocations: 15.91 kB / 0.5472 GB, free: 13 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.1635, allocations: 21.39 kB / 0.5472 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.1635, allocations: 4 kB / 0.5472 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.1635, allocations: 0 / 0.5472 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1635, allocations: 7.938 kB / 0.5472 GB, free: 12.97 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.1638, allocations: 205.6 kB / 0.5474 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1638, allocations: 0 / 0.5474 GB, free: 12.72 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.207e-05/0.1639, allocations: 15.98 kB / 0.5474 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.753e-06/0.1639, allocations: 0 / 0.5474 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.133e-05/0.1639, allocations: 0 / 0.5474 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1639, allocations: 0 / 0.5474 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.1639, allocations: 0 / 0.5474 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004033/0.1643, allocations: 188.8 kB / 0.5476 GB, free: 12.5 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.041e-05/0.1644, allocations: 92.98 kB / 0.5477 GB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.799e-05/0.1644, allocations: 8 kB / 0.5477 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.081e-05/0.1645, allocations: 7.984 kB / 0.5477 GB, free: 12.38 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.397e-05/0.1645, allocations: 7.938 kB / 0.5477 GB, free: 12.37 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/0.1646, allocations: 0 / 0.5477 GB, free: 12.37 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001472/0.1647, allocations: 148.4 kB / 0.5478 GB, free: 12.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1647, allocations: 0 / 0.5478 GB, free: 12.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.165, allocations: 32.05 kB / 0.5479 GB, free: 12.19 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.001544/0.1665, allocations: 414.5 kB / 0.5483 GB, free: 11.93 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002726/0.1668, allocations: 79.84 kB / 0.5483 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.1668, allocations: 0 / 0.5483 GB, free: 11.85 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001117/0.1669, allocations: 35.91 kB / 0.5484 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.0003289/0.1673, allocations: 54.89 kB / 0.5484 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006089/0.1679, allocations: 285 kB / 0.5487 GB, free: 11.46 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.1683, allocations: 0.7162 MB / 0.5494 GB, free: 10.71 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.659e-05/0.1683, allocations: 19.44 kB / 0.5494 GB, free: 10.7 MB / 414.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1683, allocations: 0 / 0.5494 GB, free: 10.7 MB / 414.1 MB Notification: Performance of Templates: time 0.004864/0.1732, allocations: 2.214 MB / 0.5516 GB, free: 8.488 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test11.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.059571209014393]