Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.00131/0.00131, allocations: 111.7 kB / 19.12 MB, free: 3.945 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.002054/0.002054, allocations: 212.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.52/1.52, allocations: 227.4 MB / 252.3 MB, free: 116 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.2447/0.2447, allocations: 46.17 MB / 351.8 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.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") translateModel(ModelicaTest.Tables.CombiTimeTable.Test50,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002306/0.002306, allocations: 78.41 kB / 491 MB, free: 28.29 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1559, allocations: 62.45 MB / 0.5404 GB, free: 4.305 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test50): time 0.003484/0.1595, allocations: 1.731 MB / 0.5421 GB, free: 2.559 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002681/0.1622, allocations: 1.631 MB / 0.5437 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.632e-05/0.1623, allocations: 0 / 0.5437 GB, free: 0.918 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000331/0.1626, allocations: 35.77 kB / 0.5438 GB, free: 0.8828 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003386/0.163, allocations: 107.5 kB / 0.5439 GB, free: 0.7773 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002149/0.1632, allocations: 75.67 kB / 0.5439 GB, free: 0.7031 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002096/0.1634, allocations: 119.7 kB / 0.544 GB, free: 0.5859 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.1635, allocations: 8 kB / 0.544 GB, free: 0.5781 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.1636, allocations: 55.77 kB / 0.5441 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001786/0.1638, allocations: 47.77 kB / 0.5441 GB, free: 488 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.1639, allocations: 4 kB / 0.5441 GB, free: 484 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002146/0.1641, allocations: 111.9 kB / 0.5443 GB, free: 372 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.298e-05/0.1642, allocations: 23.92 kB / 0.5443 GB, free: 348 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.6e-05/0.1642, allocations: 39.67 kB / 0.5443 GB, free: 308 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003303/0.1646, allocations: 183.4 kB / 0.5445 GB, free: 124 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.1646, allocations: 0 / 0.5445 GB, free: 124 kB / 398.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.1646, allocations: 0 / 0.5445 GB, free: 124 kB / 398.1 MB Notification: Performance of Transformations before backend: time 6.001e-06/0.1646, allocations: 0 / 0.5445 GB, free: 124 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007176/0.1653, allocations: 438.5 kB / 0.5449 GB, free: 15.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.123e-05/0.1654, allocations: 12.03 kB / 0.5449 GB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.056e-05/0.1654, allocations: 8.891 kB / 0.5449 GB, free: 15.62 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000334/0.1658, allocations: 220.1 kB / 0.5451 GB, free: 15.37 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.1658, allocations: 8.375 kB / 0.5451 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.1658, allocations: 384 / 0.5451 GB, free: 15.36 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.166, allocations: 79.69 kB / 0.5452 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.443e-05/0.1661, allocations: 3.953 kB / 0.5452 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.336e-05/0.1661, allocations: 4 kB / 0.5452 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.1661, allocations: 0 / 0.5452 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.287e-05/0.1662, allocations: 31.97 kB / 0.5453 GB, free: 15.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004274/0.1666, allocations: 304.7 kB / 0.5456 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002082/0.1668, allocations: 70.67 kB / 0.5456 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.64e-05/0.1669, allocations: 24.84 kB / 0.5456 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.832e-05/0.1669, allocations: 4 kB / 0.5456 GB, free: 14.78 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.1671, allocations: 83.38 kB / 0.5457 GB, free: 14.68 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 3.647e-06/0.1671, allocations: 0 / 0.5457 GB, free: 14.68 MB / 414.1 MB Notification: Performance of matching and sorting (n=9): time 0.0006353/0.1678, allocations: 209.3 kB / 0.5459 GB, free: 14.47 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.1679, allocations: 77.11 kB / 0.546 GB, free: 14.38 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.1681, allocations: 166.2 kB / 0.5462 GB, free: 14.2 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.686e-05/0.1681, allocations: 29.7 kB / 0.5462 GB, free: 14.17 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.718e-05/0.1682, allocations: 108.1 kB / 0.5463 GB, free: 14.06 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.7e-05/0.1682, allocations: 27.75 kB / 0.5463 GB, free: 14.03 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.93e-05/0.1683, allocations: 29.7 kB / 0.5463 GB, free: 14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.1684, allocations: 326.8 kB / 0.5467 GB, free: 13.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.068e-05/0.1685, allocations: 23.98 kB / 0.5467 GB, free: 13.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.002e-05/0.1686, allocations: 46.5 kB / 0.5467 GB, free: 13.59 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001398/0.1687, allocations: 77.67 kB / 0.5468 GB, free: 13.51 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.1687, allocations: 0 / 0.5468 GB, free: 13.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002174/0.169, allocations: 113.5 kB / 0.5469 GB, free: 13.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.169, allocations: 8 kB / 0.5469 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.169, allocations: 0 / 0.5469 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.169, allocations: 0 / 0.5469 GB, free: 13.38 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1691, allocations: 19.98 kB / 0.5469 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.1691, allocations: 0 / 0.5469 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.1692, allocations: 4 kB / 0.5469 GB, free: 13.36 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.813e-06/0.1692, allocations: 4.031 kB / 0.5469 GB, free: 13.36 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 (11): * Single equations (assignments): 11 * 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.0001228/0.1693, allocations: 133.7 kB / 0.5471 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.1694, allocations: 11.95 kB / 0.5471 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.865e-05/0.1694, allocations: 16.7 kB / 0.5471 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.1694, allocations: 0 / 0.5471 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.348e-06/0.1694, allocations: 0 / 0.5471 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1695, allocations: 0 / 0.5471 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005254/0.17, allocations: 427.4 kB / 0.5475 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.17, allocations: 0 / 0.5475 GB, free: 12.71 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.794e-05/0.17, allocations: 15.94 kB / 0.5475 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.17, allocations: 0 / 0.5475 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.1701, allocations: 0 / 0.5475 GB, free: 12.7 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.847e-06/0.1701, allocations: 11.92 kB / 0.5475 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.1701, allocations: 0 / 0.5475 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002675/0.1704, allocations: 220.2 kB / 0.5477 GB, free: 12.45 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.757e-05/0.1704, allocations: 81.06 kB / 0.5478 GB, free: 12.35 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.1705, allocations: 7.984 kB / 0.5478 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.495e-05/0.1705, allocations: 7.938 kB / 0.5478 GB, free: 12.34 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.1706, allocations: 4 kB / 0.5478 GB, free: 12.33 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.032e-05/0.1706, allocations: 7.984 kB / 0.5478 GB, free: 12.32 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001257/0.1707, allocations: 136 kB / 0.548 GB, free: 12.19 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1707, allocations: 0 / 0.548 GB, free: 12.19 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002989/0.1711, allocations: 51.86 kB / 0.548 GB, free: 12.14 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * 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.002066/0.1731, allocations: 0.5406 MB / 0.5486 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002346/0.1734, allocations: 71.91 kB / 0.5486 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.1734, allocations: 0 / 0.5486 GB, free: 11.72 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 8.779e-05/0.1735, allocations: 36.05 kB / 0.5487 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.1739, allocations: 45.78 kB / 0.5487 GB, free: 11.65 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005815/0.1744, allocations: 232.8 kB / 0.5489 GB, free: 11.38 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.1749, allocations: 0.7002 MB / 0.5496 GB, free: 10.66 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.594e-05/0.175, allocations: 27.48 kB / 0.5496 GB, free: 10.63 MB / 414.1 MB Notification: Performance of SimCode: time 2.6e-07/0.175, allocations: 4 kB / 0.5496 GB, free: 10.62 MB / 414.1 MB Notification: Performance of Templates: time 0.005359/0.1803, allocations: 2.539 MB / 0.5521 GB, free: 8.098 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.sim & ./ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test50/Test50.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Tables.CombiTimeTable.Test50.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.120857690926641]