Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.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.Test28,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.Test28") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test28,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.Test28") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009644/0.0009646, allocations: 96.41 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.0009573/0.0009574, allocations: 183.3 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.547/1.547, allocations: 223.2 MB / 241.8 MB, free: 368 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.2287/0.2287, allocations: 44.23 MB / 337.1 MB, free: 2.891 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 8 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1553, allocations: 61.91 MB / 471.4 MB, free: 13.76 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test28): time 0.002121/0.1575, allocations: 1.278 MB / 472.7 MB, free: 12.47 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006777/0.1582, allocations: 367.6 kB / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.964e-05/0.1583, allocations: 0 / 473.1 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000313/0.1586, allocations: 103.7 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001739/0.1588, allocations: 63.84 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002298/0.159, allocations: 75.77 kB / 473.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.1592, allocations: 59.88 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.1593, allocations: 12.17 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.774e-05/0.1593, allocations: 35.83 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001135/0.1595, allocations: 51.88 kB / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.415e-05/0.1595, allocations: 0 / 473.5 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.05e-05/0.1596, allocations: 27.94 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.1596, allocations: 23.91 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.957e-05/0.1597, allocations: 37.64 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001325/0.1598, allocations: 79.88 kB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1598, allocations: 0 / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.777e-06/0.1598, allocations: 7.938 kB / 473.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.766e-06/0.1598, allocations: 0 / 473.6 MB, free: 11.54 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.0007043/0.1606, allocations: 403.1 kB / 474 MB, free: 11.09 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.1606, allocations: 8.562 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.364e-05/0.1607, allocations: 7.906 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002066/0.1609, allocations: 206.8 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1609, allocations: 4 kB / 474.3 MB, free: 10.83 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.1609, allocations: 7.938 kB / 474.3 MB, free: 10.82 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1611, allocations: 61.62 kB / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.1611, allocations: 0 / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.1611, allocations: 0 / 474.3 MB, free: 10.76 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.1611, allocations: 3.938 kB / 474.3 MB, free: 10.75 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.233e-05/0.1612, allocations: 27.98 kB / 474.4 MB, free: 10.73 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003772/0.1616, allocations: 300.8 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001004/0.1617, allocations: 46.5 kB / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.215e-05/0.1617, allocations: 0 / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.1618, allocations: 34.56 kB / 474.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.1618, allocations: 4 kB / 474.7 MB, free: 10.28 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008653/0.1627, allocations: 257.1 kB / 475 MB, free: 10.02 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.498e-05/0.1627, allocations: 55.41 kB / 475 MB, free: 9.957 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002346/0.163, allocations: 230.7 kB / 475.3 MB, free: 9.715 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.163, allocations: 29.7 kB / 475.3 MB, free: 9.68 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.695e-05/0.1631, allocations: 116 kB / 475.4 MB, free: 9.562 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.1631, allocations: 27.64 kB / 475.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/0.1631, allocations: 0 / 475.4 MB, free: 9.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1632, allocations: 326.8 kB / 475.8 MB, free: 9.207 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.725e-05/0.1633, allocations: 27.98 kB / 475.8 MB, free: 9.18 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.409e-05/0.1634, allocations: 31.98 kB / 475.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.635e-05/0.1635, allocations: 27.98 kB / 475.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1635, allocations: 0 / 475.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002036/0.1637, allocations: 117.4 kB / 476 MB, free: 9 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.418e-05/0.1637, allocations: 10.19 kB / 476 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.1637, allocations: 11.92 kB / 476 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.1637, allocations: 0 / 476 MB, free: 8.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.69e-05/0.1638, allocations: 16 kB / 476 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.1639, allocations: 0 / 476 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.299e-05/0.1639, allocations: 7.984 kB / 476 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.1639, allocations: 4 kB / 476 MB, free: 8.953 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.0001151/0.164, allocations: 137.8 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.729e-05/0.1641, allocations: 15.84 kB / 476.2 MB, free: 8.793 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002521/0.1643, allocations: 130.9 kB / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1644, allocations: 0 / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.1644, allocations: 432 / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.1644, allocations: 0 / 476.3 MB, free: 8.664 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000492/0.1649, allocations: 419.7 kB / 476.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.1649, allocations: 0 / 476.7 MB, free: 8.195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.707e-05/0.165, allocations: 19.98 kB / 476.7 MB, free: 8.176 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.165, allocations: 4.031 kB / 476.7 MB, free: 8.172 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.679e-06/0.165, allocations: 3.984 kB / 476.7 MB, free: 8.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.165, allocations: 4.078 kB / 476.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/0.165, allocations: 7.922 kB / 476.7 MB, free: 8.156 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002514/0.1653, allocations: 225.9 kB / 477 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.392e-05/0.1653, allocations: 85.02 kB / 477 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/0.1653, allocations: 8 kB / 477 MB, free: 7.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.852e-05/0.1654, allocations: 7.984 kB / 477.1 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.587e-05/0.1655, allocations: 7.953 kB / 477.1 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.755e-06/0.1655, allocations: 7.984 kB / 477.1 MB, free: 7.777 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001606/0.1657, allocations: 192.3 kB / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1657, allocations: 0 / 477.3 MB, free: 7.59 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002417/0.1659, allocations: 20 kB / 477.3 MB, free: 7.57 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.00107/0.167, allocations: 468.3 kB / 477.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002252/0.1672, allocations: 63.97 kB / 477.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1672, allocations: 0 / 477.8 MB, free: 7.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.775e-05/0.1673, allocations: 43.91 kB / 477.8 MB, free: 7.184 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002554/0.1676, allocations: 16.25 kB / 477.9 MB, free: 7.168 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005186/0.1681, allocations: 306 kB / 478.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003103/0.1685, allocations: 0.716 MB / 478.9 MB, free: 6.098 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.593e-05/0.1685, allocations: 12.95 kB / 478.9 MB, free: 6.082 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.197e-05/0.1685, allocations: 15.44 kB / 478.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of SimCode: time 2.3e-07/0.1686, allocations: 0 / 478.9 MB, free: 6.066 MB / 350.1 MB Notification: Performance of Templates: time 0.003964/0.1725, allocations: 1.24 MB / 480.1 MB, free: 4.832 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test28/Test28.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test28.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches