Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009786/0.0009786, allocations: 96.56 kB / 17 MB, free: 6.355 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.001221/0.001221, allocations: 184 kB / 17.89 MB, free: 5.926 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.466/1.466, allocations: 223.2 MB / 241.9 MB, free: 156 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.2025/0.2025, allocations: 44.25 MB / 337.3 MB, free: 2.734 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003365, allocations: 11.94 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1354, allocations: 61.94 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test7): time 0.00282/0.1383, allocations: 1.267 MB / 472.9 MB, free: 12.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000749/0.1391, allocations: 375.6 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.227e-05/0.1392, allocations: 0 / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006087/0.1398, allocations: 435.2 kB / 473.7 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003655/0.1402, allocations: 247.5 kB / 473.9 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004057/0.1406, allocations: 111.8 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00027/0.1409, allocations: 119.7 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001034/0.141, allocations: 4 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001341/0.1412, allocations: 99.8 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.1414, allocations: 159.7 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.8e-05/0.1414, allocations: 4 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.222e-05/0.1415, allocations: 19.98 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001269/0.1416, allocations: 87.67 kB / 474.5 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.892e-05/0.1417, allocations: 61.52 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002266/0.1419, allocations: 171.8 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.884e-06/0.1419, allocations: 0 / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1419, allocations: 0 / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.923e-06/0.142, allocations: 3.938 kB / 474.7 MB, free: 10.54 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.0007179/0.1427, allocations: 0.5912 MB / 475.3 MB, free: 9.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.1427, allocations: 12.03 kB / 475.3 MB, free: 9.883 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.887e-05/0.1428, allocations: 39.53 kB / 475.4 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002651/0.1431, allocations: 271.4 kB / 475.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.009e-05/0.1431, allocations: 0 / 475.6 MB, free: 9.539 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.1431, allocations: 3.953 kB / 475.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.1432, allocations: 45.69 kB / 475.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.1433, allocations: 0 / 475.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.1433, allocations: 0 / 475.7 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.1433, allocations: 4 kB / 475.7 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.735e-05/0.1434, allocations: 27.98 kB / 475.7 MB, free: 9.453 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.1439, allocations: 380.7 kB / 476.1 MB, free: 9.031 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.1441, allocations: 22.58 kB / 476.1 MB, free: 9 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.818e-05/0.1441, allocations: 24.91 kB / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.1442, allocations: 0 / 476.1 MB, free: 8.973 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.196e-05/0.1442, allocations: 34.56 kB / 476.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.1442, allocations: 0 / 476.2 MB, free: 8.93 MB / 350.1 MB Notification: Performance of matching and sorting (n=2): time 0.000306/0.1445, allocations: 101.1 kB / 476.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.1446, allocations: 59.52 kB / 476.3 MB, free: 8.754 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001027/0.1456, allocations: 0.8574 MB / 477.2 MB, free: 7.887 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.195e-05/0.1457, allocations: 25.7 kB / 477.2 MB, free: 7.855 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002316/0.1459, allocations: 220.1 kB / 477.4 MB, free: 7.637 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.1459, allocations: 3.906 kB / 477.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.1459, allocations: 0 / 477.4 MB, free: 7.633 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001759/0.1461, allocations: 362.8 kB / 477.8 MB, free: 7.27 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.771e-05/0.1462, allocations: 15.98 kB / 477.8 MB, free: 7.254 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.017e-05/0.1462, allocations: 8 kB / 477.8 MB, free: 7.246 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.043e-05/0.1463, allocations: 11.98 kB / 477.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1463, allocations: 0 / 477.8 MB, free: 7.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000139/0.1464, allocations: 93.16 kB / 477.9 MB, free: 7.137 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.1464, allocations: 8.094 kB / 477.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1464, allocations: 0 / 477.9 MB, free: 7.129 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.1465, allocations: 3.938 kB / 477.9 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.847e-05/0.1465, allocations: 8 kB / 477.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1465, allocations: 0 / 477.9 MB, free: 7.117 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.123e-05/0.1466, allocations: 3.984 kB / 477.9 MB, free: 7.113 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.1466, allocations: 8 kB / 477.9 MB, free: 7.105 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 (2): * Single equations (assignments): 2 * 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.0001835/0.1468, allocations: 210.3 kB / 478.1 MB, free: 6.891 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.143e-05/0.1469, allocations: 43.44 kB / 478.2 MB, free: 6.848 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.1471, allocations: 112.5 kB / 478.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.1471, allocations: 0 / 478.3 MB, free: 6.727 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1471, allocations: 7.938 kB / 478.3 MB, free: 6.719 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.1471, allocations: 3.984 kB / 478.3 MB, free: 6.715 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002766/0.1474, allocations: 281.5 kB / 478.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1474, allocations: 0 / 478.6 MB, free: 6.391 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.483e-05/0.1474, allocations: 7.984 kB / 478.6 MB, free: 6.383 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.1475, allocations: 4.031 kB / 478.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.015e-06/0.1475, allocations: 0 / 478.6 MB, free: 6.379 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.1475, allocations: 4 kB / 478.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1475, allocations: 0 / 478.6 MB, free: 6.375 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001802/0.1477, allocations: 183 kB / 478.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.938e-05/0.1478, allocations: 120.6 kB / 478.9 MB, free: 6.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.455e-05/0.1478, allocations: 3.984 kB / 478.9 MB, free: 6.039 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.741e-05/0.1479, allocations: 4 kB / 478.9 MB, free: 6.035 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.1479, allocations: 3.938 kB / 478.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1479, allocations: 0 / 478.9 MB, free: 6.031 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0006299/0.1485, allocations: 0.6511 MB / 479.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1485, allocations: 0 / 479.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002453/0.1488, allocations: 19.94 kB / 479.6 MB, free: 5.363 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 (2): * Single equations (assignments): 2 * 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.0008376/0.1496, allocations: 345 kB / 479.9 MB, free: 5.148 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001301/0.1498, allocations: 23.98 kB / 479.9 MB, free: 5.125 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.1498, allocations: 4.062 kB / 479.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.894e-05/0.1498, allocations: 8 kB / 479.9 MB, free: 5.113 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003404/0.1502, allocations: 29.89 kB / 480 MB, free: 5.086 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001059/0.1513, allocations: 0.7975 MB / 480.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004229/0.1517, allocations: 0.8185 MB / 481.6 MB, free: 3.418 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.585e-05/0.1517, allocations: 11.98 kB / 481.6 MB, free: 3.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.1518, allocations: 7.438 kB / 481.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1518, allocations: 0 / 481.6 MB, free: 3.398 MB / 350.1 MB Notification: Performance of Templates: time 0.00436/0.1561, allocations: 1.145 MB / 482.8 MB, free: 2.262 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test7/Test7.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches