Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.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.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test25,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009851/0.0009853, allocations: 95.36 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.0009649/0.0009653, allocations: 181.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.568/1.568, 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.2408/0.2408, allocations: 44.22 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004706/0.0004708, allocations: 11.98 kB / 409.5 MB, free: 27.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1475, allocations: 61.92 MB / 471.5 MB, free: 13.75 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test25): time 0.002547/0.1501, allocations: 1.33 MB / 472.8 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008438/0.151, allocations: 371.5 kB / 473.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.369e-05/0.1511, allocations: 4 kB / 473.1 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.1514, allocations: 43.88 kB / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.1516, allocations: 47.81 kB / 473.2 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004621/0.1521, allocations: 111.2 kB / 473.3 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1522, allocations: 43.88 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.806e-05/0.1523, allocations: 16 kB / 473.4 MB, free: 11.78 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.232e-05/0.1524, allocations: 35.83 kB / 473.4 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.339e-05/0.1525, allocations: 19.92 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.348e-05/0.1525, allocations: 4 kB / 473.5 MB, free: 11.72 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.1527, allocations: 35.92 kB / 473.5 MB, free: 11.69 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.188e-05/0.1527, allocations: 15.97 kB / 473.5 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.603e-05/0.1528, allocations: 41.58 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.1529, allocations: 68.17 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.153, allocations: 4 kB / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.153, allocations: 0 / 473.6 MB, free: 11.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.659e-06/0.153, allocations: 4 kB / 473.6 MB, free: 11.55 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.0005485/0.1535, allocations: 402.9 kB / 474 MB, free: 11.11 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.1536, allocations: 8.562 kB / 474 MB, free: 11.1 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.305e-05/0.1536, allocations: 7.906 kB / 474 MB, free: 11.09 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002139/0.1538, allocations: 201.1 kB / 474.2 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.1539, allocations: 8 kB / 474.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.725e-05/0.1539, allocations: 4 kB / 474.2 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.1541, allocations: 65.62 kB / 474.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.198e-05/0.1541, allocations: 0 / 474.3 MB, free: 10.78 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.328e-05/0.1541, allocations: 4 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.1541, allocations: 7.938 kB / 474.3 MB, free: 10.77 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001432/0.1543, allocations: 47.95 kB / 474.4 MB, free: 10.72 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.1547, allocations: 296.8 kB / 474.7 MB, free: 10.38 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002337/0.155, allocations: 66.58 kB / 474.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.155, allocations: 0 / 474.7 MB, free: 10.3 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.537e-05/0.155, allocations: 38.69 kB / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 7.52e-07/0.155, allocations: 0 / 474.8 MB, free: 10.26 MB / 350.1 MB Notification: Performance of matching and sorting (n=11): time 0.001531/0.1566, allocations: 460.8 kB / 475.2 MB, free: 9.801 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.823e-05/0.1566, allocations: 59.41 kB / 475.3 MB, free: 9.73 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001569/0.1568, allocations: 164.5 kB / 475.4 MB, free: 9.555 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.089e-05/0.1568, allocations: 33.7 kB / 475.5 MB, free: 9.516 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.156e-05/0.1569, allocations: 104 kB / 475.6 MB, free: 9.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.425e-05/0.1569, allocations: 47.44 kB / 475.6 MB, free: 9.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.01e-06/0.1569, allocations: 3.938 kB / 475.6 MB, free: 9.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.157, allocations: 322.8 kB / 475.9 MB, free: 9.035 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.1572, allocations: 51.95 kB / 476 MB, free: 8.984 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001137/0.1573, allocations: 51.97 kB / 476 MB, free: 8.934 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.1574, allocations: 47.98 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.1574, allocations: 0 / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003088/0.1577, allocations: 169.7 kB / 476.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1578, allocations: 4 kB / 476.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.1578, allocations: 0 / 476.2 MB, free: 8.711 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.1578, allocations: 4 kB / 476.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001135/0.1579, allocations: 31.92 kB / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.1579, allocations: 0 / 476.3 MB, free: 8.676 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.776e-05/0.158, allocations: 15.98 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.158, allocations: 4 kB / 476.3 MB, free: 8.656 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.0001059/0.1581, allocations: 129.8 kB / 476.4 MB, free: 8.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.541e-05/0.1582, allocations: 11.89 kB / 476.4 MB, free: 8.508 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003891/0.1586, allocations: 174.9 kB / 476.6 MB, free: 8.332 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1586, allocations: 3.938 kB / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.753e-06/0.1586, allocations: 4 kB / 476.6 MB, free: 8.324 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1586, allocations: 7.984 kB / 476.6 MB, free: 8.316 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006452/0.1593, allocations: 484 kB / 477.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.1593, allocations: 0 / 477.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001025/0.1594, allocations: 31.92 kB / 477.1 MB, free: 7.75 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.941e-06/0.1594, allocations: 4.062 kB / 477.1 MB, free: 7.746 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.209e-05/0.1594, allocations: 7.984 kB / 477.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1594, allocations: 0 / 477.1 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.1594, allocations: 3.953 kB / 477.1 MB, free: 7.734 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00046/0.1599, allocations: 292.4 kB / 477.4 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.087e-05/0.16, allocations: 92.95 kB / 477.5 MB, free: 7.305 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.081e-05/0.16, allocations: 4 kB / 477.5 MB, free: 7.301 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.887e-05/0.1601, allocations: 19.98 kB / 477.5 MB, free: 7.281 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.665e-05/0.1601, allocations: 7.984 kB / 477.6 MB, free: 7.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.086e-06/0.1602, allocations: 4 kB / 477.6 MB, free: 7.27 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000115/0.1603, allocations: 133.9 kB / 477.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1603, allocations: 96 / 477.7 MB, free: 7.141 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002898/0.1606, allocations: 35.84 kB / 477.7 MB, free: 7.105 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.001015/0.1616, allocations: 452.2 kB / 478.2 MB, free: 6.84 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003275/0.1619, allocations: 127.9 kB / 478.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.162, allocations: 4 kB / 478.3 MB, free: 6.711 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001416/0.1621, allocations: 64.03 kB / 478.4 MB, free: 6.648 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002682/0.1624, allocations: 15.98 kB / 478.4 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000515/0.1629, allocations: 283.2 kB / 478.7 MB, free: 6.328 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.1632, allocations: 0.7121 MB / 479.4 MB, free: 5.59 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.377e-05/0.1633, allocations: 20.41 kB / 479.4 MB, free: 5.566 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.417e-05/0.1633, allocations: 15.44 kB / 479.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1634, allocations: 0 / 479.4 MB, free: 5.551 MB / 350.1 MB Notification: Performance of Templates: time 0.004678/0.168, allocations: 1.438 MB / 480.8 MB, free: 4.129 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test25/Test25.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test25.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches