Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.001781/0.001781, allocations: 121.5 kB / 18.46 MB, free: 4.461 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.002315/0.002315, allocations: 205.8 kB / 21.41 MB, free: 1.516 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.605/1.605, allocations: 227.4 MB / 251.6 MB, free: 48 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.2741/0.2741, allocations: 46.16 MB / 351.1 MB, free: 14.27 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.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") translateModel(ModelicaTest.Tables.CombiTimeTable.Test12,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5003,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002221/0.002221, allocations: 86.58 kB / 490.3 MB, free: 28.04 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1501/0.1523, allocations: 62.46 MB / 0.5398 GB, free: 4.152 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.003665/0.156, allocations: 1.935 MB / 0.5416 GB, free: 2.195 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001974/0.158, allocations: 1.061 MB / 0.5427 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.1582, allocations: 4 kB / 0.5427 GB, free: 1.125 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.1585, allocations: 47.69 kB / 0.5427 GB, free: 1.078 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003558/0.1589, allocations: 99.48 kB / 0.5428 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000256/0.1592, allocations: 91.64 kB / 0.5429 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002394/0.1595, allocations: 151.5 kB / 0.5431 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.1596, allocations: 33.48 kB / 0.5431 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.1597, allocations: 55.72 kB / 0.5431 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.1598, allocations: 47.7 kB / 0.5432 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.103e-05/0.1599, allocations: 8 kB / 0.5432 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001158/0.16, allocations: 47.98 kB / 0.5432 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.858e-05/0.1601, allocations: 27.92 kB / 0.5433 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 8.225e-05/0.1602, allocations: 63.53 kB / 0.5433 GB, free: 472 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002998/0.1605, allocations: 143.4 kB / 0.5435 GB, free: 328 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.394e-06/0.1605, allocations: 4 kB / 0.5435 GB, free: 324 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.585e-06/0.1605, allocations: 0 / 0.5435 GB, free: 324 kB / 398.1 MB Notification: Performance of Transformations before backend: time 1.138e-05/0.1605, allocations: 0 / 0.5435 GB, free: 324 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.0009071/0.1614, allocations: 492.1 kB / 0.5439 GB, free: 15.78 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.1615, allocations: 11.97 kB / 0.5439 GB, free: 15.77 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.181e-05/0.1616, allocations: 16.84 kB / 0.544 GB, free: 15.75 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004401/0.162, allocations: 232.9 kB / 0.5442 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.162, allocations: 8.375 kB / 0.5442 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.395e-05/0.1621, allocations: 4.375 kB / 0.5442 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002819/0.1624, allocations: 112.5 kB / 0.5443 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.1624, allocations: 0 / 0.5443 GB, free: 15.35 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.1624, allocations: 4 kB / 0.5443 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.266e-05/0.1624, allocations: 8 kB / 0.5443 GB, free: 15.34 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001645/0.1626, allocations: 47.95 kB / 0.5444 GB, free: 15.29 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007466/0.1634, allocations: 0.5009 MB / 0.5449 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000395/0.1638, allocations: 98.58 kB / 0.5449 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.1639, allocations: 40.83 kB / 0.545 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.988e-05/0.1639, allocations: 0 / 0.545 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.1642, allocations: 87.31 kB / 0.5451 GB, free: 14.48 MB / 414.1 MB Notification: Performance of pre-optimization done (n=9): time 1.263e-06/0.1642, allocations: 4 kB / 0.5451 GB, free: 14.48 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004232/0.1646, allocations: 137.5 kB / 0.5452 GB, free: 14.34 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.07e-05/0.1647, allocations: 59.41 kB / 0.5453 GB, free: 14.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002093/0.1649, allocations: 202.2 kB / 0.5455 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.207e-05/0.1649, allocations: 29.7 kB / 0.5455 GB, free: 14.03 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.889e-05/0.165, allocations: 120 kB / 0.5456 GB, free: 13.91 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.43e-05/0.1651, allocations: 27.8 kB / 0.5456 GB, free: 13.88 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.1651, allocations: 29.72 kB / 0.5456 GB, free: 13.84 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001808/0.1653, allocations: 334.7 kB / 0.546 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.021e-05/0.1654, allocations: 27.98 kB / 0.546 GB, free: 13.48 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001222/0.1655, allocations: 68.41 kB / 0.5461 GB, free: 13.4 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/0.1658, allocations: 100.2 kB / 0.5462 GB, free: 13.29 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1658, allocations: 0 / 0.5462 GB, free: 13.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003048/0.1661, allocations: 137.8 kB / 0.5463 GB, free: 13.14 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1661, allocations: 8.125 kB / 0.5463 GB, free: 13.14 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/0.1661, allocations: 4 kB / 0.5463 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1661, allocations: 0 / 0.5463 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000101/0.1663, allocations: 28.02 kB / 0.5463 GB, free: 13.11 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.1663, allocations: 3.938 kB / 0.5463 GB, free: 13.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.104e-05/0.1663, allocations: 19.81 kB / 0.5463 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.005e-05/0.1664, allocations: 4 kB / 0.5464 GB, free: 13.08 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.000113/0.1665, allocations: 127.9 kB / 0.5465 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.342e-05/0.1665, allocations: 11.91 kB / 0.5465 GB, free: 12.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.524e-05/0.1666, allocations: 29.39 kB / 0.5465 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.1666, allocations: 4 kB / 0.5465 GB, free: 12.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.1666, allocations: 3.938 kB / 0.5465 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.35e-06/0.1666, allocations: 3.938 kB / 0.5465 GB, free: 12.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002098/0.1668, allocations: 209.6 kB / 0.5467 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1668, allocations: 0 / 0.5467 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.499e-05/0.1669, allocations: 15.98 kB / 0.5467 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.1669, allocations: 0 / 0.5467 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.1669, allocations: 0 / 0.5467 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.1669, allocations: 4 kB / 0.5467 GB, free: 12.62 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.167, allocations: 4 kB / 0.5467 GB, free: 12.61 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003911/0.1673, allocations: 180.9 kB / 0.5469 GB, free: 12.42 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/0.1674, allocations: 101 kB / 0.547 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.392e-05/0.1675, allocations: 0 / 0.547 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.685e-05/0.1675, allocations: 4 kB / 0.547 GB, free: 12.3 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.774e-05/0.1676, allocations: 11.92 kB / 0.547 GB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.1676, allocations: 12.06 kB / 0.547 GB, free: 12.27 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001409/0.1678, allocations: 140.4 kB / 0.5472 GB, free: 12.14 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1678, allocations: 0 / 0.5472 GB, free: 12.14 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002388/0.168, allocations: 27.98 kB / 0.5472 GB, free: 12.11 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.001563/0.1696, allocations: 416 kB / 0.5476 GB, free: 11.84 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002996/0.1699, allocations: 76.09 kB / 0.5477 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.217e-06/0.1699, allocations: 4.062 kB / 0.5477 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00012/0.17, allocations: 39.91 kB / 0.5477 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000395/0.1704, allocations: 38.55 kB / 0.5478 GB, free: 11.68 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007274/0.1712, allocations: 263.2 kB / 0.548 GB, free: 11.4 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004835/0.1717, allocations: 0.7162 MB / 0.5487 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.442e-05/0.1718, allocations: 25.39 kB / 0.5487 GB, free: 10.64 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.1718, allocations: 15.44 kB / 0.5487 GB, free: 10.62 MB / 414.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1718, allocations: 0 / 0.5487 GB, free: 10.62 MB / 414.1 MB Notification: Performance of Templates: time 0.006407/0.1782, allocations: 1.9 MB / 0.5506 GB, free: 8.73 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test12/Test12.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test12.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.4455139599740505]