Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.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.CombiTable1D.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33") translateModel(ModelicaTest.Tables.CombiTable1D.Test33,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001542/0.001547, allocations: 186.3 kB / 16.4 MB, free: 5.621 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.179/2.179, allocations: 205.4 MB / 222.5 MB, free: 13.59 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.001194/0.001193, allocations: 94.86 kB / 270.9 MB, free: 13.12 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.2933/0.2933, allocations: 43.57 MB / 362.7 MB, free: 11.26 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004904/0.0004904, allocations: 12 kB / 431.4 MB, free: 20.25 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1403, allocations: 58.85 MB / 490.2 MB, free: 9.324 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test33): time 0.003236/0.1436, allocations: 1.252 MB / 491.5 MB, free: 8.055 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002459/0.1462, allocations: 0.879 MB / 492.3 MB, free: 7.168 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.231e-05/0.1463, allocations: 4 kB / 492.3 MB, free: 7.164 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.1466, allocations: 15.88 kB / 492.4 MB, free: 7.148 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002848/0.147, allocations: 39.83 kB / 492.4 MB, free: 7.109 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005301/0.1475, allocations: 79.89 kB / 492.5 MB, free: 7.031 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001996/0.1477, allocations: 27.91 kB / 492.5 MB, free: 7.004 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.1479, allocations: 23.97 kB / 492.5 MB, free: 6.98 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.294e-05/0.148, allocations: 7.938 kB / 492.5 MB, free: 6.973 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.1482, allocations: 23.86 kB / 492.6 MB, free: 6.949 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 2.408e-05/0.1482, allocations: 4 kB / 492.6 MB, free: 6.945 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001989/0.1484, allocations: 35.91 kB / 492.6 MB, free: 6.91 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 4.923e-05/0.1485, allocations: 11.98 kB / 492.6 MB, free: 6.898 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 4.832e-05/0.1485, allocations: 33.64 kB / 492.6 MB, free: 6.859 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002773/0.1488, allocations: 63.91 kB / 492.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1488, allocations: 0 / 492.7 MB, free: 6.797 MB / 330.7 MB Notification: Performance of FrontEnd: time 4.408e-06/0.1489, allocations: 4 kB / 492.7 MB, free: 6.793 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1489, allocations: 3.938 kB / 492.7 MB, free: 6.789 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.0006762/0.1496, allocations: 367.5 kB / 493.1 MB, free: 6.383 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.1496, allocations: 12.02 kB / 493.1 MB, free: 6.371 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.588e-05/0.1497, allocations: 11.86 kB / 493.1 MB, free: 6.359 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.15, allocations: 186.9 kB / 493.3 MB, free: 6.137 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.1501, allocations: 3.984 kB / 493.3 MB, free: 6.133 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.513e-05/0.1501, allocations: 8 kB / 493.3 MB, free: 6.125 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002652/0.1504, allocations: 67.33 kB / 493.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.387e-05/0.1504, allocations: 0 / 493.4 MB, free: 6.047 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.1505, allocations: 4 kB / 493.4 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1505, allocations: 0 / 493.4 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001873/0.1507, allocations: 23.98 kB / 493.4 MB, free: 6.02 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/0.1514, allocations: 280.9 kB / 493.7 MB, free: 5.695 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003458/0.1517, allocations: 54.48 kB / 493.7 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.061e-05/0.1518, allocations: 0 / 493.7 MB, free: 5.633 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.1518, allocations: 34.56 kB / 493.7 MB, free: 5.59 MB / 330.7 MB Notification: Performance of pre-optimization done (n=3): time 1.813e-06/0.1518, allocations: 4 kB / 493.7 MB, free: 5.586 MB / 330.7 MB Notification: Performance of matching and sorting (n=5): time 0.001129/0.153, allocations: 161.4 kB / 493.9 MB, free: 5.422 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/0.1531, allocations: 81.11 kB / 494 MB, free: 5.324 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.1534, allocations: 133.8 kB / 494.1 MB, free: 5.184 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.959e-05/0.1534, allocations: 29.69 kB / 494.1 MB, free: 5.148 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.1535, allocations: 158.5 kB / 494.3 MB, free: 4.992 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.174e-05/0.1536, allocations: 19.75 kB / 494.3 MB, free: 4.973 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.294e-06/0.1536, allocations: 0 / 494.3 MB, free: 4.973 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001853/0.1538, allocations: 310.8 kB / 494.6 MB, free: 4.66 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001918/0.154, allocations: 27.98 kB / 494.6 MB, free: 4.633 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.1543, allocations: 37.69 kB / 494.7 MB, free: 4.59 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.1545, allocations: 31.98 kB / 494.7 MB, free: 4.559 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.1545, allocations: 3.938 kB / 494.7 MB, free: 4.555 MB / 330.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0004763/0.155, allocations: 93.83 kB / 494.8 MB, free: 4.457 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.62e-05/0.155, allocations: 11.98 kB / 494.8 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.714e-06/0.1551, allocations: 0 / 494.8 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.591e-05/0.1551, allocations: 0 / 494.8 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.1552, allocations: 15.95 kB / 494.8 MB, free: 4.43 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/0.1552, allocations: 3.984 kB / 494.8 MB, free: 4.426 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.1554, allocations: 11.98 kB / 494.9 MB, free: 4.414 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.1554, allocations: 4 kB / 494.9 MB, free: 4.41 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.0001693/0.1556, allocations: 113.8 kB / 495 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.971e-05/0.1556, allocations: 3.906 kB / 495 MB, free: 4.285 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005644/0.1562, allocations: 113.5 kB / 495.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.591e-06/0.1563, allocations: 0 / 495.1 MB, free: 4.168 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.011e-05/0.1563, allocations: 3.953 kB / 495.1 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.1563, allocations: 0 / 495.1 MB, free: 4.164 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.1573, allocations: 358.5 kB / 495.4 MB, free: 3.758 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.276e-06/0.1574, allocations: 4 kB / 495.4 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000134/0.1575, allocations: 19.92 kB / 495.5 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.61e-06/0.1575, allocations: 0 / 495.5 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.596e-05/0.1576, allocations: 3.953 kB / 495.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1576, allocations: 0 / 495.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1576, allocations: 0 / 495.5 MB, free: 3.73 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004967/0.1581, allocations: 195.6 kB / 495.7 MB, free: 3.523 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.629e-05/0.1582, allocations: 81.08 kB / 495.7 MB, free: 3.426 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.1583, allocations: 4 kB / 495.7 MB, free: 3.422 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001796/0.1585, allocations: 15.94 kB / 495.8 MB, free: 3.406 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.112e-05/0.1585, allocations: 4 kB / 495.8 MB, free: 3.402 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.549e-05/0.1586, allocations: 4.281 kB / 495.8 MB, free: 3.398 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001677/0.1588, allocations: 107.8 kB / 495.9 MB, free: 3.293 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.1588, allocations: 3.938 kB / 495.9 MB, free: 3.289 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005903/0.1594, allocations: 20 kB / 495.9 MB, free: 3.27 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 (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.001807/0.1612, allocations: 444.6 kB / 496.3 MB, free: 2.883 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005169/0.1618, allocations: 59.97 kB / 496.4 MB, free: 2.824 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.63e-06/0.1618, allocations: 0 / 496.4 MB, free: 2.824 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002029/0.162, allocations: 35.91 kB / 496.4 MB, free: 2.789 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.1625, allocations: 19.86 kB / 496.4 MB, free: 2.77 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006574/0.1631, allocations: 202.5 kB / 496.6 MB, free: 2.539 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004273/0.1636, allocations: 0.6965 MB / 497.3 MB, free: 1.816 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.1637, allocations: 15.42 kB / 497.3 MB, free: 1.801 MB / 330.7 MB Notification: Performance of SimCode: time 1.743e-06/0.1637, allocations: 0 / 497.3 MB, free: 1.801 MB / 330.7 MB Notification: Performance of Templates: time 0.006892/0.1707, allocations: 1.598 MB / 498.9 MB, free: 212 kB / 330.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test33/Test33.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test33.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches