Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1D.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001508/0.001512, allocations: 182.7 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.148/2.148, allocations: 205.4 MB / 222.5 MB, free: 9.113 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.001177, allocations: 96.44 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.536/0.536, allocations: 43.56 MB / 362.7 MB, free: 52.2 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004767, allocations: 12 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1298, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test19): time 0.002429/0.1323, allocations: 1.255 MB / 491.5 MB, free: 9.973 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.1341, allocations: 0.8712 MB / 492.3 MB, free: 9.094 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.701e-05/0.1342, allocations: 4 kB / 492.3 MB, free: 9.09 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001964/0.1344, allocations: 23.91 kB / 492.4 MB, free: 9.066 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001771/0.1346, allocations: 31.84 kB / 492.4 MB, free: 9.035 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.1349, allocations: 75.88 kB / 492.5 MB, free: 8.961 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001205/0.1351, allocations: 35.91 kB / 492.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.482e-05/0.1352, allocations: 19.97 kB / 492.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.632e-05/0.1352, allocations: 15.92 kB / 492.5 MB, free: 8.891 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001171/0.1354, allocations: 19.86 kB / 492.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1354, allocations: 4 kB / 492.6 MB, free: 8.867 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001082/0.1355, allocations: 31.92 kB / 492.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.1356, allocations: 11.98 kB / 492.6 MB, free: 8.824 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.003e-05/0.1356, allocations: 33.64 kB / 492.6 MB, free: 8.785 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.1358, allocations: 63.89 kB / 492.7 MB, free: 8.723 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.1358, allocations: 8 kB / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1358, allocations: 0 / 492.7 MB, free: 8.715 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.1358, allocations: 0 / 492.7 MB, free: 8.715 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005357/0.1364, allocations: 371.4 kB / 493.1 MB, free: 8.305 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.1364, allocations: 16.02 kB / 493.1 MB, free: 8.289 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.961e-05/0.1365, allocations: 7.859 kB / 493.1 MB, free: 8.281 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.1367, allocations: 183 kB / 493.3 MB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.1368, allocations: 7.938 kB / 493.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.528e-05/0.1368, allocations: 0 / 493.3 MB, free: 8.055 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002107/0.137, allocations: 67.41 kB / 493.4 MB, free: 7.977 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.793e-05/0.137, allocations: 7.891 kB / 493.4 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.1371, allocations: 0 / 493.4 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.1371, allocations: 0 / 493.4 MB, free: 7.969 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001485/0.1372, allocations: 27.94 kB / 493.4 MB, free: 7.941 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004908/0.1377, allocations: 284.9 kB / 493.7 MB, free: 7.613 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002716/0.138, allocations: 50.55 kB / 493.7 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.1381, allocations: 0 / 493.7 MB, free: 7.555 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.174e-05/0.1381, allocations: 34.56 kB / 493.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.492e-06/0.1381, allocations: 0 / 493.8 MB, free: 7.512 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008391/0.139, allocations: 165.4 kB / 493.9 MB, free: 7.344 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.293e-05/0.139, allocations: 85.09 kB / 494 MB, free: 7.242 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001759/0.1392, allocations: 129.8 kB / 494.1 MB, free: 7.105 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1393, allocations: 25.7 kB / 494.1 MB, free: 7.074 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.1394, allocations: 162.5 kB / 494.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.586e-05/0.1394, allocations: 15.75 kB / 494.3 MB, free: 6.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.167e-05/0.1394, allocations: 4 kB / 494.3 MB, free: 6.895 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.1396, allocations: 314.8 kB / 494.6 MB, free: 6.578 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001289/0.1397, allocations: 27.92 kB / 494.7 MB, free: 6.551 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001425/0.1399, allocations: 49.62 kB / 494.7 MB, free: 6.496 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001455/0.1401, allocations: 32.17 kB / 494.7 MB, free: 6.465 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1401, allocations: 0 / 494.7 MB, free: 6.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003145/0.1404, allocations: 85.7 kB / 494.8 MB, free: 6.375 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.1404, allocations: 4 kB / 494.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.199e-05/0.1405, allocations: 7.938 kB / 494.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.458e-05/0.1405, allocations: 0 / 494.8 MB, free: 6.363 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.1406, allocations: 12 kB / 494.8 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.1406, allocations: 0 / 494.8 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.748e-05/0.1407, allocations: 11.98 kB / 494.9 MB, free: 6.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.1407, allocations: 8 kB / 494.9 MB, free: 6.332 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 (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.0001198/0.1409, allocations: 117.8 kB / 495 MB, free: 6.207 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.268e-05/0.1409, allocations: 7.906 kB / 495 MB, free: 6.199 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003816/0.1413, allocations: 101.6 kB / 495.1 MB, free: 6.094 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.082e-06/0.1413, allocations: 7.953 kB / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.86e-06/0.1414, allocations: 0 / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.1414, allocations: 0 / 495.1 MB, free: 6.086 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006522/0.142, allocations: 358.5 kB / 495.4 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.142, allocations: 0 / 495.4 MB, free: 5.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001089/0.1422, allocations: 19.98 kB / 495.5 MB, free: 5.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.1422, allocations: 3.953 kB / 495.5 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.099e-05/0.1422, allocations: 0 / 495.5 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1422, allocations: 0 / 495.5 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.1422, allocations: 0 / 495.5 MB, free: 5.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.1426, allocations: 195.6 kB / 495.7 MB, free: 5.449 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.22e-05/0.1427, allocations: 85.02 kB / 495.7 MB, free: 5.348 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.938e-05/0.1427, allocations: 7.953 kB / 495.8 MB, free: 5.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001088/0.1428, allocations: 11.92 kB / 495.8 MB, free: 5.328 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.62e-05/0.1429, allocations: 4 kB / 495.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.204e-06/0.1429, allocations: 0 / 495.8 MB, free: 5.324 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000118/0.143, allocations: 107.8 kB / 495.9 MB, free: 5.219 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.143, allocations: 4 kB / 495.9 MB, free: 5.215 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000346/0.1434, allocations: 23.98 kB / 495.9 MB, free: 5.191 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 (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.00133/0.1447, allocations: 444.3 kB / 496.3 MB, free: 4.805 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003429/0.1451, allocations: 59.97 kB / 496.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.1451, allocations: 0 / 496.4 MB, free: 4.746 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.1453, allocations: 35.91 kB / 496.4 MB, free: 4.711 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.1456, allocations: 15.94 kB / 496.4 MB, free: 4.695 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.1461, allocations: 206.4 kB / 496.6 MB, free: 4.457 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.1464, allocations: 0.6926 MB / 497.3 MB, free: 3.738 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.801e-05/0.1465, allocations: 15.42 kB / 497.4 MB, free: 3.727 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.1465, allocations: 0 / 497.4 MB, free: 3.727 MB / 378.7 MB Notification: Performance of Templates: time 0.004836/0.1514, allocations: 1.595 MB / 498.9 MB, free: 2.133 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches