Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1") translateModel(ModelicaTest.Tables.CombiTable1D.Test1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002325/0.002331, allocations: 186.3 kB / 16.4 MB, free: 5.621 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.196/2.196, allocations: 205.4 MB / 222.5 MB, free: 13.85 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001152/0.001152, allocations: 106.8 kB / 270.9 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2997/0.2997, allocations: 43.56 MB / 362.7 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004736, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1269, allocations: 58.86 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test1): time 0.002538/0.1295, allocations: 1.245 MB / 491.5 MB, free: 8.086 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008243/0.1304, allocations: 283.9 kB / 491.7 MB, free: 7.805 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.1304, allocations: 0 / 491.7 MB, free: 7.805 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002249/0.1307, allocations: 27.84 kB / 491.8 MB, free: 7.777 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001923/0.1309, allocations: 31.86 kB / 491.8 MB, free: 7.746 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004142/0.1313, allocations: 83.75 kB / 491.9 MB, free: 7.664 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000155/0.1315, allocations: 27.97 kB / 491.9 MB, free: 7.637 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.1316, allocations: 19.92 kB / 491.9 MB, free: 7.617 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.799e-05/0.1317, allocations: 7.938 kB / 491.9 MB, free: 7.609 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.41e-05/0.1318, allocations: 23.91 kB / 492 MB, free: 7.586 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1318, allocations: 4 kB / 492 MB, free: 7.582 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.434e-05/0.1319, allocations: 12 kB / 492 MB, free: 7.57 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.572e-05/0.1319, allocations: 15.92 kB / 492 MB, free: 7.555 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 3.791e-05/0.132, allocations: 29.7 kB / 492 MB, free: 7.52 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001518/0.1322, allocations: 55.86 kB / 492.1 MB, free: 7.465 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.1322, allocations: 0 / 492.1 MB, free: 7.465 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1322, allocations: 3.938 kB / 492.1 MB, free: 7.461 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.1322, allocations: 4 kB / 492.1 MB, free: 7.457 MB / 330.7 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.0005591/0.1328, allocations: 363.4 kB / 492.4 MB, free: 7.055 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.046e-05/0.1328, allocations: 16.02 kB / 492.5 MB, free: 7.039 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.335e-05/0.1329, allocations: 7.953 kB / 492.5 MB, free: 7.031 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.1332, allocations: 186.9 kB / 492.7 MB, free: 6.809 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.1332, allocations: 7.984 kB / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.1332, allocations: 4 kB / 492.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001957/0.1334, allocations: 49.67 kB / 492.7 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/0.1335, allocations: 0 / 492.7 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.1335, allocations: 0 / 492.7 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1335, allocations: 0 / 492.7 MB, free: 6.742 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.1337, allocations: 35.92 kB / 492.7 MB, free: 6.707 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005402/0.1342, allocations: 280.8 kB / 493 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000301/0.1345, allocations: 54.55 kB / 493.1 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.1346, allocations: 0 / 493.1 MB, free: 6.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.107e-05/0.1346, allocations: 34.5 kB / 493.1 MB, free: 6.277 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.644e-06/0.1346, allocations: 0 / 493.1 MB, free: 6.277 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008868/0.1355, allocations: 173.3 kB / 493.3 MB, free: 6.102 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.577e-05/0.1356, allocations: 51.41 kB / 493.3 MB, free: 6.039 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001873/0.1358, allocations: 143.9 kB / 493.5 MB, free: 5.887 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.1358, allocations: 25.7 kB / 493.5 MB, free: 5.855 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.989e-05/0.1359, allocations: 158.6 kB / 493.6 MB, free: 5.699 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.136, allocations: 19.72 kB / 493.7 MB, free: 5.68 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.136, allocations: 0 / 493.7 MB, free: 5.68 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1361, allocations: 314.8 kB / 494 MB, free: 5.363 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001302/0.1363, allocations: 23.98 kB / 494 MB, free: 5.34 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.1364, allocations: 23.98 kB / 494 MB, free: 5.316 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001355/0.1366, allocations: 31.98 kB / 494.1 MB, free: 5.285 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1366, allocations: 0 / 494.1 MB, free: 5.285 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003654/0.1369, allocations: 89.59 kB / 494.1 MB, free: 5.191 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.137, allocations: 7.438 kB / 494.1 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.137, allocations: 0 / 494.1 MB, free: 5.188 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.289e-05/0.137, allocations: 12.2 kB / 494.2 MB, free: 5.176 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.1372, allocations: 15.92 kB / 494.2 MB, free: 5.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.151e-05/0.1372, allocations: 8 kB / 494.2 MB, free: 5.152 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.603e-05/0.1373, allocations: 8 kB / 494.2 MB, free: 5.145 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.1373, allocations: 0 / 494.2 MB, free: 5.145 MB / 330.7 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 0.0001166/0.1374, allocations: 113.8 kB / 494.3 MB, free: 5.023 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.742e-05/0.1375, allocations: 11.89 kB / 494.3 MB, free: 5.012 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.1379, allocations: 109.9 kB / 494.4 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.1379, allocations: 0 / 494.4 MB, free: 4.902 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.1379, allocations: 3.953 kB / 494.4 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1379, allocations: 0 / 494.4 MB, free: 4.898 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006691/0.1386, allocations: 366.5 kB / 494.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.626e-06/0.1386, allocations: 0 / 494.8 MB, free: 4.484 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001079/0.1388, allocations: 12 kB / 494.8 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/0.1388, allocations: 3.984 kB / 494.8 MB, free: 4.469 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.376e-05/0.1388, allocations: 3.953 kB / 494.8 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.1388, allocations: 0 / 494.8 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.744e-06/0.1388, allocations: 0 / 494.8 MB, free: 4.465 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003809/0.1392, allocations: 195.4 kB / 495 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.363e-05/0.1393, allocations: 85.02 kB / 495.1 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.4e-05/0.1393, allocations: 0 / 495.1 MB, free: 4.156 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001191/0.1395, allocations: 15.95 kB / 495.1 MB, free: 4.141 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.01e-05/0.1395, allocations: 8.109 kB / 495.1 MB, free: 4.133 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.275e-05/0.1396, allocations: 8.281 kB / 495.1 MB, free: 4.125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001205/0.1397, allocations: 110.9 kB / 495.2 MB, free: 4.02 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.3e-07/0.1397, allocations: 0 / 495.2 MB, free: 4.02 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003443/0.14, allocations: 16 kB / 495.2 MB, free: 4.004 MB / 330.7 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.00125/0.1413, allocations: 399 kB / 495.6 MB, free: 3.648 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003777/0.1417, allocations: 63.91 kB / 495.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.1417, allocations: 0 / 495.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.1419, allocations: 27.98 kB / 495.7 MB, free: 3.559 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003326/0.1422, allocations: 11.98 kB / 495.7 MB, free: 3.547 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005725/0.1428, allocations: 218.6 kB / 495.9 MB, free: 3.301 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.1432, allocations: 0.6926 MB / 496.6 MB, free: 2.582 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.602e-05/0.1432, allocations: 15.42 kB / 496.6 MB, free: 2.566 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1432, allocations: 0 / 496.6 MB, free: 2.566 MB / 330.7 MB Notification: Performance of Templates: time 0.004602/0.1479, allocations: 1.399 MB / 498 MB, free: 1.168 MB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test1/Test1.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches