Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test27,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009827/0.0009825, allocations: 97.25 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008988/0.000899, allocations: 180 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.425/1.425, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.223/0.223, allocations: 44.24 MB / 337.1 MB, free: 2.906 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004403/0.0004403, allocations: 8 kB / 409.5 MB, free: 27.73 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1531, allocations: 61.93 MB / 471.5 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test27): time 0.00262/0.1558, allocations: 1.27 MB / 472.7 MB, free: 12.48 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008877/0.1568, allocations: 367.6 kB / 473.1 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.825e-05/0.1568, allocations: 4 kB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003638/0.1572, allocations: 119.7 kB / 473.2 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001993/0.1574, allocations: 71.84 kB / 473.3 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002811/0.1577, allocations: 79.77 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001959/0.1579, allocations: 55.92 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.1581, allocations: 12.17 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.229e-05/0.1582, allocations: 39.84 kB / 473.5 MB, free: 11.74 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001459/0.1583, allocations: 59.86 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.565e-05/0.1584, allocations: 0 / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001054/0.1585, allocations: 31.92 kB / 473.6 MB, free: 11.65 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.983e-05/0.1585, allocations: 31.84 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.966e-05/0.1586, allocations: 41.64 kB / 473.6 MB, free: 11.57 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001878/0.1588, allocations: 83.86 kB / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1588, allocations: 0 / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1588, allocations: 0 / 473.7 MB, free: 11.49 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.1588, allocations: 0 / 473.7 MB, free: 11.49 MB / 350.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.0005956/0.1594, allocations: 407.1 kB / 474.1 MB, free: 11.05 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/0.1595, allocations: 12.56 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.774e-05/0.1595, allocations: 15.75 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002606/0.1598, allocations: 198.8 kB / 474.3 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1598, allocations: 4 kB / 474.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.303e-05/0.1599, allocations: 7.938 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.16, allocations: 65.55 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.16, allocations: 3.906 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.1601, allocations: 0 / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.1601, allocations: 0 / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.1602, allocations: 35.97 kB / 474.4 MB, free: 10.66 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004596/0.1607, allocations: 292.8 kB / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/0.1608, allocations: 50.5 kB / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.1608, allocations: 0 / 474.8 MB, free: 10.27 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.1608, allocations: 34.56 kB / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1608, allocations: 0 / 474.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001017/0.1619, allocations: 257 kB / 475.1 MB, free: 9.969 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.1619, allocations: 51.41 kB / 475.1 MB, free: 9.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003189/0.1623, allocations: 270.2 kB / 475.4 MB, free: 9.633 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1623, allocations: 29.7 kB / 475.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.1624, allocations: 112.1 kB / 475.5 MB, free: 9.484 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.428e-05/0.1625, allocations: 27.7 kB / 475.5 MB, free: 9.457 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-06/0.1625, allocations: 4 kB / 475.5 MB, free: 9.453 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001962/0.1627, allocations: 330.8 kB / 475.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.1628, allocations: 23.98 kB / 475.9 MB, free: 9.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.789e-05/0.1628, allocations: 35.92 kB / 475.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.054e-05/0.1629, allocations: 31.98 kB / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.1629, allocations: 0 / 476 MB, free: 9.031 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002495/0.1632, allocations: 113.5 kB / 476.1 MB, free: 8.914 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.1632, allocations: 4 kB / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.695e-06/0.1632, allocations: 432 / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1633, allocations: 0 / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001195/0.1634, allocations: 19.98 kB / 476.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1634, allocations: 0 / 476.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.589e-05/0.1635, allocations: 12 kB / 476.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.1635, allocations: 0 / 476.1 MB, free: 8.879 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001397/0.1636, allocations: 145.7 kB / 476.2 MB, free: 8.727 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.1637, allocations: 15.75 kB / 476.3 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002802/0.1639, allocations: 135.3 kB / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/0.164, allocations: 0 / 476.4 MB, free: 8.578 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.164, allocations: 4 kB / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.171e-06/0.164, allocations: 7.984 kB / 476.4 MB, free: 8.566 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005694/0.1646, allocations: 419.2 kB / 476.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1646, allocations: 0 / 476.8 MB, free: 8.098 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.079e-05/0.1647, allocations: 27.91 kB / 476.8 MB, free: 8.07 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.526e-06/0.1647, allocations: 3.984 kB / 476.8 MB, free: 8.066 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.1647, allocations: 4 kB / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.1647, allocations: 0 / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.1647, allocations: 0 / 476.9 MB, free: 8.062 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.165, allocations: 233.8 kB / 477.1 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.836e-05/0.165, allocations: 85.02 kB / 477.2 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.993e-05/0.1651, allocations: 4 kB / 477.2 MB, free: 7.703 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.1651, allocations: 11.98 kB / 477.2 MB, free: 7.691 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.25e-05/0.1652, allocations: 7.953 kB / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1652, allocations: 0 / 477.2 MB, free: 7.684 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001725/0.1654, allocations: 207.2 kB / 477.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1654, allocations: 0 / 477.4 MB, free: 7.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1657, allocations: 20 kB / 477.4 MB, free: 7.461 MB / 350.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001056/0.1667, allocations: 461.2 kB / 477.9 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002325/0.167, allocations: 67.95 kB / 477.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.167, allocations: 0 / 477.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000156/0.1671, allocations: 47.98 kB / 478 MB, free: 7.07 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.1674, allocations: 12.17 kB / 478 MB, free: 7.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005849/0.168, allocations: 314.6 kB / 478.3 MB, free: 6.723 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003276/0.1684, allocations: 0.7199 MB / 479 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.959e-05/0.1684, allocations: 8.969 kB / 479 MB, free: 5.961 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.225e-05/0.1685, allocations: 23.44 kB / 479 MB, free: 5.941 MB / 350.1 MB Notification: Performance of SimCode: time 6.92e-07/0.1685, allocations: 0 / 479 MB, free: 5.941 MB / 350.1 MB Notification: Performance of Templates: time 0.00433/0.1728, allocations: 1.253 MB / 480.3 MB, free: 4.691 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test27/Test27.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches