Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.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.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002468/0.002467, allocations: 188.9 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.245/2.245, 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.001641/0.001641, allocations: 94.86 kB / 270.9 MB, free: 13.38 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.2974/0.2974, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006346/0.0006349, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1174, allocations: 58.85 MB / 490.2 MB, free: 9.352 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.002448/0.1199, allocations: 1.302 MB / 491.5 MB, free: 8.031 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008586/0.1208, allocations: 299.8 kB / 491.8 MB, free: 7.734 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.485e-05/0.1209, allocations: 4 kB / 491.8 MB, free: 7.73 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.1212, allocations: 63.83 kB / 491.9 MB, free: 7.668 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002104/0.1214, allocations: 51.81 kB / 491.9 MB, free: 7.617 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005903/0.122, allocations: 139.8 kB / 492.1 MB, free: 7.48 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001748/0.1222, allocations: 51.92 kB / 492.1 MB, free: 7.43 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/0.1223, allocations: 15.98 kB / 492.1 MB, free: 7.414 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001024/0.1224, allocations: 31.84 kB / 492.2 MB, free: 7.383 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001125/0.1225, allocations: 35.89 kB / 492.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 1.828e-05/0.1226, allocations: 0 / 492.2 MB, free: 7.348 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.93e-05/0.1227, allocations: 27.88 kB / 492.2 MB, free: 7.32 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 6.124e-05/0.1228, allocations: 19.98 kB / 492.2 MB, free: 7.301 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.1228, allocations: 37.64 kB / 492.3 MB, free: 7.258 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001737/0.123, allocations: 76.14 kB / 492.4 MB, free: 7.184 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.123, allocations: 0 / 492.4 MB, free: 7.184 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.613e-06/0.123, allocations: 4 kB / 492.4 MB, free: 7.18 MB / 330.7 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1231, allocations: 0 / 492.4 MB, free: 7.18 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.0006212/0.1237, allocations: 410.8 kB / 492.8 MB, free: 6.73 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.705e-05/0.1237, allocations: 16.02 kB / 492.8 MB, free: 6.715 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.972e-05/0.1238, allocations: 11.81 kB / 492.8 MB, free: 6.703 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002533/0.1241, allocations: 207.5 kB / 493 MB, free: 6.461 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.457e-05/0.1241, allocations: 4 kB / 493 MB, free: 6.457 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/0.1241, allocations: 7.984 kB / 493 MB, free: 6.449 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002454/0.1244, allocations: 61.67 kB / 493.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.351e-05/0.1244, allocations: 0 / 493.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1244, allocations: 3.938 kB / 493.1 MB, free: 6.379 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1245, allocations: 8 kB / 493.1 MB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002475/0.1247, allocations: 43.91 kB / 493.1 MB, free: 6.328 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005943/0.1253, allocations: 316.8 kB / 493.4 MB, free: 5.969 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001927/0.1255, allocations: 50.56 kB / 493.5 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.1256, allocations: 0 / 493.5 MB, free: 5.91 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.288e-05/0.1256, allocations: 34.5 kB / 493.5 MB, free: 5.867 MB / 330.7 MB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.1256, allocations: 0 / 493.5 MB, free: 5.867 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.001318/0.127, allocations: 277.1 kB / 493.8 MB, free: 5.59 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.606e-05/0.127, allocations: 51.41 kB / 493.8 MB, free: 5.527 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002895/0.1273, allocations: 218.3 kB / 494 MB, free: 5.305 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.998e-05/0.1274, allocations: 33.7 kB / 494.1 MB, free: 5.266 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.915e-05/0.1275, allocations: 162.6 kB / 494.2 MB, free: 5.105 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/0.1275, allocations: 19.7 kB / 494.3 MB, free: 5.086 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/0.1275, allocations: 0 / 494.3 MB, free: 5.086 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001275/0.1277, allocations: 318.8 kB / 494.6 MB, free: 4.766 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.1279, allocations: 47.97 kB / 494.6 MB, free: 4.719 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000218/0.1281, allocations: 43.95 kB / 494.7 MB, free: 4.676 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002333/0.1284, allocations: 51.97 kB / 494.7 MB, free: 4.625 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.1284, allocations: 4 kB / 494.7 MB, free: 4.621 MB / 330.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005301/0.1289, allocations: 125.5 kB / 494.8 MB, free: 4.492 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.129, allocations: 12 kB / 494.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.366e-06/0.129, allocations: 0 / 494.8 MB, free: 4.48 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.129, allocations: 7.891 kB / 494.9 MB, free: 4.473 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002028/0.1292, allocations: 19.98 kB / 494.9 MB, free: 4.453 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/0.1293, allocations: 7.984 kB / 494.9 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.1294, allocations: 15.88 kB / 494.9 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.24e-05/0.1294, allocations: 0 / 494.9 MB, free: 4.43 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 (7): * Single equations (assignments): 7 * 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.0001407/0.1296, allocations: 133.8 kB / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.788e-05/0.1296, allocations: 11.91 kB / 495 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006124/0.1303, allocations: 162.9 kB / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.728e-06/0.1303, allocations: 0 / 495.2 MB, free: 4.113 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.1303, allocations: 3.953 kB / 495.2 MB, free: 4.109 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.1303, allocations: 3.984 kB / 495.2 MB, free: 4.105 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000963/0.1313, allocations: 434.8 kB / 495.6 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1313, allocations: 0 / 495.6 MB, free: 3.625 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.1315, allocations: 24.27 kB / 495.7 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.743e-06/0.1315, allocations: 0 / 495.7 MB, free: 3.602 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/0.1316, allocations: 7.953 kB / 495.7 MB, free: 3.594 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.337e-06/0.1316, allocations: 3.938 kB / 495.7 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.749e-06/0.1316, allocations: 3.984 kB / 495.7 MB, free: 3.586 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005885/0.1322, allocations: 239.5 kB / 495.9 MB, free: 3.336 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.52e-05/0.1323, allocations: 100.8 kB / 496 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.1323, allocations: 0 / 496 MB, free: 3.219 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001635/0.1325, allocations: 23.94 kB / 496 MB, free: 3.195 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.659e-05/0.1325, allocations: 7.984 kB / 496 MB, free: 3.188 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.1326, allocations: 0 / 496 MB, free: 3.188 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002008/0.1328, allocations: 163.2 kB / 496.2 MB, free: 3.027 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.1328, allocations: 0 / 496.2 MB, free: 3.027 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003356/0.1331, allocations: 16 kB / 496.2 MB, free: 3.012 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 (7): * Single equations (assignments): 7 * 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.001171/0.1343, allocations: 400.6 kB / 496.6 MB, free: 2.66 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005979/0.135, allocations: 111.8 kB / 496.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.135, allocations: 0 / 496.7 MB, free: 2.551 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002433/0.1352, allocations: 55.97 kB / 496.8 MB, free: 2.496 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003416/0.1356, allocations: 23.67 kB / 496.8 MB, free: 2.477 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007605/0.1364, allocations: 307.2 kB / 497.1 MB, free: 2.141 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004211/0.1368, allocations: 0.716 MB / 497.8 MB, free: 1.398 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.706e-05/0.1369, allocations: 15.44 kB / 497.8 MB, free: 1.383 MB / 330.7 MB Notification: Performance of SimCode: time 1.232e-06/0.1369, allocations: 0 / 497.8 MB, free: 1.383 MB / 330.7 MB Notification: Performance of Templates: time 0.005525/0.1424, allocations: 1.777 MB / 499.6 MB, free: 15.61 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches