Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.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.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test6,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001468/0.001476, allocations: 93.86 kB / 16.98 MB, free: 5.938 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.001807/0.001807, allocations: 188.2 kB / 17.88 MB, free: 5.594 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.409/1.409, allocations: 223.2 MB / 241.8 MB, free: 14.64 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.2273/0.2273, allocations: 44.22 MB / 337.1 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003935/0.000394, allocations: 8 kB / 409.5 MB, free: 27.68 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1578, allocations: 61.93 MB / 471.4 MB, free: 13.72 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.001687/0.1596, allocations: 1.313 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006162/0.1602, allocations: 379.6 kB / 473.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.471e-05/0.1602, allocations: 0 / 473.1 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002116/0.1605, allocations: 83.8 kB / 473.2 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001281/0.1606, allocations: 59.86 kB / 473.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002474/0.1609, allocations: 102.8 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.161, allocations: 63.84 kB / 473.4 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1611, allocations: 19.98 kB / 473.5 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.334e-05/0.1612, allocations: 31.91 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.977e-05/0.1612, allocations: 39.84 kB / 473.5 MB, free: 11.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.1613, allocations: 4 kB / 473.5 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.29e-05/0.1613, allocations: 39.91 kB / 473.6 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.565e-05/0.1614, allocations: 23.86 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001127/0.1615, allocations: 41.64 kB / 473.6 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000128/0.1616, allocations: 84.12 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.775e-06/0.1616, allocations: 0 / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1617, allocations: 4 kB / 473.7 MB, free: 11.43 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1617, allocations: 0 / 473.7 MB, free: 11.43 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.00044/0.1621, allocations: 418.7 kB / 474.1 MB, free: 10.97 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.159e-05/0.1621, allocations: 8.031 kB / 474.1 MB, free: 10.96 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.879e-05/0.1622, allocations: 19.8 kB / 474.2 MB, free: 10.95 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.1624, allocations: 198.9 kB / 474.3 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.714e-06/0.1624, allocations: 4 kB / 474.4 MB, free: 10.71 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.312e-05/0.1624, allocations: 8 kB / 474.4 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1626, allocations: 77.56 kB / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1626, allocations: 0 / 474.4 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.478e-06/0.1626, allocations: 4 kB / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.1626, allocations: 0 / 474.4 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001107/0.1627, allocations: 47.95 kB / 474.5 MB, free: 10.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004535/0.1632, allocations: 348.6 kB / 474.8 MB, free: 10.18 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.1633, allocations: 74.55 kB / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.059e-05/0.1634, allocations: 0 / 474.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.928e-05/0.1634, allocations: 38.56 kB / 474.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 1.062e-06/0.1634, allocations: 0 / 474.9 MB, free: 10.05 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.0009732/0.1644, allocations: 357.6 kB / 475.3 MB, free: 9.691 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/0.1645, allocations: 51.41 kB / 475.3 MB, free: 9.629 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.1647, allocations: 243.1 kB / 475.6 MB, free: 9.379 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.1647, allocations: 25.7 kB / 475.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.26e-05/0.1648, allocations: 112.1 kB / 475.7 MB, free: 9.234 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.418e-05/0.1648, allocations: 43.36 kB / 475.8 MB, free: 9.191 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.809e-06/0.1648, allocations: 7.938 kB / 475.8 MB, free: 9.184 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.165, allocations: 326.8 kB / 476.1 MB, free: 8.855 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.9e-05/0.1651, allocations: 47.97 kB / 476.1 MB, free: 8.809 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.299e-05/0.1652, allocations: 47.97 kB / 476.2 MB, free: 8.762 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001378/0.1653, allocations: 54.98 kB / 476.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1653, allocations: 0 / 476.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000257/0.1656, allocations: 161.4 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.1656, allocations: 11.98 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.1656, allocations: 0 / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.1657, allocations: 0 / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001192/0.1658, allocations: 35.98 kB / 476.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.959e-06/0.1658, allocations: 240 / 476.4 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.452e-05/0.1658, allocations: 7.953 kB / 476.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.567e-06/0.1659, allocations: 4 kB / 476.4 MB, free: 8.488 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 (13): * Single equations (assignments): 13 * 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.0001138/0.166, allocations: 138.4 kB / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.379e-05/0.166, allocations: 11.81 kB / 476.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000344/0.1664, allocations: 199 kB / 476.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1664, allocations: 4 kB / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.1664, allocations: 0 / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1664, allocations: 0 / 476.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006297/0.167, allocations: 0.5107 MB / 477.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.167, allocations: 0 / 477.3 MB, free: 7.562 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.752e-05/0.1671, allocations: 27.92 kB / 477.3 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.1672, allocations: 4 kB / 477.3 MB, free: 7.531 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.1672, allocations: 7.984 kB / 477.3 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.302e-06/0.1672, allocations: 8 kB / 477.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1672, allocations: 0 / 477.3 MB, free: 7.516 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.1675, allocations: 269.9 kB / 477.6 MB, free: 7.227 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.1676, allocations: 100.9 kB / 477.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.857e-05/0.1676, allocations: 0 / 477.7 MB, free: 7.109 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.26e-05/0.1677, allocations: 8 kB / 477.7 MB, free: 7.102 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.741e-05/0.1677, allocations: 15.92 kB / 477.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.354e-06/0.1677, allocations: 4 kB / 477.7 MB, free: 7.082 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001282/0.1679, allocations: 171.2 kB / 477.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1679, allocations: 0 / 477.9 MB, free: 6.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002404/0.1681, allocations: 28 kB / 477.9 MB, free: 6.887 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 (13): * Single equations (assignments): 13 * 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.0008956/0.169, allocations: 448.9 kB / 478.4 MB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002642/0.1693, allocations: 127.8 kB / 478.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1693, allocations: 0 / 478.5 MB, free: 6.5 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001167/0.1694, allocations: 67.89 kB / 478.6 MB, free: 6.434 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.1697, allocations: 12.22 kB / 478.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005421/0.1702, allocations: 354.8 kB / 478.9 MB, free: 6.047 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.1706, allocations: 0.7316 MB / 479.6 MB, free: 5.289 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.721e-05/0.1707, allocations: 28.52 kB / 479.7 MB, free: 5.262 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.658e-05/0.1707, allocations: 19.44 kB / 479.7 MB, free: 5.242 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1707, allocations: 4 kB / 479.7 MB, free: 5.238 MB / 350.1 MB Notification: Performance of Templates: time 0.004049/0.1748, allocations: 1.462 MB / 481.2 MB, free: 3.785 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test6/Test6.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches