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.0008181/0.0008181, allocations: 166.8 kB / 16.72 MB, free: 4.965 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.245/1.245, allocations: 205.4 MB / 222.9 MB, free: 9.008 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.000715/0.0007148, allocations: 97 kB / 271.2 MB, free: 8.238 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.3138/0.3138, allocations: 43.56 MB / 363.1 MB, free: 51.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004183/0.0004183, allocations: 20 kB / 432 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.114/0.1144, allocations: 58.85 MB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test7): time 0.001959/0.1165, allocations: 1.27 MB / 492.1 MB, free: 9.379 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005892/0.1171, allocations: 319.8 kB / 492.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.96e-05/0.1171, allocations: 0 / 492.4 MB, free: 9.062 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005614/0.1177, allocations: 439.2 kB / 492.8 MB, free: 8.633 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003049/0.118, allocations: 239.5 kB / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.1184, allocations: 139.8 kB / 493.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001786/0.1186, allocations: 127.7 kB / 493.3 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.808e-05/0.1187, allocations: 15.97 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.754e-05/0.1188, allocations: 103.8 kB / 493.4 MB, free: 8.02 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001899/0.119, allocations: 163.7 kB / 493.6 MB, free: 7.859 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.119, allocations: 0 / 493.6 MB, free: 7.859 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.19e-05/0.1191, allocations: 20 kB / 493.6 MB, free: 7.84 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.213e-05/0.1192, allocations: 83.69 kB / 493.7 MB, free: 7.758 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.996e-05/0.1193, allocations: 108.9 kB / 493.8 MB, free: 7.645 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001916/0.1195, allocations: 171.7 kB / 494 MB, free: 7.477 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.1195, allocations: 4 kB / 494 MB, free: 7.473 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.1195, allocations: 0 / 494 MB, free: 7.473 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.648e-06/0.1195, allocations: 4 kB / 494 MB, free: 7.469 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.0005955/0.1201, allocations: 0.5874 MB / 494.6 MB, free: 6.832 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.368e-05/0.1201, allocations: 8.031 kB / 494.6 MB, free: 6.824 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.203e-05/0.1202, allocations: 36.47 kB / 494.6 MB, free: 6.789 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002322/0.1204, allocations: 296.2 kB / 494.9 MB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.1205, allocations: 4.312 kB / 494.9 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.1205, allocations: 384 / 494.9 MB, free: 6.457 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001454/0.1206, allocations: 61.81 kB / 495 MB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.1206, allocations: 0 / 495 MB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-06/0.1207, allocations: 0 / 495 MB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.1207, allocations: 0 / 495 MB, free: 6.391 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.232e-05/0.1208, allocations: 31.97 kB / 495 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000466/0.1212, allocations: 388.8 kB / 495.4 MB, free: 5.93 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.185e-05/0.1213, allocations: 38.5 kB / 495.4 MB, free: 5.883 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.859e-05/0.1214, allocations: 12.92 kB / 495.4 MB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.383e-05/0.1214, allocations: 0 / 495.4 MB, free: 5.867 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.746e-05/0.1215, allocations: 38.56 kB / 495.5 MB, free: 5.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1215, allocations: 0 / 495.5 MB, free: 5.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002401/0.1217, allocations: 109 kB / 495.6 MB, free: 5.707 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.1217, allocations: 51.41 kB / 495.6 MB, free: 5.645 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007443/0.1225, allocations: 0.8574 MB / 496.5 MB, free: 4.777 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.411e-05/0.1225, allocations: 29.7 kB / 496.5 MB, free: 4.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001519/0.1227, allocations: 232.2 kB / 496.7 MB, free: 4.512 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.216e-05/0.1227, allocations: 3.906 kB / 496.7 MB, free: 4.508 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.1227, allocations: 0 / 496.7 MB, free: 4.508 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001232/0.1228, allocations: 358.7 kB / 497.1 MB, free: 4.148 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.325e-05/0.1229, allocations: 15.98 kB / 497.1 MB, free: 4.133 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.18e-05/0.1229, allocations: 8 kB / 497.1 MB, free: 4.125 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.7e-05/0.123, allocations: 40.89 kB / 497.2 MB, free: 4.082 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.123, allocations: 0 / 497.2 MB, free: 4.082 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001385/0.1232, allocations: 97.16 kB / 497.3 MB, free: 3.98 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.481e-05/0.1232, allocations: 7.281 kB / 497.3 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.1232, allocations: 0 / 497.3 MB, free: 3.977 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.324e-05/0.1232, allocations: 3.938 kB / 497.3 MB, free: 3.973 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.447e-05/0.1233, allocations: 12.03 kB / 497.3 MB, free: 3.961 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.1233, allocations: 3.984 kB / 497.3 MB, free: 3.957 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.155e-05/0.1233, allocations: 7.906 kB / 497.3 MB, free: 3.949 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.1233, allocations: 0 / 497.3 MB, free: 3.949 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 (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.0001639/0.1235, allocations: 213.7 kB / 497.5 MB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.411e-05/0.1236, allocations: 35.53 kB / 497.5 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001837/0.1238, allocations: 120.6 kB / 497.6 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.1238, allocations: 0 / 497.6 MB, free: 3.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1238, allocations: 3.938 kB / 497.7 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1238, allocations: 0 / 497.7 MB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002523/0.124, allocations: 285.5 kB / 497.9 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1241, allocations: 0 / 497.9 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.398e-05/0.1241, allocations: 4 kB / 497.9 MB, free: 3.234 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.963e-06/0.1241, allocations: 7.984 kB / 497.9 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1241, allocations: 0 / 497.9 MB, free: 3.227 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1241, allocations: 8.031 kB / 497.9 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1241, allocations: 0 / 497.9 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001811/0.1243, allocations: 194.9 kB / 498.1 MB, free: 3.012 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.1244, allocations: 112.6 kB / 498.2 MB, free: 2.883 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.125e-05/0.1244, allocations: 3.984 kB / 498.3 MB, free: 2.879 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.451e-05/0.1245, allocations: 7.969 kB / 498.3 MB, free: 2.871 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.1245, allocations: 8 kB / 498.3 MB, free: 2.863 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.1245, allocations: 0 / 498.3 MB, free: 2.863 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000593/0.1251, allocations: 0.6511 MB / 498.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.634e-06/0.1252, allocations: 0 / 498.9 MB, free: 2.215 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002178/0.1254, allocations: 23.84 kB / 498.9 MB, free: 2.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 (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.0007054/0.1261, allocations: 351 kB / 499.3 MB, free: 1.883 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001254/0.1262, allocations: 23.98 kB / 499.3 MB, free: 1.859 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1262, allocations: 0 / 499.3 MB, free: 1.859 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.659e-05/0.1263, allocations: 20.05 kB / 499.3 MB, free: 1.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.1266, allocations: 25.95 kB / 499.4 MB, free: 1.812 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.1277, allocations: 0.8345 MB / 0.4885 GB, free: 0.9414 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003667/0.1281, allocations: 0.8145 MB / 0.4893 GB, free: 104 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.1281, allocations: 11.44 kB / 0.4893 GB, free: 96 kB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.1281, allocations: 3.938 kB / 0.4893 GB, free: 92 kB / 378.7 MB Notification: Performance of Templates: time 0.1946/0.3227, allocations: 3.373 MB / 0.4926 GB, free: 42.11 MB / 378.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/jenkins/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