Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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.001667/0.001667, allocations: 116.3 kB / 19.17 MB, free: 3.852 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.00166/0.00166, allocations: 205 kB / 22.12 MB, free: 0.9062 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.484/1.484, allocations: 230.3 MB / 255.2 MB, free: 15.18 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.248/0.248, allocations: 46.92 MB / 358.2 MB, free: 10.4 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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11") [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.002409/0.002409, allocations: 87.83 kB / 0.4925 GB, free: 7.645 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.144, allocations: 66 MB / 0.557 GB, free: 5.508 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.00354/0.1475, allocations: 1.606 MB / 0.5586 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001115/0.1486, allocations: 0.545 MB / 0.5591 GB, free: 3.34 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.332e-05/0.1487, allocations: 3.938 kB / 0.5591 GB, free: 3.336 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002333/0.1489, allocations: 23.84 kB / 0.5591 GB, free: 3.312 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000292/0.1492, allocations: 87.61 kB / 0.5592 GB, free: 3.227 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002967/0.1495, allocations: 110.7 kB / 0.5593 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.1496, allocations: 71.78 kB / 0.5594 GB, free: 3.051 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001028/0.1497, allocations: 11.98 kB / 0.5594 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.555e-05/0.1498, allocations: 23.92 kB / 0.5594 GB, free: 3.016 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.1499, allocations: 23.8 kB / 0.5594 GB, free: 2.992 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.1499, allocations: 4 kB / 0.5594 GB, free: 2.988 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.801e-05/0.15, allocations: 31.98 kB / 0.5595 GB, free: 2.957 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.635e-05/0.15, allocations: 19.92 kB / 0.5595 GB, free: 2.938 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.45e-05/0.1501, allocations: 27.8 kB / 0.5595 GB, free: 2.91 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001892/0.1503, allocations: 83.59 kB / 0.5596 GB, free: 2.828 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.135e-06/0.1503, allocations: 4 kB / 0.5596 GB, free: 2.824 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1503, allocations: 4 kB / 0.5596 GB, free: 2.82 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.185e-06/0.1503, allocations: 0 / 0.5596 GB, free: 2.82 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005317/0.1508, allocations: 390.9 kB / 0.56 GB, free: 2.387 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.1508, allocations: 8.031 kB / 0.56 GB, free: 2.379 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.963e-05/0.1509, allocations: 16.78 kB / 0.56 GB, free: 2.363 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002487/0.1511, allocations: 196.8 kB / 0.5602 GB, free: 2.133 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.1511, allocations: 8.312 kB / 0.5602 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.308e-05/0.1512, allocations: 384 / 0.5602 GB, free: 2.125 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.1513, allocations: 57.81 kB / 0.5602 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.1513, allocations: 0 / 0.5602 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1513, allocations: 0 / 0.5602 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.1514, allocations: 0 / 0.5602 GB, free: 2.062 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1515, allocations: 31.91 kB / 0.5603 GB, free: 2.031 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004475/0.1519, allocations: 284.8 kB / 0.5605 GB, free: 1.703 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002287/0.1521, allocations: 46.55 kB / 0.5606 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.69e-05/0.1522, allocations: 12.86 kB / 0.5606 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.1522, allocations: 0 / 0.5606 GB, free: 1.633 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.744e-05/0.1522, allocations: 34.66 kB / 0.5606 GB, free: 1.59 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.1522, allocations: 4 kB / 0.5606 GB, free: 1.586 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.000631/0.1529, allocations: 153.6 kB / 0.5608 GB, free: 1.43 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.296e-05/0.1529, allocations: 55.39 kB / 0.5608 GB, free: 1.363 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002106/0.1531, allocations: 178.5 kB / 0.561 GB, free: 1.172 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.927e-05/0.1531, allocations: 25.7 kB / 0.561 GB, free: 1.141 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.677e-05/0.1532, allocations: 100.1 kB / 0.5611 GB, free: 1.039 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.675e-05/0.1532, allocations: 11.91 kB / 0.5611 GB, free: 1.027 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.004e-05/0.1533, allocations: 21.66 kB / 0.5612 GB, free: 1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.1535, allocations: 326.8 kB / 0.5615 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.313e-05/0.1536, allocations: 23.98 kB / 0.5615 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.912e-05/0.1536, allocations: 20.17 kB / 0.5615 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001659/0.1538, allocations: 60.81 kB / 0.5616 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.1538, allocations: 0 / 0.5616 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002117/0.154, allocations: 81.58 kB / 0.5617 GB, free: 492 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.324e-05/0.154, allocations: 8 kB / 0.5617 GB, free: 484 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.154, allocations: 4 kB / 0.5617 GB, free: 480 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.1541, allocations: 3.984 kB / 0.5617 GB, free: 476 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.1541, allocations: 19.92 kB / 0.5617 GB, free: 456 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.1541, allocations: 4 kB / 0.5617 GB, free: 452 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.405e-05/0.1542, allocations: 3.984 kB / 0.5617 GB, free: 448 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.1542, allocations: 4 kB / 0.5617 GB, free: 444 kB / 414.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 (5): * Single equations (assignments): 5 * 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.0001079/0.1543, allocations: 121.8 kB / 0.5618 GB, free: 312 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.678e-05/0.1543, allocations: 7.953 kB / 0.5618 GB, free: 304 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002613/0.1546, allocations: 101.9 kB / 0.5619 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.1546, allocations: 4 kB / 0.5619 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.1546, allocations: 0 / 0.5619 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.876e-06/0.1546, allocations: 0 / 0.5619 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005139/0.1551, allocations: 362.4 kB / 0.5623 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.1551, allocations: 0 / 0.5623 GB, free: 15.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.986e-05/0.1552, allocations: 15.98 kB / 0.5623 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.405e-06/0.1552, allocations: 4 kB / 0.5623 GB, free: 15.76 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.33e-05/0.1552, allocations: 4.188 kB / 0.5623 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.1552, allocations: 7.938 kB / 0.5623 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.1552, allocations: 0 / 0.5623 GB, free: 15.75 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.1555, allocations: 183.4 kB / 0.5625 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.718e-05/0.1556, allocations: 89 kB / 0.5626 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.604e-05/0.1556, allocations: 3.938 kB / 0.5626 GB, free: 15.44 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.368e-05/0.1556, allocations: 11.94 kB / 0.5626 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.1557, allocations: 8 kB / 0.5626 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1557, allocations: 3.984 kB / 0.5626 GB, free: 15.42 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001298/0.1558, allocations: 135.9 kB / 0.5627 GB, free: 15.29 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1558, allocations: 0 / 0.5627 GB, free: 15.29 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.1561, allocations: 15.94 kB / 0.5627 GB, free: 15.27 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001499/0.1576, allocations: 398.1 kB / 0.5631 GB, free: 15.01 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002416/0.1578, allocations: 59.89 kB / 0.5632 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.1578, allocations: 0 / 0.5632 GB, free: 14.95 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.159e-05/0.1579, allocations: 23.98 kB / 0.5632 GB, free: 14.93 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003576/0.1583, allocations: 21.11 kB / 0.5632 GB, free: 14.91 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000547/0.1588, allocations: 227.6 kB / 0.5634 GB, free: 14.66 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.1592, allocations: 0.7002 MB / 0.5641 GB, free: 13.93 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.055e-05/0.1592, allocations: 19.42 kB / 0.5641 GB, free: 13.91 MB / 430.1 MB Notification: Performance of SimCode: time 3e-07/0.1592, allocations: 0 / 0.5641 GB, free: 13.91 MB / 430.1 MB Notification: Performance of Templates: time 0.003578/0.1628, allocations: 1.505 MB / 0.5656 GB, free: 12.4 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTable1Dv.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: 7.6304188369977055]