Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.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.Test2,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.Test2") translateModel(ModelicaTest.Tables.CombiTable1D.Test2,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.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001584/0.00159, allocations: 182.8 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.123/2.123, 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.001694/0.001693, allocations: 102.8 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.5274/0.5274, allocations: 43.55 MB / 362.7 MB, free: 52.1 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004868/0.0004868, allocations: 16 kB / 431.4 MB, free: 6.176 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1356, allocations: 58.85 MB / 490.2 MB, free: 11.24 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1D.Test2): time 0.002606/0.1383, allocations: 1.255 MB / 491.5 MB, free: 9.977 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008263/0.1392, allocations: 279.9 kB / 491.7 MB, free: 9.699 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6e-05/0.1393, allocations: 4 kB / 491.7 MB, free: 9.695 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002088/0.1395, allocations: 23.84 kB / 491.8 MB, free: 9.672 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001857/0.1397, allocations: 23.92 kB / 491.8 MB, free: 9.648 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003972/0.1401, allocations: 87.75 kB / 491.9 MB, free: 9.562 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001496/0.1403, allocations: 31.97 kB / 491.9 MB, free: 9.531 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001032/0.1404, allocations: 11.97 kB / 491.9 MB, free: 9.52 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.745e-05/0.1405, allocations: 19.88 kB / 491.9 MB, free: 9.5 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.028e-05/0.1405, allocations: 15.91 kB / 492 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.635e-05/0.1406, allocations: 0 / 492 MB, free: 9.484 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.186e-05/0.1407, allocations: 20 kB / 492 MB, free: 9.465 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.1407, allocations: 11.92 kB / 492 MB, free: 9.453 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.34e-05/0.1408, allocations: 33.7 kB / 492 MB, free: 9.414 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001539/0.1409, allocations: 59.86 kB / 492.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.675e-06/0.141, allocations: 0 / 492.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.141, allocations: 0 / 492.1 MB, free: 9.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.238e-06/0.141, allocations: 0 / 492.1 MB, free: 9.355 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.0005531/0.1416, allocations: 367.4 kB / 492.4 MB, free: 8.949 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.1416, allocations: 16.02 kB / 492.5 MB, free: 8.934 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.444e-05/0.1417, allocations: 7.859 kB / 492.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002285/0.1419, allocations: 186.9 kB / 492.6 MB, free: 8.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.1419, allocations: 15.94 kB / 492.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.142, allocations: 0 / 492.7 MB, free: 8.688 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001862/0.1422, allocations: 53.67 kB / 492.7 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.1422, allocations: 0 / 492.7 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.099e-05/0.1422, allocations: 0 / 492.7 MB, free: 8.629 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.127e-06/0.1422, allocations: 4 kB / 492.7 MB, free: 8.625 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001893/0.1424, allocations: 31.88 kB / 492.7 MB, free: 8.594 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000492/0.1429, allocations: 277 kB / 493 MB, free: 8.273 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000277/0.1432, allocations: 46.55 kB / 493.1 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.596e-05/0.1433, allocations: 0 / 493.1 MB, free: 8.219 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.1433, allocations: 38.56 kB / 493.1 MB, free: 8.172 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 6.482e-06/0.1433, allocations: 3.984 kB / 493.1 MB, free: 8.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0008695/0.1442, allocations: 173.2 kB / 493.3 MB, free: 7.992 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.647e-05/0.1443, allocations: 51.41 kB / 493.3 MB, free: 7.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001896/0.1445, allocations: 145.7 kB / 493.5 MB, free: 7.777 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.024e-05/0.1445, allocations: 29.7 kB / 493.5 MB, free: 7.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.474e-05/0.1446, allocations: 162.5 kB / 493.7 MB, free: 7.582 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.1447, allocations: 7.812 kB / 493.7 MB, free: 7.574 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.794e-06/0.1447, allocations: 4 kB / 493.7 MB, free: 7.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001386/0.1448, allocations: 318.8 kB / 494 MB, free: 7.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.145, allocations: 27.98 kB / 494 MB, free: 7.223 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001216/0.1451, allocations: 23.98 kB / 494 MB, free: 7.199 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001322/0.1453, allocations: 23.98 kB / 494.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.1453, allocations: 0 / 494.1 MB, free: 7.176 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003313/0.1456, allocations: 93.56 kB / 494.1 MB, free: 7.078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.551e-05/0.1457, allocations: 11.95 kB / 494.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.1457, allocations: 0 / 494.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.1457, allocations: 0 / 494.2 MB, free: 7.066 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000128/0.1458, allocations: 15.98 kB / 494.2 MB, free: 7.051 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.1459, allocations: 3.938 kB / 494.2 MB, free: 7.047 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.228e-05/0.1459, allocations: 8 kB / 494.2 MB, free: 7.039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.146, allocations: 0 / 494.2 MB, free: 7.039 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.0001138/0.1461, allocations: 117.8 kB / 494.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.014e-05/0.1461, allocations: 7.984 kB / 494.3 MB, free: 6.906 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004414/0.1466, allocations: 114 kB / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.1466, allocations: 0 / 494.4 MB, free: 6.785 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/0.1466, allocations: 4.062 kB / 494.4 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.1466, allocations: 0 / 494.4 MB, free: 6.781 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006777/0.1473, allocations: 362.5 kB / 494.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.1473, allocations: 0 / 494.8 MB, free: 6.371 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.1475, allocations: 15.95 kB / 494.8 MB, free: 6.355 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.945e-06/0.1475, allocations: 3.984 kB / 494.8 MB, free: 6.352 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.235e-05/0.1475, allocations: 7.938 kB / 494.8 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1475, allocations: 0 / 494.8 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.1475, allocations: 0 / 494.8 MB, free: 6.344 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.1479, allocations: 195.4 kB / 495 MB, free: 6.137 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.261e-05/0.148, allocations: 81.02 kB / 495.1 MB, free: 6.039 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.148, allocations: 7.953 kB / 495.1 MB, free: 6.031 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000104/0.1481, allocations: 8 kB / 495.1 MB, free: 6.023 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.147e-05/0.1482, allocations: 3.984 kB / 495.1 MB, free: 6.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.055e-06/0.1482, allocations: 4 kB / 495.1 MB, free: 6.016 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000125/0.1484, allocations: 115.2 kB / 495.2 MB, free: 5.902 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1484, allocations: 3.938 kB / 495.2 MB, free: 5.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003327/0.1487, allocations: 12 kB / 495.2 MB, free: 5.887 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.001195/0.1499, allocations: 406.1 kB / 495.6 MB, free: 5.531 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004326/0.1504, allocations: 55.97 kB / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.743e-06/0.1504, allocations: 0 / 495.7 MB, free: 5.477 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.1506, allocations: 35.92 kB / 495.7 MB, free: 5.441 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003323/0.1509, allocations: 11.98 kB / 495.7 MB, free: 5.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005531/0.1515, allocations: 218.2 kB / 495.9 MB, free: 5.184 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003513/0.1519, allocations: 0.6965 MB / 496.6 MB, free: 4.461 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.892e-05/0.1519, allocations: 15.42 kB / 496.6 MB, free: 4.449 MB / 378.7 MB Notification: Performance of SimCode: time 1.212e-06/0.1519, allocations: 0 / 496.6 MB, free: 4.449 MB / 378.7 MB Notification: Performance of Templates: time 0.004538/0.1565, allocations: 1.384 MB / 498 MB, free: 3.066 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable1D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable1D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches