Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.001969/0.001969, allocations: 123.4 kB / 17.79 MB, free: 5.227 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.002019/0.002019, allocations: 208.3 kB / 20.75 MB, free: 2.273 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.565/1.565, allocations: 230.6 MB / 254.1 MB, free: 15.11 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.2429/0.2429, allocations: 46.93 MB / 357.1 MB, free: 10.34 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.Test27,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.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,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.Test27") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002218/0.002218, allocations: 63.91 kB / 0.4914 GB, free: 7.48 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1472/0.1494, allocations: 66 MB / 0.5559 GB, free: 5.355 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.003077/0.1525, allocations: 1.624 MB / 0.5575 GB, free: 3.719 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001055/0.1535, allocations: 0.5377 MB / 0.558 GB, free: 3.176 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.1536, allocations: 4 kB / 0.558 GB, free: 3.172 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003364/0.1539, allocations: 135.5 kB / 0.5581 GB, free: 3.039 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003034/0.1542, allocations: 123.6 kB / 0.5582 GB, free: 2.918 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.1545, allocations: 91.7 kB / 0.5583 GB, free: 2.828 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001779/0.1546, allocations: 99.72 kB / 0.5584 GB, free: 2.73 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001033/0.1547, allocations: 12 kB / 0.5584 GB, free: 2.719 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.034e-05/0.1548, allocations: 47.81 kB / 0.5585 GB, free: 2.672 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.155, allocations: 95.77 kB / 0.5586 GB, free: 2.578 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.616e-05/0.155, allocations: 4 kB / 0.5586 GB, free: 2.574 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.975e-05/0.1551, allocations: 47.97 kB / 0.5586 GB, free: 2.527 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.902e-05/0.1551, allocations: 35.84 kB / 0.5587 GB, free: 2.492 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 4.309e-05/0.1552, allocations: 31.69 kB / 0.5587 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002142/0.1554, allocations: 123.4 kB / 0.5588 GB, free: 2.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.1554, allocations: 0 / 0.5588 GB, free: 2.34 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1554, allocations: 4 kB / 0.5588 GB, free: 2.336 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.27e-06/0.1554, allocations: 0 / 0.5588 GB, free: 2.336 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.0005323/0.1559, allocations: 442.5 kB / 0.5592 GB, free: 1.855 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.292e-05/0.156, allocations: 12.03 kB / 0.5592 GB, free: 1.844 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.156, allocations: 12.84 kB / 0.5593 GB, free: 1.832 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.1562, allocations: 219.8 kB / 0.5595 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.827e-06/0.1562, allocations: 384 / 0.5595 GB, free: 1.578 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.986e-05/0.1563, allocations: 4.375 kB / 0.5595 GB, free: 1.574 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.1564, allocations: 57.8 kB / 0.5595 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1564, allocations: 0 / 0.5595 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.506e-06/0.1564, allocations: 0 / 0.5595 GB, free: 1.512 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1564, allocations: 4 kB / 0.5595 GB, free: 1.508 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001054/0.1566, allocations: 27.97 kB / 0.5596 GB, free: 1.48 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004079/0.157, allocations: 304.8 kB / 0.5598 GB, free: 1.133 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001107/0.1571, allocations: 42.56 kB / 0.5599 GB, free: 1.082 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.892e-05/0.1571, allocations: 12.94 kB / 0.5599 GB, free: 1.066 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.312e-05/0.1571, allocations: 11.94 kB / 0.5599 GB, free: 1.055 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1572, allocations: 34.56 kB / 0.5599 GB, free: 1.012 MB / 414.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1572, allocations: 0 / 0.5599 GB, free: 1.012 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009156/0.1581, allocations: 241.1 kB / 0.5602 GB, free: 0.7695 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.1581, allocations: 55.34 kB / 0.5602 GB, free: 0.7031 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003144/0.1585, allocations: 283.7 kB / 0.5605 GB, free: 420 kB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.237e-05/0.1585, allocations: 29.7 kB / 0.5605 GB, free: 384 kB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.333e-05/0.1586, allocations: 112.1 kB / 0.5606 GB, free: 268 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.782e-05/0.1586, allocations: 31.81 kB / 0.5607 GB, free: 236 kB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.544e-05/0.1587, allocations: 21.7 kB / 0.5607 GB, free: 208 kB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.1588, allocations: 326.8 kB / 0.561 GB, free: 15.88 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.287e-05/0.1589, allocations: 27.98 kB / 0.561 GB, free: 15.85 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.126e-05/0.159, allocations: 19.98 kB / 0.561 GB, free: 15.83 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001687/0.1592, allocations: 64.77 kB / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1592, allocations: 0 / 0.5611 GB, free: 15.76 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002285/0.1594, allocations: 109.5 kB / 0.5612 GB, free: 15.65 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.1594, allocations: 4 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.1594, allocations: 8 kB / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.1594, allocations: 0 / 0.5612 GB, free: 15.64 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.935e-05/0.1595, allocations: 15.98 kB / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.1595, allocations: 0 / 0.5612 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.998e-05/0.1596, allocations: 7.938 kB / 0.5612 GB, free: 15.61 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.1596, allocations: 11.98 kB / 0.5613 GB, free: 15.6 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.0001418/0.1597, allocations: 132 kB / 0.5614 GB, free: 15.46 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.881e-05/0.1598, allocations: 11.91 kB / 0.5614 GB, free: 15.45 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.1601, allocations: 135 kB / 0.5615 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1601, allocations: 0 / 0.5615 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.1601, allocations: 4 kB / 0.5615 GB, free: 15.31 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.892e-05/0.1601, allocations: 3.938 kB / 0.5615 GB, free: 15.3 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000586/0.1607, allocations: 407.3 kB / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1607, allocations: 0 / 0.5619 GB, free: 14.85 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.353e-05/0.1608, allocations: 23.95 kB / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/0.1608, allocations: 7.938 kB / 0.5619 GB, free: 14.82 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-06/0.1608, allocations: 4 kB / 0.5619 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.546e-06/0.1608, allocations: 4.453 kB / 0.562 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1608, allocations: 0 / 0.562 GB, free: 14.81 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.1611, allocations: 220.2 kB / 0.5622 GB, free: 14.57 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.1612, allocations: 92.95 kB / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1612, allocations: 0 / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.747e-05/0.1612, allocations: 4 kB / 0.5623 GB, free: 14.46 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.789e-05/0.1613, allocations: 11.98 kB / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1613, allocations: 0 / 0.5623 GB, free: 14.45 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000205/0.1615, allocations: 205.5 kB / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1615, allocations: 0 / 0.5625 GB, free: 14.25 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002693/0.1618, allocations: 27.92 kB / 0.5625 GB, free: 14.22 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.001774/0.1635, allocations: 466.7 kB / 0.5629 GB, free: 13.95 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002326/0.1638, allocations: 67.84 kB / 0.563 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1638, allocations: 0 / 0.563 GB, free: 13.88 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 9.701e-05/0.1639, allocations: 39.91 kB / 0.563 GB, free: 13.84 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1642, allocations: 19.77 kB / 0.5631 GB, free: 13.82 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006465/0.1649, allocations: 300.1 kB / 0.5633 GB, free: 13.5 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004446/0.1653, allocations: 0.7275 MB / 0.5641 GB, free: 12.75 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 6.389e-05/0.1654, allocations: 12.97 kB / 0.5641 GB, free: 12.73 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.1654, allocations: 11.44 kB / 0.5641 GB, free: 12.72 MB / 430.1 MB Notification: Performance of SimCode: time 4.1e-07/0.1654, allocations: 0 / 0.5641 GB, free: 12.72 MB / 430.1 MB Notification: Performance of Templates: time 0.004839/0.1702, allocations: 1.407 MB / 0.5655 GB, free: 11.32 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Ds.Test27.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.4522688165307045]