Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.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.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test11,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009532/0.0009535, allocations: 95.88 kB / 17.35 MB, free: 6.371 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.00131/0.00131, allocations: 176.4 kB / 18.25 MB, free: 5.523 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.496/1.496, allocations: 223.2 MB / 242.3 MB, free: 240 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.2473/0.2473, allocations: 44.25 MB / 337.7 MB, free: 2.746 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003763, allocations: 8 kB / 410.3 MB, free: 27.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1289/0.1292, allocations: 61.93 MB / 472.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test11): time 0.002401/0.1317, allocations: 1.329 MB / 473.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001686/0.1334, allocations: 1.031 MB / 474.6 MB, free: 10.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.65e-05/0.1335, allocations: 4 kB / 474.6 MB, free: 10.97 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002551/0.1338, allocations: 27.91 kB / 474.6 MB, free: 10.95 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001844/0.1339, allocations: 39.84 kB / 474.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004425/0.1344, allocations: 155.3 kB / 474.8 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.1346, allocations: 71.78 kB / 474.9 MB, free: 10.69 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.1347, allocations: 15.98 kB / 474.9 MB, free: 10.67 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.675e-05/0.1348, allocations: 19.91 kB / 474.9 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.1349, allocations: 23.86 kB / 475 MB, free: 10.63 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.135, allocations: 4 kB / 475 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001291/0.1351, allocations: 47.97 kB / 475 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.7e-05/0.1352, allocations: 23.92 kB / 475 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.861e-05/0.1353, allocations: 45.56 kB / 475.1 MB, free: 10.5 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.1355, allocations: 95.97 kB / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.1355, allocations: 0 / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.791e-06/0.1355, allocations: 0 / 475.2 MB, free: 10.41 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.091e-05/0.1355, allocations: 3.938 kB / 475.2 MB, free: 10.41 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006313/0.1362, allocations: 383.3 kB / 475.6 MB, free: 9.984 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.409e-05/0.1362, allocations: 12.03 kB / 475.6 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.325e-05/0.1363, allocations: 12.84 kB / 475.6 MB, free: 9.961 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002405/0.1365, allocations: 184.3 kB / 475.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.1366, allocations: 384 / 475.8 MB, free: 9.742 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.051e-05/0.1366, allocations: 4.375 kB / 475.8 MB, free: 9.738 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.1368, allocations: 79.45 kB / 475.8 MB, free: 9.648 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1369, allocations: 4 kB / 475.8 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.551e-05/0.1369, allocations: 4 kB / 475.9 MB, free: 9.641 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.137, allocations: 4 kB / 475.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000154/0.1371, allocations: 47.95 kB / 475.9 MB, free: 9.59 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005474/0.1377, allocations: 304.8 kB / 476.2 MB, free: 9.242 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.1378, allocations: 54.5 kB / 476.3 MB, free: 9.18 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.176e-05/0.1379, allocations: 28.94 kB / 476.3 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.1379, allocations: 4 kB / 476.3 MB, free: 9.145 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.138, allocations: 30.56 kB / 476.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.363e-06/0.138, allocations: 0 / 476.3 MB, free: 9.105 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0008664/0.1389, allocations: 261.1 kB / 476.6 MB, free: 8.844 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.315e-05/0.1389, allocations: 81.11 kB / 476.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001815/0.1391, allocations: 133.8 kB / 476.8 MB, free: 8.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.1392, allocations: 29.7 kB / 476.8 MB, free: 8.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.1393, allocations: 99.97 kB / 476.9 MB, free: 8.469 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.774e-05/0.1394, allocations: 27.59 kB / 476.9 MB, free: 8.441 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.406e-05/0.1394, allocations: 17.7 kB / 477 MB, free: 8.418 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001572/0.1396, allocations: 318.8 kB / 477.3 MB, free: 8.098 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001376/0.1397, allocations: 51.95 kB / 477.3 MB, free: 8.047 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001445/0.1399, allocations: 61.75 kB / 477.4 MB, free: 7.98 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002493/0.1401, allocations: 108.8 kB / 477.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.72e-07/0.1401, allocations: 0 / 477.5 MB, free: 7.871 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003111/0.1405, allocations: 141.5 kB / 477.6 MB, free: 7.727 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.1405, allocations: 4 kB / 477.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.1405, allocations: 0 / 477.6 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.1405, allocations: 4 kB / 477.6 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.1407, allocations: 23.98 kB / 477.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.1407, allocations: 0 / 477.6 MB, free: 7.695 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.703e-05/0.1407, allocations: 15.92 kB / 477.7 MB, free: 7.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.1408, allocations: 4 kB / 477.7 MB, free: 7.676 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 (7): * Single equations (assignments): 7 * 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.0001262/0.1409, allocations: 126.3 kB / 477.8 MB, free: 7.543 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.167e-05/0.1409, allocations: 7.906 kB / 477.8 MB, free: 7.535 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003865/0.1413, allocations: 158.6 kB / 478 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.1413, allocations: 0 / 478 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.1414, allocations: 3.984 kB / 478 MB, free: 7.371 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.1414, allocations: 3.938 kB / 478 MB, free: 7.367 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006072/0.142, allocations: 426.4 kB / 478.4 MB, free: 6.895 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.142, allocations: 4 kB / 478.4 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.572e-05/0.1421, allocations: 19.98 kB / 478.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1421, allocations: 0 / 478.4 MB, free: 6.871 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.375e-05/0.1421, allocations: 7.938 kB / 478.4 MB, free: 6.863 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1421, allocations: 4 kB / 478.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.1421, allocations: 0 / 478.4 MB, free: 6.859 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004044/0.1425, allocations: 239.3 kB / 478.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.613e-05/0.1426, allocations: 85.02 kB / 478.7 MB, free: 6.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.57e-05/0.1426, allocations: 7.938 kB / 478.7 MB, free: 6.5 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.416e-05/0.1427, allocations: 19.98 kB / 478.8 MB, free: 6.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.1428, allocations: 7.984 kB / 478.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.186e-06/0.1428, allocations: 0 / 478.8 MB, free: 6.473 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.741e-05/0.1429, allocations: 113.6 kB / 478.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1429, allocations: 0 / 478.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002751/0.1432, allocations: 27.98 kB / 478.9 MB, free: 6.336 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 (7): * Single equations (assignments): 7 * 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.001153/0.1444, allocations: 436.7 kB / 479.3 MB, free: 6.078 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003412/0.1447, allocations: 103.9 kB / 479.4 MB, free: 5.977 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.1447, allocations: 7.938 kB / 479.4 MB, free: 5.969 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000143/0.1449, allocations: 59.95 kB / 479.5 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.1452, allocations: 15.98 kB / 479.5 MB, free: 5.895 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005426/0.1458, allocations: 221.9 kB / 479.7 MB, free: 5.645 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.1461, allocations: 0.7082 MB / 480.4 MB, free: 4.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.858e-05/0.1462, allocations: 27.91 kB / 480.5 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.225e-05/0.1463, allocations: 19.42 kB / 480.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of SimCode: time 1.973e-06/0.1463, allocations: 0 / 480.5 MB, free: 4.863 MB / 350.1 MB Notification: Performance of Templates: time 0.00427/0.1506, allocations: 1.433 MB / 481.9 MB, free: 3.434 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test11/Test11.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches