Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.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.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001587/0.001587, allocations: 188.7 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.083/2.083, 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.001157/0.001157, allocations: 98.78 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.2917/0.2917, allocations: 43.56 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004766, allocations: 12 kB / 431.4 MB, free: 20.28 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.1255, allocations: 58.85 MB / 490.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.002523/0.1281, allocations: 1.271 MB / 491.5 MB, free: 8.059 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008753/0.129, allocations: 275.9 kB / 491.8 MB, free: 7.785 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.363e-05/0.1291, allocations: 0 / 491.8 MB, free: 7.785 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000777/0.1299, allocations: 439.1 kB / 492.2 MB, free: 7.355 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000443/0.1303, allocations: 235.6 kB / 492.4 MB, free: 7.125 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005994/0.1309, allocations: 139.7 kB / 492.6 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002792/0.1312, allocations: 111.8 kB / 492.7 MB, free: 6.879 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001189/0.1314, allocations: 16 kB / 492.7 MB, free: 6.863 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001617/0.1315, allocations: 99.77 kB / 492.8 MB, free: 6.766 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003082/0.1319, allocations: 143.8 kB / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.642e-05/0.1319, allocations: 0 / 492.9 MB, free: 6.625 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.345e-05/0.132, allocations: 8 kB / 492.9 MB, free: 6.617 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.1321, allocations: 91.67 kB / 493 MB, free: 6.527 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 7.01e-05/0.1322, allocations: 65.45 kB / 493.1 MB, free: 6.457 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003124/0.1325, allocations: 179.7 kB / 493.3 MB, free: 6.281 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.866e-06/0.1326, allocations: 0 / 493.3 MB, free: 6.281 MB / 330.7 MB Notification: Performance of FrontEnd: time 5.831e-06/0.1326, allocations: 4 kB / 493.3 MB, free: 6.277 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.1326, allocations: 0 / 493.3 MB, free: 6.277 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.0008828/0.1335, allocations: 0.5874 MB / 493.8 MB, free: 5.641 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.1335, allocations: 12.02 kB / 493.9 MB, free: 5.629 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.479e-05/0.1336, allocations: 47.39 kB / 493.9 MB, free: 5.582 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.134, allocations: 279.3 kB / 494.2 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-06/0.134, allocations: 0 / 494.2 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.513e-05/0.1341, allocations: 4 kB / 494.2 MB, free: 5.266 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001909/0.1343, allocations: 61.67 kB / 494.2 MB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.1343, allocations: 0 / 494.2 MB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.128e-05/0.1343, allocations: 0 / 494.2 MB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1343, allocations: 0 / 494.2 MB, free: 5.199 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/0.1345, allocations: 23.98 kB / 494.3 MB, free: 5.176 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00065/0.1351, allocations: 400.7 kB / 494.7 MB, free: 4.734 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001228/0.1353, allocations: 30.58 kB / 494.7 MB, free: 4.695 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.875e-05/0.1353, allocations: 3.984 kB / 494.7 MB, free: 4.691 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.1354, allocations: 30.56 kB / 494.7 MB, free: 4.652 MB / 330.7 MB Notification: Performance of pre-optimization done (n=2): time 2.034e-06/0.1354, allocations: 4 kB / 494.7 MB, free: 4.648 MB / 330.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003942/0.1358, allocations: 109.2 kB / 494.8 MB, free: 4.535 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.1358, allocations: 63.34 kB / 494.9 MB, free: 4.461 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.1371, allocations: 0.8574 MB / 495.7 MB, free: 3.594 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1372, allocations: 29.7 kB / 495.8 MB, free: 3.559 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002132/0.1374, allocations: 242.7 kB / 496 MB, free: 3.32 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.98e-05/0.1374, allocations: 7.906 kB / 496 MB, free: 3.312 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.379e-06/0.1374, allocations: 0 / 496 MB, free: 3.312 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.1376, allocations: 310.8 kB / 496.3 MB, free: 3 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.062e-05/0.1377, allocations: 11.98 kB / 496.3 MB, free: 2.988 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.857e-05/0.1377, allocations: 16 kB / 496.4 MB, free: 2.973 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.213e-05/0.1378, allocations: 12.06 kB / 496.4 MB, free: 2.961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1379, allocations: 0 / 496.4 MB, free: 2.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002066/0.1381, allocations: 61.67 kB / 496.4 MB, free: 2.895 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.1381, allocations: 10.66 kB / 496.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.1381, allocations: 0 / 496.4 MB, free: 2.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1382, allocations: 3.938 kB / 496.4 MB, free: 2.883 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.405e-05/0.1383, allocations: 4 kB / 496.4 MB, free: 2.879 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1383, allocations: 3.953 kB / 496.4 MB, free: 2.875 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.405e-05/0.1384, allocations: 15.88 kB / 496.5 MB, free: 2.859 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.267e-05/0.1384, allocations: 3.984 kB / 496.5 MB, free: 2.855 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 (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.0002747/0.1387, allocations: 205.8 kB / 496.7 MB, free: 2.645 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.598e-05/0.1388, allocations: 43.47 kB / 496.7 MB, free: 2.602 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003234/0.1391, allocations: 112.7 kB / 496.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.1391, allocations: 0 / 496.8 MB, free: 2.484 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1391, allocations: 4.031 kB / 496.8 MB, free: 2.48 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.452e-06/0.1392, allocations: 3.953 kB / 496.8 MB, free: 2.477 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.1396, allocations: 285.6 kB / 497.1 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-05/0.1396, allocations: 0 / 497.1 MB, free: 2.148 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.251e-05/0.1397, allocations: 7.938 kB / 497.1 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.1397, allocations: 0 / 497.1 MB, free: 2.141 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.121e-05/0.1397, allocations: 4 kB / 497.1 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1397, allocations: 0 / 497.1 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.1397, allocations: 0 / 497.1 MB, free: 2.137 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002859/0.14, allocations: 198.9 kB / 497.3 MB, free: 1.926 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001144/0.1402, allocations: 120.5 kB / 497.4 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.467e-05/0.1402, allocations: 0 / 497.4 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001205/0.1403, allocations: 4 kB / 497.4 MB, free: 1.785 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.714e-05/0.1404, allocations: 3.938 kB / 497.4 MB, free: 1.781 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.889e-06/0.1404, allocations: 0 / 497.4 MB, free: 1.781 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009725/0.1414, allocations: 0.6589 MB / 498.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.1414, allocations: 0 / 498.1 MB, free: 1.125 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0003493/0.1418, allocations: 19.98 kB / 498.1 MB, free: 1.105 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 (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.001009/0.1428, allocations: 359.2 kB / 498.5 MB, free: 0.793 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002085/0.143, allocations: 27.92 kB / 498.5 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.143, allocations: 0 / 498.5 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.963e-05/0.1431, allocations: 15.98 kB / 498.5 MB, free: 0.75 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003655/0.1435, allocations: 22.3 kB / 498.5 MB, free: 0.7305 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001667/0.1452, allocations: 0.8469 MB / 499.4 MB, free: 15.85 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005566/0.1458, allocations: 0.8301 MB / 0.4885 GB, free: 14.99 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.134e-05/0.1458, allocations: 11.44 kB / 0.4885 GB, free: 14.98 MB / 346.7 MB Notification: Performance of SimCode: time 1.052e-06/0.1458, allocations: 0 / 0.4885 GB, free: 14.98 MB / 346.7 MB Notification: Performance of Templates: time 0.01151/0.1573, allocations: 3.454 MB / 0.4919 GB, free: 11.52 MB / 346.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches