Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30") translateModel(ModelicaTest.Tables.CombiTable2D.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001682/0.001688, allocations: 182.6 kB / 16.4 MB, free: 5.75 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.236/2.236, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.001138/0.001138, allocations: 99.16 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.5151/0.5151, allocations: 43.55 MB / 362.7 MB, free: 52.17 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004944/0.000495, allocations: 15.98 kB / 431.4 MB, free: 6.184 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1272, allocations: 58.85 MB / 490.2 MB, free: 11.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test30): time 0.002656/0.1299, allocations: 1.305 MB / 491.5 MB, free: 9.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008629/0.1308, allocations: 283.8 kB / 491.8 MB, free: 9.648 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.747e-05/0.1309, allocations: 4 kB / 491.8 MB, free: 9.645 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002886/0.1312, allocations: 67.83 kB / 491.9 MB, free: 9.578 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002023/0.1314, allocations: 47.88 kB / 491.9 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.1319, allocations: 99.8 kB / 492 MB, free: 9.434 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001547/0.132, allocations: 47.88 kB / 492.1 MB, free: 9.387 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001075/0.1322, allocations: 16.17 kB / 492.1 MB, free: 9.371 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.172e-05/0.1322, allocations: 23.92 kB / 492.1 MB, free: 9.348 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1324, allocations: 43.81 kB / 492.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.371e-05/0.1324, allocations: 0 / 492.1 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.794e-05/0.1325, allocations: 23.94 kB / 492.2 MB, free: 9.281 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.499e-05/0.1326, allocations: 19.92 kB / 492.2 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.129e-05/0.1326, allocations: 37.64 kB / 492.2 MB, free: 9.219 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.1328, allocations: 75.88 kB / 492.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.1328, allocations: 0 / 492.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1328, allocations: 0 / 492.3 MB, free: 9.145 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.599e-06/0.1329, allocations: 0 / 492.3 MB, free: 9.145 MB / 378.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.0006709/0.1335, allocations: 411.1 kB / 492.7 MB, free: 8.695 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.1336, allocations: 12.02 kB / 492.7 MB, free: 8.684 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.964e-05/0.1336, allocations: 11.86 kB / 492.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000234/0.1339, allocations: 191.6 kB / 492.9 MB, free: 8.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1339, allocations: 8 kB / 492.9 MB, free: 8.438 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.892e-05/0.134, allocations: 4 kB / 492.9 MB, free: 8.434 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002264/0.1342, allocations: 61.61 kB / 493 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.1342, allocations: 0 / 493 MB, free: 8.367 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.491e-05/0.1343, allocations: 4 kB / 493 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.1343, allocations: 0 / 493 MB, free: 8.363 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002407/0.1345, allocations: 51.86 kB / 493 MB, free: 8.312 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004892/0.135, allocations: 296.8 kB / 493.3 MB, free: 7.973 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.1352, allocations: 54.48 kB / 493.4 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.954e-05/0.1353, allocations: 0 / 493.4 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.1353, allocations: 30.56 kB / 493.4 MB, free: 7.871 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 4.368e-06/0.1353, allocations: 3.984 kB / 493.4 MB, free: 7.867 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.001226/0.1366, allocations: 249.2 kB / 493.7 MB, free: 7.617 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.293e-05/0.1366, allocations: 55.41 kB / 493.7 MB, free: 7.551 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.1369, allocations: 204.8 kB / 493.9 MB, free: 7.34 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.018e-05/0.137, allocations: 25.7 kB / 493.9 MB, free: 7.309 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001339/0.1371, allocations: 178.4 kB / 494.1 MB, free: 7.133 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.175e-05/0.1372, allocations: 15.8 kB / 494.1 MB, free: 7.117 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.582e-06/0.1372, allocations: 3.938 kB / 494.1 MB, free: 7.113 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001616/0.1374, allocations: 318.8 kB / 494.4 MB, free: 6.793 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.1376, allocations: 39.95 kB / 494.5 MB, free: 6.754 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.1378, allocations: 47.97 kB / 494.5 MB, free: 6.707 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002152/0.138, allocations: 39.97 kB / 494.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.138, allocations: 0 / 494.6 MB, free: 6.668 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000525/0.1386, allocations: 121.6 kB / 494.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.1386, allocations: 11.95 kB / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1386, allocations: 0 / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.1387, allocations: 0 / 494.7 MB, free: 6.531 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002087/0.1389, allocations: 27.98 kB / 494.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.413e-06/0.1389, allocations: 0 / 494.7 MB, free: 6.504 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001212/0.139, allocations: 11.98 kB / 494.7 MB, free: 6.492 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.369e-05/0.139, allocations: 4 kB / 494.7 MB, free: 6.488 MB / 378.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.0001516/0.1392, allocations: 121.8 kB / 494.9 MB, free: 6.359 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.257e-05/0.1393, allocations: 19.8 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006063/0.1399, allocations: 155.2 kB / 495 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.087e-06/0.1399, allocations: 0 / 495 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.1399, allocations: 0 / 495 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1399, allocations: 4 kB / 495 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009115/0.1409, allocations: 414.5 kB / 495.4 MB, free: 5.715 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.1409, allocations: 4 kB / 495.4 MB, free: 5.711 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.1411, allocations: 27.92 kB / 495.5 MB, free: 5.684 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-06/0.1411, allocations: 3.938 kB / 495.5 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.1411, allocations: 8 kB / 495.5 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.1411, allocations: 0 / 495.5 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.1412, allocations: 0 / 495.5 MB, free: 5.672 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005502/0.1417, allocations: 223.4 kB / 495.7 MB, free: 5.438 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.1418, allocations: 88.92 kB / 495.8 MB, free: 5.332 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/0.1419, allocations: 15.94 kB / 495.8 MB, free: 5.316 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001573/0.142, allocations: 12 kB / 495.8 MB, free: 5.305 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.896e-05/0.1421, allocations: 7.984 kB / 495.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.189e-05/0.1421, allocations: 0 / 495.8 MB, free: 5.297 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002097/0.1423, allocations: 168.8 kB / 496 MB, free: 5.133 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.71e-07/0.1423, allocations: 0 / 496 MB, free: 5.133 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000335/0.1427, allocations: 20 kB / 496 MB, free: 5.113 MB / 378.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.001191/0.1439, allocations: 404.9 kB / 496.4 MB, free: 4.762 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005052/0.1444, allocations: 91.95 kB / 496.5 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1444, allocations: 0 / 496.5 MB, free: 4.672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002268/0.1447, allocations: 51.91 kB / 496.5 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003223/0.145, allocations: 11.98 kB / 496.5 MB, free: 4.609 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007022/0.1457, allocations: 291.4 kB / 496.8 MB, free: 4.285 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.1461, allocations: 0.7082 MB / 497.5 MB, free: 3.551 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.775e-05/0.1462, allocations: 19.42 kB / 497.6 MB, free: 3.535 MB / 378.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1462, allocations: 4 kB / 497.6 MB, free: 3.531 MB / 378.7 MB Notification: Performance of Templates: time 0.004916/0.1511, allocations: 1.676 MB / 499.2 MB, free: 1.855 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test30/Test30.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches