Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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.001911/0.001911, allocations: 112.5 kB / 18.45 MB, free: 4.605 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.00258/0.00258, allocations: 207.3 kB / 21.41 MB, free: 1.648 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.544/1.544, allocations: 230.6 MB / 254.8 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.2422/0.2422, allocations: 46.92 MB / 357.8 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.CombiTable1Ds.Test30,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.Test30") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test30,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.Test30") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 71.88 kB / 0.4921 GB, free: 7.422 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1468, allocations: 65.99 MB / 0.5565 GB, free: 5.305 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test30): time 0.003561/0.1504, allocations: 1.624 MB / 0.5581 GB, free: 3.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1516, allocations: 0.5416 MB / 0.5587 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.679e-05/0.1517, allocations: 0 / 0.5587 GB, free: 3.121 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002732/0.1519, allocations: 75.77 kB / 0.5587 GB, free: 3.047 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003731/0.1523, allocations: 107.6 kB / 0.5588 GB, free: 2.941 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003369/0.1526, allocations: 91.72 kB / 0.5589 GB, free: 2.852 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002057/0.1528, allocations: 87.73 kB / 0.559 GB, free: 2.766 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001139/0.153, allocations: 12 kB / 0.559 GB, free: 2.754 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.713e-05/0.153, allocations: 39.83 kB / 0.5591 GB, free: 2.715 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.1532, allocations: 59.8 kB / 0.5591 GB, free: 2.656 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.813e-05/0.1532, allocations: 4 kB / 0.5591 GB, free: 2.652 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001131/0.1533, allocations: 43.98 kB / 0.5592 GB, free: 2.609 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.225e-05/0.1533, allocations: 19.92 kB / 0.5592 GB, free: 2.59 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.612e-05/0.1534, allocations: 31.75 kB / 0.5592 GB, free: 2.559 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002075/0.1536, allocations: 103.5 kB / 0.5593 GB, free: 2.457 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.1536, allocations: 7.984 kB / 0.5593 GB, free: 2.449 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.1536, allocations: 3.938 kB / 0.5593 GB, free: 2.445 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.653e-06/0.1536, allocations: 0 / 0.5593 GB, free: 2.445 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.0005779/0.1542, allocations: 422.7 kB / 0.5597 GB, free: 1.984 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.575e-05/0.1542, allocations: 8.031 kB / 0.5597 GB, free: 1.977 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.11e-05/0.1543, allocations: 12.84 kB / 0.5597 GB, free: 1.965 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.1545, allocations: 203.2 kB / 0.5599 GB, free: 1.727 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.734e-06/0.1545, allocations: 4.375 kB / 0.5599 GB, free: 1.723 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.207e-05/0.1546, allocations: 4.375 kB / 0.5599 GB, free: 1.719 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001582/0.1547, allocations: 61.73 kB / 0.56 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.1547, allocations: 0 / 0.56 GB, free: 1.652 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.225e-05/0.1547, allocations: 8 kB / 0.56 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.697e-06/0.1548, allocations: 0 / 0.56 GB, free: 1.645 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001008/0.1549, allocations: 27.97 kB / 0.56 GB, free: 1.617 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004035/0.1553, allocations: 292.8 kB / 0.5603 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.1554, allocations: 50.5 kB / 0.5604 GB, free: 1.223 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.021e-05/0.1554, allocations: 16.84 kB / 0.5604 GB, free: 1.203 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1554, allocations: 4.078 kB / 0.5604 GB, free: 1.199 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.874e-05/0.1555, allocations: 34.56 kB / 0.5604 GB, free: 1.156 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1555, allocations: 0 / 0.5604 GB, free: 1.156 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009146/0.1564, allocations: 217.3 kB / 0.5606 GB, free: 0.9375 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.1564, allocations: 55.41 kB / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000231/0.1567, allocations: 218.2 kB / 0.5609 GB, free: 0.6484 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.797e-05/0.1567, allocations: 25.7 kB / 0.5609 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.373e-05/0.1568, allocations: 108.1 kB / 0.561 GB, free: 0.5078 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.373e-05/0.1568, allocations: 27.73 kB / 0.561 GB, free: 492 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.667e-05/0.1568, allocations: 37.59 kB / 0.5611 GB, free: 448 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001423/0.157, allocations: 322.8 kB / 0.5614 GB, free: 116 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.143e-05/0.1571, allocations: 19.98 kB / 0.5614 GB, free: 96 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.187e-05/0.1571, allocations: 36.03 kB / 0.5614 GB, free: 60 kB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001527/0.1573, allocations: 53.08 kB / 0.5615 GB, free: 4 kB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.1573, allocations: 4 kB / 0.5615 GB, free: 0 / 414.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002277/0.1575, allocations: 102.1 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.1575, allocations: 5.875 kB / 0.5616 GB, free: 15.89 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.857e-06/0.1575, allocations: 4 kB / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.1576, allocations: 0 / 0.5616 GB, free: 15.88 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.1577, allocations: 19.92 kB / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.1577, allocations: 0 / 0.5616 GB, free: 15.86 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.209e-05/0.1577, allocations: 15.92 kB / 0.5616 GB, free: 15.85 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.378e-06/0.1577, allocations: 4 kB / 0.5616 GB, free: 15.84 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.0001138/0.1578, allocations: 124 kB / 0.5618 GB, free: 15.71 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.802e-05/0.1579, allocations: 23.91 kB / 0.5618 GB, free: 15.69 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002976/0.1582, allocations: 111 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1582, allocations: 3.938 kB / 0.5619 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1582, allocations: 3.938 kB / 0.5619 GB, free: 15.56 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.857e-06/0.1582, allocations: 7.922 kB / 0.5619 GB, free: 15.55 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000572/0.1588, allocations: 407.3 kB / 0.5623 GB, free: 15.1 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.1588, allocations: 4 kB / 0.5623 GB, free: 15.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.1589, allocations: 19.98 kB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1589, allocations: 3.938 kB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.417e-06/0.1589, allocations: 4 kB / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.1589, allocations: 0 / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1589, allocations: 0 / 0.5623 GB, free: 15.07 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000287/0.1592, allocations: 208.3 kB / 0.5625 GB, free: 14.84 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.1592, allocations: 92.95 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.1592, allocations: 0 / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.1593, allocations: 8 kB / 0.5626 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.253e-05/0.1593, allocations: 7.984 kB / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.1594, allocations: 0 / 0.5626 GB, free: 14.72 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001504/0.1595, allocations: 168.2 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1595, allocations: 4 kB / 0.5628 GB, free: 14.55 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002514/0.1598, allocations: 27.86 kB / 0.5628 GB, free: 14.52 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.001693/0.1614, allocations: 457.7 kB / 0.5632 GB, free: 14.26 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002459/0.1617, allocations: 67.88 kB / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.422e-06/0.1617, allocations: 0 / 0.5633 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.814e-05/0.1618, allocations: 31.97 kB / 0.5633 GB, free: 14.16 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003702/0.1622, allocations: 16.94 kB / 0.5634 GB, free: 14.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005574/0.1627, allocations: 292.3 kB / 0.5636 GB, free: 13.83 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003413/0.1631, allocations: 0.708 MB / 0.5643 GB, free: 13.09 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.936e-05/0.1631, allocations: 23.38 kB / 0.5643 GB, free: 13.07 MB / 430.1 MB Notification: Performance of SimCode: time 5.81e-07/0.1631, allocations: 0 / 0.5643 GB, free: 13.07 MB / 430.1 MB Notification: Performance of Templates: time 0.004018/0.1671, allocations: 1.766 MB / 0.5661 GB, free: 11.3 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test30/Test30.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test30.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: 8.072735850990284]