Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001749/0.001749, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002113/0.002113, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.755/1.755, allocations: 230.6 MB / 254.1 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2666/0.2666, allocations: 46.92 MB / 357.1 MB, free: 10.31 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.89 kB / 0.4914 GB, free: 7.438 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1395, allocations: 66 MB / 0.5559 GB, free: 5.309 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.0034/0.1429, allocations: 1.626 MB / 0.5575 GB, free: 3.672 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001181/0.1441, allocations: 0.5494 MB / 0.558 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.2e-05/0.1441, allocations: 0 / 0.558 GB, free: 3.117 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002808/0.1444, allocations: 99.67 kB / 0.5581 GB, free: 3.02 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004747/0.1449, allocations: 111.6 kB / 0.5582 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000316/0.1452, allocations: 107.7 kB / 0.5583 GB, free: 2.805 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003171/0.1455, allocations: 87.73 kB / 0.5584 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.642e-05/0.1456, allocations: 19.98 kB / 0.5584 GB, free: 2.699 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/0.1457, allocations: 39.83 kB / 0.5585 GB, free: 2.66 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001133/0.1458, allocations: 59.83 kB / 0.5585 GB, free: 2.602 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1458, allocations: 4 kB / 0.5585 GB, free: 2.598 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.844e-05/0.1459, allocations: 43.97 kB / 0.5586 GB, free: 2.555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.146, allocations: 27.86 kB / 0.5586 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.588e-05/0.1461, allocations: 35.73 kB / 0.5586 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000204/0.1463, allocations: 111.5 kB / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1463, allocations: 0 / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1463, allocations: 0 / 0.5587 GB, free: 2.383 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.67e-06/0.1463, allocations: 4 kB / 0.5587 GB, free: 2.379 MB / 414.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.0006227/0.1469, allocations: 422.7 kB / 0.5591 GB, free: 1.918 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.1469, allocations: 8.031 kB / 0.5591 GB, free: 1.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.691e-05/0.147, allocations: 12.84 kB / 0.5591 GB, free: 1.898 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003104/0.1473, allocations: 212.1 kB / 0.5593 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.751e-06/0.1473, allocations: 384 / 0.5593 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.912e-05/0.1473, allocations: 8.328 kB / 0.5594 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001881/0.1475, allocations: 61.78 kB / 0.5594 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.1475, allocations: 0 / 0.5594 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.1475, allocations: 4 kB / 0.5594 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.1475, allocations: 0 / 0.5594 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001111/0.1476, allocations: 31.97 kB / 0.5595 GB, free: 1.543 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004729/0.1481, allocations: 308.7 kB / 0.5597 GB, free: 1.191 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.1482, allocations: 46.56 kB / 0.5598 GB, free: 1.137 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.94e-05/0.1483, allocations: 16.94 kB / 0.5598 GB, free: 1.117 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.572e-05/0.1483, allocations: 8 kB / 0.5598 GB, free: 1.109 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1484, allocations: 34.56 kB / 0.5598 GB, free: 1.066 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/0.1484, allocations: 0 / 0.5598 GB, free: 1.066 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001006/0.1494, allocations: 241.5 kB / 0.5601 GB, free: 0.8242 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.191e-05/0.1494, allocations: 63.34 kB / 0.5601 GB, free: 0.75 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003085/0.1497, allocations: 227.4 kB / 0.5604 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1497, allocations: 29.7 kB / 0.5604 GB, free: 492 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.28e-05/0.1498, allocations: 112 kB / 0.5605 GB, free: 376 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.718e-05/0.1499, allocations: 23.81 kB / 0.5605 GB, free: 352 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.852e-05/0.1499, allocations: 25.7 kB / 0.5605 GB, free: 320 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001833/0.1501, allocations: 330.8 kB / 0.5609 GB, free: 15.98 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001452/0.1502, allocations: 23.98 kB / 0.5609 GB, free: 15.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.48e-05/0.1503, allocations: 31.97 kB / 0.5609 GB, free: 15.93 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/0.1505, allocations: 76.88 kB / 0.561 GB, free: 15.85 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.81e-07/0.1505, allocations: 0 / 0.561 GB, free: 15.85 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002646/0.1508, allocations: 117.5 kB / 0.5611 GB, free: 15.73 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.1508, allocations: 12 kB / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1508, allocations: 0 / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1508, allocations: 0 / 0.5611 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1509, allocations: 15.98 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.702e-06/0.151, allocations: 3.938 kB / 0.5611 GB, free: 15.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.824e-05/0.151, allocations: 7.938 kB / 0.5611 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.152e-05/0.151, allocations: 4 kB / 0.5611 GB, free: 15.68 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.0001176/0.1511, allocations: 132 kB / 0.5613 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.739e-05/0.1512, allocations: 11.95 kB / 0.5613 GB, free: 15.54 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003482/0.1515, allocations: 143.2 kB / 0.5614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.1515, allocations: 4 kB / 0.5614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.1515, allocations: 0 / 0.5614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.1515, allocations: 3.938 kB / 0.5614 GB, free: 15.38 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006334/0.1522, allocations: 423.3 kB / 0.5618 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1522, allocations: 0 / 0.5618 GB, free: 14.9 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.753e-05/0.1522, allocations: 19.98 kB / 0.5618 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.1523, allocations: 3.938 kB / 0.5618 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.1523, allocations: 4 kB / 0.5618 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.1523, allocations: 0 / 0.5618 GB, free: 14.88 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.1523, allocations: 3.984 kB / 0.5618 GB, free: 14.87 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003598/0.1526, allocations: 220.2 kB / 0.5621 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.189e-05/0.1527, allocations: 89 kB / 0.5621 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.453e-05/0.1527, allocations: 8 kB / 0.5621 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.884e-05/0.1528, allocations: 7.984 kB / 0.5622 GB, free: 14.52 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.556e-05/0.1528, allocations: 4 kB / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1529, allocations: 4 kB / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002263/0.1531, allocations: 179.5 kB / 0.5623 GB, free: 14.33 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1531, allocations: 0 / 0.5623 GB, free: 14.33 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002602/0.1533, allocations: 23.95 kB / 0.5624 GB, free: 14.31 MB / 430.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001856/0.1552, allocations: 462.6 kB / 0.5628 GB, free: 14.04 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002734/0.1555, allocations: 79.86 kB / 0.5629 GB, free: 13.96 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.1555, allocations: 4 kB / 0.5629 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001053/0.1556, allocations: 35.92 kB / 0.5629 GB, free: 13.92 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003544/0.1559, allocations: 30.77 kB / 0.5629 GB, free: 13.89 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005945/0.1565, allocations: 278.8 kB / 0.5632 GB, free: 13.59 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004234/0.157, allocations: 0.7119 MB / 0.5639 GB, free: 12.85 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 7.069e-05/0.157, allocations: 24.94 kB / 0.5639 GB, free: 12.82 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.787e-05/0.1571, allocations: 19.44 kB / 0.5639 GB, free: 12.8 MB / 430.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1571, allocations: 0 / 0.5639 GB, free: 12.8 MB / 430.1 MB Notification: Performance of Templates: time 0.005985/0.163, allocations: 1.414 MB / 0.5653 GB, free: 11.4 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test5.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.501524742692709]