Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.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.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008442/0.0008439, allocations: 98.36 kB / 17 MB, free: 6.414 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.001044/0.001044, allocations: 188.7 kB / 17.89 MB, free: 5.945 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.487/1.487, allocations: 223.3 MB / 241.9 MB, free: 256 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.2202/0.2202, allocations: 44.25 MB / 337.3 MB, free: 2.766 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005209/0.0005211, allocations: 8 kB / 409.7 MB, free: 27.66 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.148/0.1486, allocations: 61.92 MB / 471.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test24): time 0.002806/0.1514, allocations: 1.333 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008274/0.1523, allocations: 415.5 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.653e-05/0.1524, allocations: 4 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002896/0.1527, allocations: 43.86 kB / 473.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002062/0.1529, allocations: 39.84 kB / 473.4 MB, free: 11.86 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004939/0.1534, allocations: 167.2 kB / 473.6 MB, free: 11.7 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001992/0.1536, allocations: 59.83 kB / 473.6 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1538, allocations: 19.98 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.265e-05/0.1539, allocations: 31.84 kB / 473.7 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.154, allocations: 31.84 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.835e-05/0.154, allocations: 3.938 kB / 473.7 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001337/0.1542, allocations: 43.94 kB / 473.8 MB, free: 11.52 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.859e-05/0.1542, allocations: 19.91 kB / 473.8 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.267e-05/0.1543, allocations: 33.7 kB / 473.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.1545, allocations: 72.17 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.837e-06/0.1545, allocations: 0 / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1545, allocations: 3.938 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.1545, allocations: 8 kB / 473.9 MB, free: 11.38 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.0006006/0.1551, allocations: 395 kB / 474.3 MB, free: 10.94 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.586e-05/0.1552, allocations: 8.562 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.887e-05/0.1552, allocations: 7.906 kB / 474.3 MB, free: 10.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.1555, allocations: 193.1 kB / 474.5 MB, free: 10.7 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.742e-05/0.1555, allocations: 11.95 kB / 474.5 MB, free: 10.69 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.487e-05/0.1555, allocations: 4 kB / 474.5 MB, free: 10.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002055/0.1558, allocations: 69.61 kB / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1558, allocations: 0 / 474.6 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.044e-05/0.1558, allocations: 8 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.1558, allocations: 3.938 kB / 474.6 MB, free: 10.6 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.156, allocations: 47.95 kB / 474.6 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005653/0.1566, allocations: 320.8 kB / 474.9 MB, free: 10.19 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003243/0.1569, allocations: 70.55 kB / 475 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.965e-05/0.157, allocations: 28.97 kB / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.266e-05/0.157, allocations: 0 / 475 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.788e-05/0.1571, allocations: 30.56 kB / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.253e-06/0.1571, allocations: 0 / 475.1 MB, free: 10.04 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001609/0.1587, allocations: 496.8 kB / 475.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.71e-05/0.1588, allocations: 55.36 kB / 475.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.159, allocations: 174.3 kB / 475.8 MB, free: 9.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/0.159, allocations: 29.7 kB / 475.8 MB, free: 9.266 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.241e-05/0.1591, allocations: 100.1 kB / 475.9 MB, free: 9.164 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.539e-05/0.1591, allocations: 43.38 kB / 475.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-06/0.1591, allocations: 0 / 475.9 MB, free: 9.121 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000115/0.1593, allocations: 318.8 kB / 476.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001475/0.1594, allocations: 67.95 kB / 476.3 MB, free: 8.734 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.1596, allocations: 63.89 kB / 476.4 MB, free: 8.672 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.1597, allocations: 63.97 kB / 476.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.1597, allocations: 0 / 476.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000351/0.1601, allocations: 181.4 kB / 476.6 MB, free: 8.426 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.1601, allocations: 12 kB / 476.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1601, allocations: 0 / 476.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.1601, allocations: 0 / 476.6 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.1603, allocations: 32.55 kB / 476.7 MB, free: 8.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.1603, allocations: 3.953 kB / 476.7 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.214e-05/0.1603, allocations: 15.98 kB / 476.7 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.456e-06/0.1604, allocations: 4 kB / 476.7 MB, free: 8.359 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 (11): * Single equations (assignments): 11 * 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.0001026/0.1605, allocations: 129.8 kB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.978e-05/0.1605, allocations: 15.81 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004292/0.161, allocations: 206.2 kB / 477 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.338e-06/0.161, allocations: 0 / 477 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.161, allocations: 4 kB / 477 MB, free: 7.996 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.161, allocations: 7.938 kB / 477.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007152/0.1617, allocations: 0.4962 MB / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.1617, allocations: 0 / 477.5 MB, free: 7.43 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1619, allocations: 36.03 kB / 477.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.058e-06/0.1619, allocations: 0 / 477.6 MB, free: 7.395 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.1619, allocations: 7.953 kB / 477.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.1619, allocations: 0 / 477.6 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.975e-06/0.1619, allocations: 4 kB / 477.6 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004219/0.1623, allocations: 301.4 kB / 477.9 MB, free: 7.066 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.75e-05/0.1624, allocations: 85.02 kB / 478 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.1624, allocations: 4 kB / 478 MB, free: 6.961 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.1625, allocations: 23.94 kB / 478 MB, free: 6.938 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.472e-05/0.1626, allocations: 7.984 kB / 478 MB, free: 6.93 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.084e-05/0.1626, allocations: 4 kB / 478 MB, free: 6.926 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001082/0.1627, allocations: 127.4 kB / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1627, allocations: 0 / 478.1 MB, free: 6.805 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002947/0.163, allocations: 31.98 kB / 478.2 MB, free: 6.773 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001105/0.1641, allocations: 476.2 kB / 478.6 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003777/0.1645, allocations: 139.9 kB / 478.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.1645, allocations: 0 / 478.8 MB, free: 6.352 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001605/0.1647, allocations: 80.02 kB / 478.8 MB, free: 6.273 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003893/0.1651, allocations: 19.98 kB / 478.9 MB, free: 6.254 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006454/0.1658, allocations: 299.2 kB / 479.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003464/0.1661, allocations: 0.716 MB / 479.9 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.1663, allocations: 36.38 kB / 479.9 MB, free: 5.145 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.1663, allocations: 11.44 kB / 479.9 MB, free: 5.133 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1663, allocations: 7.938 kB / 479.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of Templates: time 0.004679/0.171, allocations: 1.454 MB / 481.4 MB, free: 3.684 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches