Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test21,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009038/0.0009038, allocations: 91.73 kB / 16.99 MB, free: 5.949 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.001184/0.001183, allocations: 189.5 kB / 17.89 MB, free: 5.566 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.504/1.504, allocations: 223.3 MB / 241.9 MB, free: 140 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.227/0.227, allocations: 44.25 MB / 337.3 MB, free: 2.719 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003474/0.0003474, allocations: 8 kB / 409.7 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1479, allocations: 61.92 MB / 471.6 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test21): time 0.002122/0.15, allocations: 1.259 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1516, allocations: 0.9493 MB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.991e-05/0.1517, allocations: 4 kB / 473.8 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002387/0.152, allocations: 19.91 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001652/0.1521, allocations: 27.92 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002696/0.1524, allocations: 83.41 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001433/0.1526, allocations: 47.84 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001146/0.1527, allocations: 11.98 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.978e-05/0.1527, allocations: 23.91 kB / 474 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.1529, allocations: 23.86 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.1529, allocations: 0 / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000113/0.1531, allocations: 43.97 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.952e-05/0.1531, allocations: 7.938 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.591e-05/0.1531, allocations: 29.7 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000152/0.1533, allocations: 63.91 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/0.1533, allocations: 0 / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.1533, allocations: 0 / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1533, allocations: 0 / 474.2 MB, free: 11.05 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005612/0.1539, allocations: 383.3 kB / 474.5 MB, free: 10.63 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.154, allocations: 8.562 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.496e-05/0.154, allocations: 4 kB / 474.6 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002048/0.1542, allocations: 186.9 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.005e-06/0.1542, allocations: 0 / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.278e-05/0.1543, allocations: 7.938 kB / 474.8 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000161/0.1544, allocations: 63.41 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1545, allocations: 4 kB / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.1545, allocations: 0 / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.1545, allocations: 0 / 474.8 MB, free: 10.31 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.925e-05/0.1546, allocations: 27.92 kB / 474.8 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003959/0.155, allocations: 272.9 kB / 475.1 MB, free: 9.965 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002039/0.1552, allocations: 46.55 kB / 475.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.177e-05/0.1553, allocations: 24.88 kB / 475.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.147e-05/0.1553, allocations: 0 / 475.2 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.1553, allocations: 34.56 kB / 475.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 7.91e-07/0.1553, allocations: 0 / 475.2 MB, free: 9.84 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005547/0.1559, allocations: 157.3 kB / 475.4 MB, free: 9.68 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.355e-05/0.156, allocations: 77.11 kB / 475.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001498/0.1561, allocations: 141.8 kB / 475.6 MB, free: 9.438 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.597e-05/0.1562, allocations: 25.7 kB / 475.6 MB, free: 9.406 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.433e-05/0.1562, allocations: 96.12 kB / 475.7 MB, free: 9.309 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.1562, allocations: 15.69 kB / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.516e-06/0.1563, allocations: 0 / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1564, allocations: 322.8 kB / 476 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.542e-05/0.1565, allocations: 19.98 kB / 476.1 MB, free: 8.949 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.061e-05/0.1565, allocations: 41.69 kB / 476.1 MB, free: 8.902 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.2e-05/0.1566, allocations: 23.98 kB / 476.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.61e-07/0.1566, allocations: 0 / 476.1 MB, free: 8.879 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001842/0.1568, allocations: 93.55 kB / 476.2 MB, free: 8.781 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.1568, allocations: 10.66 kB / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.1569, allocations: 0 / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.1569, allocations: 0 / 476.2 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.301e-05/0.1569, allocations: 19.92 kB / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.157, allocations: 0 / 476.2 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.823e-05/0.157, allocations: 4 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.157, allocations: 8 kB / 476.2 MB, free: 8.742 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 (5): * Single equations (assignments): 5 * 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 8.429e-05/0.1571, allocations: 117.8 kB / 476.4 MB, free: 8.617 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.1571, allocations: 3.906 kB / 476.4 MB, free: 8.613 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002241/0.1574, allocations: 101.6 kB / 476.5 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-06/0.1574, allocations: 7.984 kB / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.1574, allocations: 0 / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1574, allocations: 0 / 476.5 MB, free: 8.5 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004078/0.1578, allocations: 350.5 kB / 476.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1578, allocations: 0 / 476.8 MB, free: 8.102 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.545e-05/0.1579, allocations: 19.98 kB / 476.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.1579, allocations: 0 / 476.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.645e-06/0.1579, allocations: 384 / 476.8 MB, free: 8.082 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1579, allocations: 3.938 kB / 476.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1579, allocations: 0 / 476.8 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.1581, allocations: 195.4 kB / 477 MB, free: 7.871 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.1582, allocations: 85.02 kB / 477.1 MB, free: 7.77 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.747e-05/0.1582, allocations: 4 kB / 477.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.634e-05/0.1583, allocations: 7.984 kB / 477.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.1583, allocations: 0 / 477.1 MB, free: 7.758 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.1583, allocations: 4 kB / 477.1 MB, free: 7.754 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.602e-05/0.1584, allocations: 99.27 kB / 477.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1584, allocations: 4 kB / 477.2 MB, free: 7.652 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002545/0.1587, allocations: 27.98 kB / 477.3 MB, free: 7.625 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001032/0.1597, allocations: 454.4 kB / 477.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001997/0.1599, allocations: 59.91 kB / 477.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.16, allocations: 0 / 477.8 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.957e-05/0.16, allocations: 27.98 kB / 477.8 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003155/0.1604, allocations: 19.94 kB / 477.8 MB, free: 7.238 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003564/0.1607, allocations: 160.9 kB / 478 MB, free: 7.055 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.161, allocations: 0.6887 MB / 478.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.226e-05/0.1611, allocations: 11.98 kB / 478.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.1612, allocations: 15.44 kB / 478.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of SimCode: time 4.4e-07/0.1612, allocations: 0 / 478.7 MB, free: 6.312 MB / 350.1 MB Notification: Performance of Templates: time 0.004304/0.1655, allocations: 1.276 MB / 480 MB, free: 5.047 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test21/Test21.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test21.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches