Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.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.001404/0.001404, allocations: 116.8 kB / 19.17 MB, free: 3.871 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.001606/0.001606, allocations: 206.6 kB / 22.12 MB, free: 0.9219 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.531/1.531, allocations: 230.3 MB / 255.2 MB, free: 15.38 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.252/0.252, allocations: 46.91 MB / 358.2 MB, free: 10.46 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-beta.om/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.CombiTable1Dv.Test28,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-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test28,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-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002498/0.002498, allocations: 83.88 kB / 0.4925 GB, free: 7.684 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1434/0.1459, allocations: 65.99 MB / 0.557 GB, free: 5.559 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test28): time 0.003851/0.1497, allocations: 1.629 MB / 0.5586 GB, free: 3.914 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.151, allocations: 0.5489 MB / 0.5591 GB, free: 3.363 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.945e-05/0.1511, allocations: 4 kB / 0.5591 GB, free: 3.359 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003468/0.1514, allocations: 103.7 kB / 0.5592 GB, free: 3.258 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.1518, allocations: 123.6 kB / 0.5593 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003867/0.1522, allocations: 119.2 kB / 0.5595 GB, free: 3.023 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002214/0.1524, allocations: 87.75 kB / 0.5595 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.1525, allocations: 15.98 kB / 0.5596 GB, free: 2.922 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.1526, allocations: 47.78 kB / 0.5596 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001492/0.1528, allocations: 79.72 kB / 0.5597 GB, free: 2.797 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.917e-05/0.1528, allocations: 4 kB / 0.5597 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001252/0.1529, allocations: 51.97 kB / 0.5597 GB, free: 2.742 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.525e-05/0.153, allocations: 19.92 kB / 0.5597 GB, free: 2.723 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.224e-05/0.1531, allocations: 35.69 kB / 0.5598 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002614/0.1533, allocations: 119.4 kB / 0.5599 GB, free: 2.57 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1533, allocations: 0 / 0.5599 GB, free: 2.57 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.1533, allocations: 0 / 0.5599 GB, free: 2.57 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.893e-06/0.1533, allocations: 0 / 0.5599 GB, free: 2.57 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.0006154/0.1539, allocations: 438.5 kB / 0.5603 GB, free: 2.09 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.337e-05/0.154, allocations: 8.031 kB / 0.5603 GB, free: 2.082 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.833e-05/0.1541, allocations: 12.89 kB / 0.5603 GB, free: 2.07 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.1543, allocations: 212.9 kB / 0.5605 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.793e-06/0.1543, allocations: 384 / 0.5605 GB, free: 1.82 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.1543, allocations: 4.375 kB / 0.5605 GB, free: 1.816 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001659/0.1545, allocations: 54.23 kB / 0.5606 GB, free: 1.758 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.479e-05/0.1545, allocations: 4.141 kB / 0.5606 GB, free: 1.754 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/0.1545, allocations: 7.938 kB / 0.5606 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1545, allocations: 0 / 0.5606 GB, free: 1.746 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.1547, allocations: 31.91 kB / 0.5606 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000504/0.1552, allocations: 308.8 kB / 0.5609 GB, free: 1.363 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.1553, allocations: 46.55 kB / 0.561 GB, free: 1.309 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.499e-05/0.1553, allocations: 16.94 kB / 0.561 GB, free: 1.289 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1554, allocations: 3.938 kB / 0.561 GB, free: 1.285 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.339e-05/0.1554, allocations: 42.5 kB / 0.561 GB, free: 1.234 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.183e-06/0.1554, allocations: 4 kB / 0.561 GB, free: 1.23 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.001026/0.1564, allocations: 241.1 kB / 0.5613 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.702e-05/0.1565, allocations: 55.41 kB / 0.5613 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003024/0.1568, allocations: 262.1 kB / 0.5616 GB, free: 0.6562 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.033e-05/0.1568, allocations: 25.7 kB / 0.5616 GB, free: 0.625 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.737e-05/0.1569, allocations: 108.1 kB / 0.5617 GB, free: 0.5156 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.21e-05/0.1569, allocations: 27.75 kB / 0.5617 GB, free: 500 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.157, allocations: 25.7 kB / 0.5617 GB, free: 468 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.1572, allocations: 326.8 kB / 0.5621 GB, free: 132 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.201e-05/0.1572, allocations: 32.06 kB / 0.5621 GB, free: 100 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.081e-05/0.1573, allocations: 35.95 kB / 0.5621 GB, free: 64 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001905/0.1575, allocations: 72.91 kB / 0.5622 GB, free: 15.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1575, allocations: 4 kB / 0.5622 GB, free: 15.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002707/0.1578, allocations: 117.5 kB / 0.5623 GB, free: 15.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1578, allocations: 4 kB / 0.5623 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.1578, allocations: 0 / 0.5623 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.672e-05/0.1578, allocations: 3.938 kB / 0.5623 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.158, allocations: 19.98 kB / 0.5623 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.158, allocations: 4 kB / 0.5623 GB, free: 15.83 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.644e-05/0.158, allocations: 8 kB / 0.5623 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.158, allocations: 0 / 0.5623 GB, free: 15.82 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.0001197/0.1581, allocations: 137.8 kB / 0.5625 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.1582, allocations: 15.84 kB / 0.5625 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000331/0.1585, allocations: 127.3 kB / 0.5626 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.1585, allocations: 8 kB / 0.5626 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.1585, allocations: 0 / 0.5626 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1585, allocations: 0 / 0.5626 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006117/0.1591, allocations: 439.2 kB / 0.563 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.1591, allocations: 0 / 0.563 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.082e-05/0.1592, allocations: 19.92 kB / 0.5631 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.1592, allocations: 4 kB / 0.5631 GB, free: 15.01 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.1592, allocations: 3.938 kB / 0.5631 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.1592, allocations: 7.969 kB / 0.5631 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1592, allocations: 0 / 0.5631 GB, free: 15 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003056/0.1595, allocations: 216.3 kB / 0.5633 GB, free: 14.77 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.859e-05/0.1596, allocations: 85.06 kB / 0.5634 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.483e-05/0.1596, allocations: 7.922 kB / 0.5634 GB, free: 14.66 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.1597, allocations: 12 kB / 0.5634 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.1597, allocations: 7.984 kB / 0.5634 GB, free: 14.64 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-06/0.1597, allocations: 0 / 0.5634 GB, free: 14.64 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001941/0.1599, allocations: 188.4 kB / 0.5636 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1599, allocations: 0 / 0.5636 GB, free: 14.45 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002597/0.1602, allocations: 23.94 kB / 0.5636 GB, free: 14.43 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.001735/0.1619, allocations: 464.5 kB / 0.564 GB, free: 14.13 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002393/0.1622, allocations: 67.89 kB / 0.5641 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.1622, allocations: 0 / 0.5641 GB, free: 14.07 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001057/0.1623, allocations: 47.97 kB / 0.5641 GB, free: 14.02 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003894/0.1627, allocations: 19.73 kB / 0.5642 GB, free: 14 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006159/0.1633, allocations: 324.8 kB / 0.5645 GB, free: 13.65 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003811/0.1637, allocations: 0.7158 MB / 0.5652 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.168e-05/0.1637, allocations: 15.44 kB / 0.5652 GB, free: 12.89 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1637, allocations: 4 kB / 0.5652 GB, free: 12.89 MB / 430.1 MB Notification: Performance of Templates: time 0.003935/0.1676, allocations: 1.907 MB / 0.5671 GB, free: 10.97 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test28/Test28.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test28.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: 7.7416294290014775]