Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test27") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test27") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 109.4 kB / 17.21 MB, free: 6.27 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.001093/0.001093, allocations: 194 kB / 18.12 MB, free: 5.363 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.377/1.377, allocations: 222.9 MB / 241.8 MB, free: 15.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2031/0.2031, allocations: 44.17 MB / 336.1 MB, free: 3.027 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 65.31 kB / 407.7 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1463, allocations: 60.81 MB / 468.5 MB, free: 14.86 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test27): time 0.004075/0.1504, allocations: 1.625 MB / 470.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1516, allocations: 427.2 kB / 470.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.112e-05/0.1517, allocations: 0 / 470.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.1521, allocations: 119.7 kB / 470.7 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.1524, allocations: 75.83 kB / 470.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004505/0.1529, allocations: 103.1 kB / 470.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002184/0.1531, allocations: 87.8 kB / 470.9 MB, free: 12.42 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.1533, allocations: 16.12 kB / 471 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000108/0.1534, allocations: 47.81 kB / 471 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001882/0.1536, allocations: 83.78 kB / 471.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.1536, allocations: 4 kB / 471.1 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001016/0.1537, allocations: 35.98 kB / 471.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.925e-05/0.1538, allocations: 23.92 kB / 471.1 MB, free: 12.21 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.218e-05/0.1539, allocations: 39.67 kB / 471.2 MB, free: 12.18 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002612/0.1542, allocations: 111.9 kB / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.858e-06/0.1542, allocations: 0 / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.1542, allocations: 0 / 471.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.887e-06/0.1542, allocations: 0 / 471.3 MB, free: 12.07 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.0006419/0.1548, allocations: 434.7 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.622e-05/0.1549, allocations: 8.031 kB / 471.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.74e-05/0.155, allocations: 12.84 kB / 471.7 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002528/0.1552, allocations: 203.9 kB / 471.9 MB, free: 11.34 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.297e-05/0.1553, allocations: 4.375 kB / 471.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.401e-05/0.1553, allocations: 4.375 kB / 471.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.1555, allocations: 57.61 kB / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.1555, allocations: 0 / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.119e-05/0.1555, allocations: 0 / 472 MB, free: 11.27 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/0.1556, allocations: 4 kB / 472 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001453/0.1557, allocations: 39.84 kB / 472 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005549/0.1563, allocations: 308.7 kB / 472.3 MB, free: 10.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.1565, allocations: 46.55 kB / 472.4 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.178e-05/0.1565, allocations: 24.8 kB / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.274e-05/0.1566, allocations: 0 / 472.4 MB, free: 10.79 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.789e-05/0.1566, allocations: 34.56 kB / 472.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.513e-06/0.1566, allocations: 0 / 472.4 MB, free: 10.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.001258/0.1579, allocations: 245.1 kB / 472.7 MB, free: 10.5 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.1579, allocations: 51.41 kB / 472.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003602/0.1583, allocations: 274.2 kB / 473 MB, free: 10.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.117e-05/0.1584, allocations: 29.7 kB / 473 MB, free: 10.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.831e-05/0.1584, allocations: 112 kB / 473.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.261e-05/0.1585, allocations: 27.7 kB / 473.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.53e-05/0.1586, allocations: 21.72 kB / 473.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001209/0.1587, allocations: 330.8 kB / 473.5 MB, free: 9.625 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001332/0.1589, allocations: 31.97 kB / 473.5 MB, free: 9.594 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00011/0.159, allocations: 23.98 kB / 473.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002488/0.1593, allocations: 80.75 kB / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.213e-06/0.1593, allocations: 0 / 473.6 MB, free: 9.488 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0003548/0.1596, allocations: 113.5 kB / 473.8 MB, free: 9.371 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1597, allocations: 8 kB / 473.8 MB, free: 9.363 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.67e-06/0.1597, allocations: 3.938 kB / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.674e-05/0.1597, allocations: 0 / 473.8 MB, free: 9.359 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001579/0.1599, allocations: 19.98 kB / 473.8 MB, free: 9.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.1599, allocations: 3.938 kB / 473.8 MB, free: 9.336 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.945e-05/0.16, allocations: 7.984 kB / 473.8 MB, free: 9.328 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.053e-05/0.16, allocations: 0 / 473.8 MB, free: 9.328 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001543/0.1602, allocations: 138.3 kB / 473.9 MB, free: 9.184 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.596e-05/0.1603, allocations: 20.23 kB / 474 MB, free: 9.164 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000382/0.1607, allocations: 131.3 kB / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.174e-06/0.1607, allocations: 0 / 474.1 MB, free: 9.035 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.1607, allocations: 11.86 kB / 474.1 MB, free: 9.023 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.721e-06/0.1607, allocations: 3.984 kB / 474.1 MB, free: 9.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007752/0.1615, allocations: 423.4 kB / 474.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1615, allocations: 4 kB / 474.5 MB, free: 8.543 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.1616, allocations: 27.86 kB / 474.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.419e-06/0.1617, allocations: 0 / 474.5 MB, free: 8.516 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.836e-05/0.1617, allocations: 4 kB / 474.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.1617, allocations: 0 / 474.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.1617, allocations: 0 / 474.6 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004179/0.1621, allocations: 216.2 kB / 474.8 MB, free: 8.281 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.308e-05/0.1622, allocations: 92.86 kB / 474.9 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.246e-05/0.1622, allocations: 8 kB / 474.9 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.1624, allocations: 3.984 kB / 474.9 MB, free: 8.16 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.414e-05/0.1624, allocations: 11.98 kB / 474.9 MB, free: 8.148 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.096e-05/0.1625, allocations: 4 kB / 474.9 MB, free: 8.145 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002499/0.1627, allocations: 199.2 kB / 475.1 MB, free: 7.949 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.053e-06/0.1627, allocations: 4 kB / 475.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004512/0.1632, allocations: 23.94 kB / 475.1 MB, free: 7.922 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 (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.001577/0.1648, allocations: 464 kB / 475.6 MB, free: 7.645 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.000254/0.1651, allocations: 71.95 kB / 475.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1651, allocations: 0 / 475.6 MB, free: 7.574 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1652, allocations: 39.91 kB / 475.7 MB, free: 7.535 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003944/0.1656, allocations: 23.92 kB / 475.7 MB, free: 7.512 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000773/0.1664, allocations: 337.2 kB / 476 MB, free: 7.148 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000403/0.1668, allocations: 0.7238 MB / 476.7 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001071/0.1669, allocations: 20.95 kB / 476.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.635e-05/0.167, allocations: 11.44 kB / 476.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of SimCode: time 3.91e-07/0.167, allocations: 0 / 476.8 MB, free: 6.363 MB / 350.1 MB Notification: Performance of Templates: time 0.004307/0.1713, allocations: 1.345 MB / 478.1 MB, free: 5.031 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test27/Test27.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test27.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches