Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.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.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001398/0.001398, allocations: 108.7 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.001234/0.001234, 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.409/1.409, allocations: 222.9 MB / 241.8 MB, free: 13.84 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.2165/0.2165, allocations: 44.17 MB / 336.1 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001257, allocations: 64.45 kB / 407.7 MB, free: 27.69 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1459, allocations: 60.83 MB / 468.5 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test2): time 0.003954/0.1499, allocations: 1.687 MB / 470.2 MB, free: 13.13 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001003/0.1509, allocations: 451.2 kB / 470.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.785e-05/0.151, allocations: 0 / 470.6 MB, free: 12.68 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007665/0.1518, allocations: 459.1 kB / 471.1 MB, free: 12.23 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002967/0.1521, allocations: 239.5 kB / 471.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.1525, allocations: 167.2 kB / 471.5 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000196/0.1527, allocations: 163.7 kB / 471.7 MB, free: 11.68 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.1528, allocations: 15.98 kB / 471.7 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.1529, allocations: 115.7 kB / 471.8 MB, free: 11.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.1531, allocations: 199.6 kB / 472 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.203e-05/0.1532, allocations: 4 kB / 472 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001169/0.1533, allocations: 47.92 kB / 472 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001041/0.1534, allocations: 79.69 kB / 472.1 MB, free: 11.23 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 8.698e-05/0.1535, allocations: 115 kB / 472.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002665/0.1538, allocations: 255.3 kB / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1538, allocations: 0 / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.01e-07/0.1538, allocations: 0 / 472.5 MB, free: 10.86 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.34e-06/0.1538, allocations: 4 kB / 472.5 MB, free: 10.86 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007236/0.1545, allocations: 0.6336 MB / 473.1 MB, free: 10.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.1546, allocations: 12.03 kB / 473.1 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.287e-05/0.1547, allocations: 40.38 kB / 473.2 MB, free: 10.12 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002793/0.1549, allocations: 296.2 kB / 473.4 MB, free: 9.797 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.297e-06/0.155, allocations: 4.359 kB / 473.5 MB, free: 9.793 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.744e-05/0.155, allocations: 8.375 kB / 473.5 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001599/0.1552, allocations: 57.81 kB / 473.5 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1552, allocations: 7.922 kB / 473.5 MB, free: 9.715 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.179e-05/0.1552, allocations: 4 kB / 473.5 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.1552, allocations: 7.938 kB / 473.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001027/0.1553, allocations: 27.98 kB / 473.6 MB, free: 9.676 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005184/0.1559, allocations: 408.6 kB / 474 MB, free: 9.227 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.156, allocations: 50.59 kB / 474 MB, free: 9.168 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.175e-05/0.156, allocations: 20.94 kB / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.1561, allocations: 0 / 474 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.1561, allocations: 30.56 kB / 474.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1561, allocations: 0 / 474.1 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0009857/0.1571, allocations: 324.2 kB / 474.4 MB, free: 8.781 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.573e-05/0.1572, allocations: 63.34 kB / 474.4 MB, free: 8.707 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008244/0.158, allocations: 0.8535 MB / 475.3 MB, free: 7.844 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.158, allocations: 29.64 kB / 475.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001623/0.1582, allocations: 227.9 kB / 475.5 MB, free: 7.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.1582, allocations: 23.66 kB / 475.6 MB, free: 7.559 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.72e-05/0.1583, allocations: 29.7 kB / 475.6 MB, free: 7.523 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000156/0.1584, allocations: 358.8 kB / 475.9 MB, free: 7.164 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.889e-05/0.1585, allocations: 31.97 kB / 476 MB, free: 7.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.661e-05/0.1586, allocations: 31.98 kB / 476 MB, free: 7.102 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.1588, allocations: 76.8 kB / 476.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.1588, allocations: 0 / 476.1 MB, free: 7.023 MB / 350.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002472/0.159, allocations: 149.1 kB / 476.2 MB, free: 6.871 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/0.1591, allocations: 4 kB / 476.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.1591, allocations: 0 / 476.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1591, allocations: 0 / 476.2 MB, free: 6.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1592, allocations: 23.92 kB / 476.3 MB, free: 6.844 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.183e-06/0.1592, allocations: 3.938 kB / 476.3 MB, free: 6.84 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.194e-05/0.1593, allocations: 8 kB / 476.3 MB, free: 6.832 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.1593, allocations: 0 / 476.3 MB, free: 6.832 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.0001941/0.1595, allocations: 218.3 kB / 476.5 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.757e-05/0.1596, allocations: 47.44 kB / 476.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003379/0.1599, allocations: 169.4 kB / 476.7 MB, free: 6.387 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.1599, allocations: 4 kB / 476.7 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.234e-06/0.1599, allocations: 3.938 kB / 476.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1599, allocations: 0 / 476.7 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006582/0.1606, allocations: 0.5152 MB / 477.2 MB, free: 5.805 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.1606, allocations: 7.875 kB / 477.2 MB, free: 5.797 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.369e-05/0.1607, allocations: 15.98 kB / 477.2 MB, free: 5.781 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1607, allocations: 4 kB / 477.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.976e-06/0.1607, allocations: 0 / 477.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1607, allocations: 0 / 477.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.1607, allocations: 0 / 477.2 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002942/0.161, allocations: 259.8 kB / 477.5 MB, free: 5.504 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.1611, allocations: 112.5 kB / 477.6 MB, free: 5.375 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.687e-05/0.1612, allocations: 8 kB / 477.6 MB, free: 5.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.285e-05/0.1612, allocations: 4 kB / 477.6 MB, free: 5.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.41e-05/0.1613, allocations: 7.984 kB / 477.6 MB, free: 5.355 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1613, allocations: 4 kB / 477.6 MB, free: 5.352 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0005706/0.1619, allocations: 0.6511 MB / 478.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1619, allocations: 0 / 478.3 MB, free: 4.703 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1622, allocations: 28 kB / 478.3 MB, free: 4.676 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.001001/0.1632, allocations: 458.5 kB / 478.8 MB, free: 4.41 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002283/0.1634, allocations: 79.88 kB / 478.8 MB, free: 4.332 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1634, allocations: 4 kB / 478.8 MB, free: 4.328 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.281e-05/0.1635, allocations: 39.97 kB / 478.9 MB, free: 4.289 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/0.1639, allocations: 25.91 kB / 478.9 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001217/0.1651, allocations: 0.9191 MB / 479.8 MB, free: 3.309 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004475/0.1656, allocations: 0.8262 MB / 480.6 MB, free: 2.453 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.71e-05/0.1657, allocations: 28.7 kB / 480.7 MB, free: 2.426 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.406e-05/0.1657, allocations: 15.44 kB / 480.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1657, allocations: 0 / 480.7 MB, free: 2.41 MB / 350.1 MB Notification: Performance of Templates: time 0.00512/0.1709, allocations: 1.672 MB / 482.4 MB, free: 0.7461 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test2/Test2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches