Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.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.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002322/0.002326, allocations: 188.4 kB / 16.4 MB, free: 5.625 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.6/2.6, allocations: 205.4 MB / 222.5 MB, free: 13.84 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.001241/0.001241, 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.3496/0.3496, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004652/0.0004653, allocations: 12 kB / 431.4 MB, free: 20.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.121, allocations: 58.85 MB / 490.2 MB, free: 9.344 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test4): time 0.002486/0.1236, allocations: 1.298 MB / 491.5 MB, free: 8.027 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.000929/0.1246, allocations: 295.8 kB / 491.8 MB, free: 7.734 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.1247, allocations: 7.938 kB / 491.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007703/0.1255, allocations: 439.2 kB / 492.2 MB, free: 7.297 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004575/0.1259, allocations: 243.5 kB / 492.5 MB, free: 7.059 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006123/0.1266, allocations: 131.8 kB / 492.6 MB, free: 6.93 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.000273/0.1269, allocations: 119.7 kB / 492.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.127, allocations: 12.19 kB / 492.7 MB, free: 6.801 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001474/0.1271, allocations: 107.8 kB / 492.8 MB, free: 6.695 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002843/0.1274, allocations: 139.7 kB / 493 MB, free: 6.559 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.722e-05/0.1275, allocations: 0 / 493 MB, free: 6.559 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.1276, allocations: 23.94 kB / 493 MB, free: 6.535 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001319/0.1278, allocations: 87.69 kB / 493.1 MB, free: 6.449 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 6.838e-05/0.1278, allocations: 65.52 kB / 493.1 MB, free: 6.379 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003399/0.1282, allocations: 192 kB / 493.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1282, allocations: 0 / 493.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.455e-06/0.1282, allocations: 0 / 493.3 MB, free: 6.191 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.952e-06/0.1282, allocations: 0 / 493.3 MB, free: 6.191 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0009583/0.1292, allocations: 0.5909 MB / 493.9 MB, free: 5.551 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.1293, allocations: 15.95 kB / 493.9 MB, free: 5.535 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.369e-05/0.1294, allocations: 47.44 kB / 494 MB, free: 5.488 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.1297, allocations: 283.3 kB / 494.3 MB, free: 5.172 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.1298, allocations: 0 / 494.3 MB, free: 5.172 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.022e-05/0.1298, allocations: 8 kB / 494.3 MB, free: 5.164 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.13, allocations: 53.67 kB / 494.3 MB, free: 5.105 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.572e-05/0.1301, allocations: 4 kB / 494.3 MB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.33e-05/0.1301, allocations: 0 / 494.3 MB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1301, allocations: 0 / 494.3 MB, free: 5.102 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001669/0.1303, allocations: 39.91 kB / 494.4 MB, free: 5.062 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006786/0.131, allocations: 404.7 kB / 494.8 MB, free: 4.617 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002825/0.1313, allocations: 42.56 kB / 494.8 MB, free: 4.566 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.72e-05/0.1313, allocations: 8.031 kB / 494.8 MB, free: 4.559 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.1314, allocations: 34.55 kB / 494.8 MB, free: 4.516 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 2.054e-06/0.1314, allocations: 0 / 494.8 MB, free: 4.516 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.0009602/0.1323, allocations: 256.1 kB / 495.1 MB, free: 4.258 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.051e-05/0.1324, allocations: 51.41 kB / 495.1 MB, free: 4.195 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001348/0.1338, allocations: 0.8691 MB / 496 MB, free: 3.316 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/0.1338, allocations: 25.7 kB / 496 MB, free: 3.285 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002118/0.134, allocations: 242.5 kB / 496.3 MB, free: 3.047 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.692e-05/0.1341, allocations: 19.75 kB / 496.3 MB, free: 3.027 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.711e-06/0.1341, allocations: 0 / 496.3 MB, free: 3.027 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1342, allocations: 318.8 kB / 496.6 MB, free: 2.707 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001535/0.1344, allocations: 23.98 kB / 496.6 MB, free: 2.684 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001275/0.1345, allocations: 27.98 kB / 496.7 MB, free: 2.656 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.1347, allocations: 27.92 kB / 496.7 MB, free: 2.629 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-06/0.1347, allocations: 4 kB / 496.7 MB, free: 2.625 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003421/0.1351, allocations: 89.66 kB / 496.8 MB, free: 2.531 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.1351, allocations: 4 kB / 496.8 MB, free: 2.527 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.585e-06/0.1351, allocations: 3.938 kB / 496.8 MB, free: 2.523 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.1352, allocations: 7.953 kB / 496.8 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1353, allocations: 16 kB / 496.8 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.1353, allocations: 0 / 496.8 MB, free: 2.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001309/0.1354, allocations: 11.97 kB / 496.8 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.1355, allocations: 3.938 kB / 496.8 MB, free: 2.484 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.000324/0.1358, allocations: 217.8 kB / 497 MB, free: 2.262 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.323e-05/0.1359, allocations: 39.44 kB / 497.1 MB, free: 2.223 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/0.1364, allocations: 149.1 kB / 497.2 MB, free: 2.07 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.1364, allocations: 4 kB / 497.2 MB, free: 2.066 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.1365, allocations: 7.891 kB / 497.2 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1365, allocations: 0 / 497.2 MB, free: 2.059 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009088/0.1374, allocations: 478.8 kB / 497.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.1374, allocations: 0 / 497.7 MB, free: 1.535 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.1375, allocations: 16.06 kB / 497.7 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.383e-06/0.1376, allocations: 0 / 497.7 MB, free: 1.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.372e-05/0.1376, allocations: 3.953 kB / 497.7 MB, free: 1.516 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.1376, allocations: 3.984 kB / 497.7 MB, free: 1.512 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.1376, allocations: 4 kB / 497.7 MB, free: 1.508 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004254/0.138, allocations: 226.9 kB / 497.9 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000107/0.1382, allocations: 112.5 kB / 498.1 MB, free: 1.141 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.216e-05/0.1382, allocations: 8 kB / 498.1 MB, free: 1.133 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.1384, allocations: 11.94 kB / 498.1 MB, free: 1.121 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.34e-05/0.1384, allocations: 8 kB / 498.1 MB, free: 1.113 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.606e-06/0.1385, allocations: 0 / 498.1 MB, free: 1.113 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009887/0.1395, allocations: 0.6511 MB / 498.7 MB, free: 476 kB / 330.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.1395, allocations: 0 / 498.7 MB, free: 476 kB / 330.7 MB Notification: Performance of remove unused functions: time 0.00037/0.1399, allocations: 28 kB / 498.8 MB, free: 448 kB / 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.001237/0.1411, allocations: 396.9 kB / 499.2 MB, free: 96 kB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0003814/0.1415, allocations: 67.89 kB / 499.2 MB, free: 28 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.1415, allocations: 0 / 499.2 MB, free: 28 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001645/0.1417, allocations: 32.03 kB / 499.2 MB, free: 15.99 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004152/0.1421, allocations: 22.25 kB / 499.3 MB, free: 15.98 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001713/0.1439, allocations: 0.8666 MB / 0.4884 GB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005514/0.1445, allocations: 0.834 MB / 0.4892 GB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001166/0.1446, allocations: 15.44 kB / 0.4892 GB, free: 14.2 MB / 346.7 MB Notification: Performance of SimCode: time 1.362e-06/0.1446, allocations: 0 / 0.4892 GB, free: 14.2 MB / 346.7 MB Notification: Performance of Templates: time 0.0114/0.156, allocations: 3.719 MB / 0.4929 GB, free: 10.48 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test4/Test4.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches