Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.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.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab") translateModel(ModelicaTest.Tables.CombiTable2D.Test18_usertab,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|ramp.y|ramp1.y|realExpression.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001758/0.001763, allocations: 183.9 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 1.982/1.982, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.001178/0.001178, allocations: 97.72 kB / 270.9 MB, free: 8.355 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.5643/0.5643, allocations: 43.55 MB / 362.7 MB, free: 51.87 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004721/0.0004722, allocations: 19.98 kB / 431.4 MB, free: 5.914 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1335, allocations: 58.83 MB / 490.2 MB, free: 10.99 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test18_usertab): time 0.002643/0.1362, allocations: 1.348 MB / 491.6 MB, free: 9.629 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008767/0.1371, allocations: 311.7 kB / 491.9 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.966e-05/0.1372, allocations: 0 / 491.9 MB, free: 9.32 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001997/0.1374, allocations: 15.88 kB / 491.9 MB, free: 9.305 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001955/0.1376, allocations: 43.88 kB / 491.9 MB, free: 9.262 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004497/0.1381, allocations: 99.81 kB / 492 MB, free: 9.164 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001576/0.1382, allocations: 47.86 kB / 492.1 MB, free: 9.117 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001056/0.1383, allocations: 16.22 kB / 492.1 MB, free: 9.102 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.541e-05/0.1384, allocations: 27.86 kB / 492.1 MB, free: 9.074 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.744e-05/0.1385, allocations: 31.84 kB / 492.1 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.656e-05/0.1385, allocations: 0 / 492.1 MB, free: 9.043 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001398/0.1387, allocations: 39.97 kB / 492.2 MB, free: 9.004 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.618e-05/0.1388, allocations: 19.86 kB / 492.2 MB, free: 8.984 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.482e-05/0.1388, allocations: 33.7 kB / 492.2 MB, free: 8.945 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000205/0.139, allocations: 80.14 kB / 492.3 MB, free: 8.867 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.474e-06/0.139, allocations: 0 / 492.3 MB, free: 8.867 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.118e-06/0.139, allocations: 0 / 492.3 MB, free: 8.867 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1391, allocations: 3.938 kB / 492.3 MB, free: 8.863 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0008324/0.1399, allocations: 426.6 kB / 492.7 MB, free: 8.402 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.14, allocations: 8.031 kB / 492.7 MB, free: 8.395 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.345e-05/0.14, allocations: 11.86 kB / 492.8 MB, free: 8.383 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.1403, allocations: 194.9 kB / 492.9 MB, free: 8.152 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/0.1403, allocations: 4 kB / 492.9 MB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.726e-05/0.1404, allocations: 8 kB / 493 MB, free: 8.141 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/0.1408, allocations: 99.3 kB / 493.1 MB, free: 8.031 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.647e-05/0.1408, allocations: 4 kB / 493.1 MB, free: 8.027 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.1409, allocations: 7.938 kB / 493.1 MB, free: 8.02 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.215e-06/0.1409, allocations: 7.953 kB / 493.1 MB, free: 8.012 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005771/0.1415, allocations: 103.9 kB / 493.2 MB, free: 7.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005357/0.142, allocations: 296.8 kB / 493.5 MB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003986/0.1424, allocations: 86.47 kB / 493.5 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.1425, allocations: 0 / 493.5 MB, free: 7.477 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.711e-05/0.1425, allocations: 38.52 kB / 493.6 MB, free: 7.43 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.483e-06/0.1425, allocations: 0 / 493.6 MB, free: 7.43 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.002871/0.1454, allocations: 469 kB / 494 MB, free: 6.965 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.305e-05/0.1455, allocations: 81.11 kB / 494.1 MB, free: 6.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002199/0.1457, allocations: 153.6 kB / 494.3 MB, free: 6.707 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.499e-05/0.1458, allocations: 25.7 kB / 494.3 MB, free: 6.676 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.953e-05/0.1459, allocations: 162.6 kB / 494.5 MB, free: 6.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.131e-05/0.1459, allocations: 35.61 kB / 494.5 MB, free: 6.48 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.001e-05/0.146, allocations: 0 / 494.5 MB, free: 6.48 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.1461, allocations: 310.8 kB / 494.8 MB, free: 6.168 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005379/0.1467, allocations: 95.92 kB / 494.9 MB, free: 6.074 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005464/0.1472, allocations: 101.6 kB / 495 MB, free: 5.969 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005694/0.1478, allocations: 95.91 kB / 495.1 MB, free: 5.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1478, allocations: 0 / 495.1 MB, free: 5.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001158/0.149, allocations: 217.5 kB / 495.3 MB, free: 5.656 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.149, allocations: 4 kB / 495.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.673e-06/0.149, allocations: 0 / 495.3 MB, free: 5.652 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.127e-05/0.1491, allocations: 4 kB / 495.3 MB, free: 5.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003921/0.1495, allocations: 47.95 kB / 495.3 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1495, allocations: 0 / 495.3 MB, free: 5.602 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003/0.1498, allocations: 35.97 kB / 495.4 MB, free: 5.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.444e-05/0.1498, allocations: 0 / 495.4 MB, free: 5.566 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 (8): * Single equations (assignments): 8 * 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.0001533/0.15, allocations: 129.8 kB / 495.5 MB, free: 5.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.875e-05/0.15, allocations: 7.906 kB / 495.5 MB, free: 5.422 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001239/0.1513, allocations: 250.1 kB / 495.8 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.1513, allocations: 0 / 495.8 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/0.1513, allocations: 0 / 495.8 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.1513, allocations: 3.984 kB / 495.8 MB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00161/0.153, allocations: 0.51 MB / 496.3 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.338e-06/0.153, allocations: 0 / 496.3 MB, free: 4.605 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003646/0.1534, allocations: 51.95 kB / 496.3 MB, free: 4.555 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.02e-05/0.1534, allocations: 4 kB / 496.3 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.622e-05/0.1534, allocations: 0 / 496.3 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1534, allocations: 0 / 496.3 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1534, allocations: 0 / 496.3 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.1547, allocations: 335.7 kB / 496.7 MB, free: 4.207 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.904e-05/0.1548, allocations: 85.38 kB / 496.7 MB, free: 4.105 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.93e-05/0.1549, allocations: 12 kB / 496.8 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.1552, allocations: 35.95 kB / 496.8 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.25e-05/0.1553, allocations: 11.92 kB / 496.8 MB, free: 4.047 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.1553, allocations: 8 kB / 496.8 MB, free: 4.039 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001471/0.1555, allocations: 114.7 kB / 496.9 MB, free: 3.93 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.1555, allocations: 4 kB / 496.9 MB, free: 3.926 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004295/0.1559, allocations: 28 kB / 496.9 MB, free: 3.898 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 (8): * Single equations (assignments): 8 * 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.001358/0.1573, allocations: 458.8 kB / 497.4 MB, free: 3.492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001178/0.1585, allocations: 191.8 kB / 497.6 MB, free: 3.305 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.1585, allocations: 4 kB / 497.6 MB, free: 3.301 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005687/0.1591, allocations: 103.9 kB / 497.7 MB, free: 3.199 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003647/0.1595, allocations: 19.94 kB / 497.7 MB, free: 3.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006842/0.1602, allocations: 234.9 kB / 497.9 MB, free: 2.918 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003415/0.1605, allocations: 0.7043 MB / 498.6 MB, free: 2.188 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001154/0.1607, allocations: 19.42 kB / 498.7 MB, free: 2.168 MB / 378.7 MB Notification: Performance of SimCode: time 8.51e-07/0.1607, allocations: 0 / 498.7 MB, free: 2.168 MB / 378.7 MB Notification: Performance of Templates: time 0.006022/0.1667, allocations: 2.152 MB / 0.4891 GB, free: 20 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test18_usertab/Test18_usertab.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test18_usertab.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches