Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.001923/0.001923, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.00224/0.00224, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.643/1.643, allocations: 230.6 MB / 254.1 MB, free: 15.07 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.2467/0.2467, allocations: 46.92 MB / 357.1 MB, free: 10.33 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.CombiTable1Ds.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.CombiTable1Ds.Test5") translateModel(ModelicaTest.Tables.CombiTable1Ds.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.CombiTable1Ds.Test5") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002065/0.002065, allocations: 63.89 kB / 0.4914 GB, free: 7.473 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1466/0.1487, allocations: 66 MB / 0.5559 GB, free: 5.344 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test5): time 0.003344/0.152, allocations: 1.624 MB / 0.5575 GB, free: 3.707 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001234/0.1533, allocations: 0.5377 MB / 0.558 GB, free: 3.164 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.326e-05/0.1534, allocations: 4 kB / 0.558 GB, free: 3.16 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.1537, allocations: 95.67 kB / 0.5581 GB, free: 3.066 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003519/0.154, allocations: 107.6 kB / 0.5582 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002944/0.1543, allocations: 95.69 kB / 0.5583 GB, free: 2.867 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.000239/0.1546, allocations: 87.73 kB / 0.5584 GB, free: 2.781 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.1547, allocations: 12 kB / 0.5584 GB, free: 2.77 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.094e-05/0.1548, allocations: 35.84 kB / 0.5584 GB, free: 2.734 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.1549, allocations: 63.8 kB / 0.5585 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.533e-05/0.1549, allocations: 4 kB / 0.5585 GB, free: 2.668 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.155, allocations: 51.98 kB / 0.5585 GB, free: 2.617 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.053e-05/0.1551, allocations: 27.84 kB / 0.5586 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 5.056e-05/0.1551, allocations: 27.75 kB / 0.5586 GB, free: 2.562 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002233/0.1554, allocations: 115.4 kB / 0.5587 GB, free: 2.449 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.1554, allocations: 0 / 0.5587 GB, free: 2.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1554, allocations: 0 / 0.5587 GB, free: 2.449 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.402e-06/0.1554, allocations: 0 / 0.5587 GB, free: 2.449 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.0006362/0.156, allocations: 422.7 kB / 0.5591 GB, free: 1.988 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1561, allocations: 8.031 kB / 0.5591 GB, free: 1.98 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.05e-05/0.1561, allocations: 20.84 kB / 0.5591 GB, free: 1.961 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.1564, allocations: 212.1 kB / 0.5593 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-06/0.1564, allocations: 384 / 0.5593 GB, free: 1.715 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.477e-05/0.1564, allocations: 8.328 kB / 0.5593 GB, free: 1.707 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001726/0.1566, allocations: 53.81 kB / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1566, allocations: 0 / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.1566, allocations: 0 / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1566, allocations: 0 / 0.5594 GB, free: 1.648 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001021/0.1567, allocations: 27.97 kB / 0.5594 GB, free: 1.621 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004139/0.1571, allocations: 304.7 kB / 0.5597 GB, free: 1.273 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.1572, allocations: 38.56 kB / 0.5597 GB, free: 1.227 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.338e-05/0.1573, allocations: 20.94 kB / 0.5598 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.1573, allocations: 0 / 0.5598 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.345e-05/0.1573, allocations: 30.56 kB / 0.5598 GB, free: 1.164 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.1573, allocations: 4 kB / 0.5598 GB, free: 1.16 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009167/0.1583, allocations: 229.3 kB / 0.56 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.165e-05/0.1583, allocations: 59.34 kB / 0.5601 GB, free: 0.8594 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.1586, allocations: 235.4 kB / 0.5603 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.825e-05/0.1586, allocations: 33.64 kB / 0.5603 GB, free: 0.5781 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.559e-05/0.1587, allocations: 108.1 kB / 0.5604 GB, free: 480 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.35e-05/0.1587, allocations: 27.8 kB / 0.5604 GB, free: 452 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.1588, allocations: 21.72 kB / 0.5605 GB, free: 424 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001605/0.1589, allocations: 322.8 kB / 0.5608 GB, free: 92 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.685e-05/0.159, allocations: 27.97 kB / 0.5608 GB, free: 64 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.014e-05/0.1591, allocations: 23.98 kB / 0.5608 GB, free: 40 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001888/0.1593, allocations: 60.91 kB / 0.5609 GB, free: 15.97 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.238e-06/0.1593, allocations: 4 kB / 0.5609 GB, free: 15.97 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002261/0.1595, allocations: 105.4 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.91e-05/0.1595, allocations: 8 kB / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.1595, allocations: 0 / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1595, allocations: 0 / 0.561 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000114/0.1596, allocations: 15.98 kB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.1597, allocations: 4 kB / 0.561 GB, free: 15.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.801e-05/0.1597, allocations: 15.86 kB / 0.561 GB, free: 15.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.1597, allocations: 4 kB / 0.561 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.0001433/0.1599, allocations: 132 kB / 0.5612 GB, free: 15.68 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.639e-05/0.1599, allocations: 8.375 kB / 0.5612 GB, free: 15.67 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003326/0.1602, allocations: 130.9 kB / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1602, allocations: 0 / 0.5613 GB, free: 15.53 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.1602, allocations: 7.984 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.231e-06/0.1602, allocations: 3.938 kB / 0.5613 GB, free: 15.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000623/0.1609, allocations: 399.3 kB / 0.5617 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.1609, allocations: 8 kB / 0.5617 GB, free: 15.06 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.182e-05/0.1609, allocations: 15.98 kB / 0.5617 GB, free: 15.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.548e-06/0.1609, allocations: 3.938 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.161, allocations: 8 kB / 0.5617 GB, free: 15.04 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.161, allocations: 4.5 kB / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.161, allocations: 0 / 0.5617 GB, free: 15.03 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003124/0.1613, allocations: 208.2 kB / 0.5619 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.072e-05/0.1613, allocations: 89 kB / 0.562 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/0.1614, allocations: 3.984 kB / 0.562 GB, free: 14.7 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.1615, allocations: 8 kB / 0.562 GB, free: 14.69 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.842e-05/0.1615, allocations: 11.98 kB / 0.562 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.494e-06/0.1615, allocations: 4 kB / 0.562 GB, free: 14.68 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000173/0.1617, allocations: 171.5 kB / 0.5622 GB, free: 14.51 MB / 430.1 MB Notification: Performance of sort global known variables: time 8.1e-08/0.1617, allocations: 4 kB / 0.5622 GB, free: 14.5 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002521/0.1619, allocations: 23.94 kB / 0.5622 GB, free: 14.48 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.001777/0.1637, allocations: 469.1 kB / 0.5627 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002352/0.164, allocations: 59.91 kB / 0.5627 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.164, allocations: 0 / 0.5627 GB, free: 14.14 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.505e-05/0.1641, allocations: 39.91 kB / 0.5628 GB, free: 14.11 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003233/0.1644, allocations: 27.69 kB / 0.5628 GB, free: 14.08 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006464/0.165, allocations: 270.8 kB / 0.5631 GB, free: 13.79 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/0.1655, allocations: 0.7119 MB / 0.5637 GB, free: 13.05 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 5.119e-05/0.1655, allocations: 16.97 kB / 0.5638 GB, free: 13.03 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.895e-05/0.1656, allocations: 19.42 kB / 0.5638 GB, free: 13.01 MB / 430.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1656, allocations: 0 / 0.5638 GB, free: 13.01 MB / 430.1 MB Notification: Performance of Templates: time 0.005175/0.1707, allocations: 1.37 MB / 0.5651 GB, free: 11.64 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test5/Test5.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.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.420142222195864]