Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.001477/0.001477, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.001753/0.001753, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.531/1.531, allocations: 230.6 MB / 254.8 MB, free: 15.08 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.2378/0.2378, allocations: 46.92 MB / 357.8 MB, free: 10.32 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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002049/0.002049, allocations: 59.91 kB / 0.4921 GB, free: 7.461 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1478/0.1498, allocations: 66 MB / 0.5565 GB, free: 5.336 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test7): time 0.003464/0.1533, allocations: 1.606 MB / 0.5581 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001116/0.1544, allocations: 0.5416 MB / 0.5586 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.094e-05/0.1545, allocations: 7.938 kB / 0.5586 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002332/0.1547, allocations: 19.86 kB / 0.5587 GB, free: 3.145 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003445/0.1551, allocations: 79.61 kB / 0.5587 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.1554, allocations: 115.7 kB / 0.5588 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001644/0.1556, allocations: 63.78 kB / 0.5589 GB, free: 2.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001125/0.1557, allocations: 11.98 kB / 0.5589 GB, free: 2.879 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.66e-05/0.1558, allocations: 23.86 kB / 0.5589 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.1558, allocations: 23.86 kB / 0.559 GB, free: 2.832 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.1558, allocations: 4 kB / 0.559 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.929e-05/0.1559, allocations: 35.98 kB / 0.559 GB, free: 2.793 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.636e-05/0.156, allocations: 7.938 kB / 0.559 GB, free: 2.785 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.785e-05/0.156, allocations: 31.78 kB / 0.559 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.1562, allocations: 83.61 kB / 0.5591 GB, free: 2.672 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.1562, allocations: 4 kB / 0.5591 GB, free: 2.668 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1562, allocations: 0 / 0.5591 GB, free: 2.668 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.371e-06/0.1562, allocations: 0 / 0.5591 GB, free: 2.668 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.000527/0.1568, allocations: 390.9 kB / 0.5595 GB, free: 2.238 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.1568, allocations: 12.03 kB / 0.5595 GB, free: 2.227 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.717e-05/0.1569, allocations: 8.891 kB / 0.5595 GB, free: 2.219 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001998/0.1571, allocations: 192.2 kB / 0.5597 GB, free: 1.992 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.455e-05/0.1571, allocations: 8.375 kB / 0.5597 GB, free: 1.984 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.179e-05/0.1571, allocations: 4.375 kB / 0.5597 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000155/0.1573, allocations: 57.8 kB / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.1573, allocations: 0 / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.1573, allocations: 0 / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-06/0.1573, allocations: 0 / 0.5598 GB, free: 1.918 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001005/0.1574, allocations: 23.92 kB / 0.5598 GB, free: 1.895 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004151/0.1578, allocations: 288.8 kB / 0.5601 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002215/0.158, allocations: 50.55 kB / 0.5601 GB, free: 1.504 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.156e-05/0.1581, allocations: 16.94 kB / 0.5601 GB, free: 1.484 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.1581, allocations: 4 kB / 0.5601 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.229e-05/0.1581, allocations: 34.5 kB / 0.5602 GB, free: 1.438 MB / 414.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.1581, allocations: 0 / 0.5602 GB, free: 1.438 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005864/0.1587, allocations: 153.4 kB / 0.5603 GB, free: 1.281 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.1588, allocations: 59.34 kB / 0.5604 GB, free: 1.211 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000166/0.1589, allocations: 163.6 kB / 0.5605 GB, free: 1.043 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.56e-05/0.159, allocations: 25.7 kB / 0.5606 GB, free: 1.012 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.199e-05/0.159, allocations: 100.1 kB / 0.5606 GB, free: 0.9102 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.049e-05/0.159, allocations: 23.8 kB / 0.5607 GB, free: 0.8867 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.803e-05/0.1591, allocations: 17.72 kB / 0.5607 GB, free: 0.8633 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001357/0.1592, allocations: 322.8 kB / 0.561 GB, free: 0.5391 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.511e-05/0.1593, allocations: 19.98 kB / 0.561 GB, free: 0.5195 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.011e-05/0.1594, allocations: 23.92 kB / 0.561 GB, free: 0.4961 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001393/0.1595, allocations: 52.81 kB / 0.5611 GB, free: 452 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.1595, allocations: 0 / 0.5611 GB, free: 452 kB / 414.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002005/0.1597, allocations: 89.56 kB / 0.5612 GB, free: 356 kB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.907e-05/0.1597, allocations: 8 kB / 0.5612 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1597, allocations: 0 / 0.5612 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.1598, allocations: 0 / 0.5612 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.958e-05/0.1598, allocations: 15.98 kB / 0.5612 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.1598, allocations: 0 / 0.5612 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.5e-05/0.1599, allocations: 12.17 kB / 0.5612 GB, free: 320 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/0.1599, allocations: 4 kB / 0.5612 GB, free: 316 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.0001038/0.16, allocations: 116 kB / 0.5613 GB, free: 192 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.16, allocations: 11.95 kB / 0.5613 GB, free: 180 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002721/0.1603, allocations: 105.9 kB / 0.5614 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-06/0.1603, allocations: 0 / 0.5614 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1603, allocations: 0 / 0.5614 GB, free: 64 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/0.1603, allocations: 7.938 kB / 0.5614 GB, free: 56 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004663/0.1608, allocations: 350.5 kB / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.1608, allocations: 0 / 0.5618 GB, free: 15.66 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.796e-05/0.1608, allocations: 19.98 kB / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.1608, allocations: 0 / 0.5618 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-06/0.1608, allocations: 3.938 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.1608, allocations: 0 / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.1608, allocations: 3.938 kB / 0.5618 GB, free: 15.63 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.1611, allocations: 183.5 kB / 0.562 GB, free: 15.43 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.1611, allocations: 85.06 kB / 0.5621 GB, free: 15.33 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1612, allocations: 7.938 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.1612, allocations: 7.984 kB / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.037e-05/0.1613, allocations: 0 / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.967e-06/0.1613, allocations: 0 / 0.5621 GB, free: 15.32 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001015/0.1614, allocations: 134.4 kB / 0.5622 GB, free: 15.19 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1614, allocations: 0 / 0.5622 GB, free: 15.19 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1616, allocations: 19.94 kB / 0.5622 GB, free: 15.17 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.001494/0.1631, allocations: 411.7 kB / 0.5626 GB, free: 14.92 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.1633, allocations: 55.91 kB / 0.5627 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1633, allocations: 0 / 0.5627 GB, free: 14.87 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 7.616e-05/0.1634, allocations: 23.98 kB / 0.5627 GB, free: 14.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.1638, allocations: 15.98 kB / 0.5627 GB, free: 14.83 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005335/0.1643, allocations: 231.7 kB / 0.5629 GB, free: 14.57 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00032/0.1647, allocations: 0.6963 MB / 0.5636 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.717e-05/0.1647, allocations: 11.44 kB / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of SimCode: time 6.62e-07/0.1647, allocations: 3.938 kB / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of Templates: time 0.003482/0.1682, allocations: 1.479 MB / 0.5651 GB, free: 12.34 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test7/Test7.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test7.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.931552460009698]