Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2") translateModel(ModelicaTest.Tables.CombiTable2D.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000887/0.000887, allocations: 176.1 kB / 16.72 MB, free: 5.082 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.183/1.183, allocations: 205.4 MB / 222.9 MB, free: 8.949 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.000691/0.000691, allocations: 94.41 kB / 271.2 MB, free: 8.234 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.2852/0.2852, allocations: 43.56 MB / 363.1 MB, free: 51.91 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.000329, allocations: 12 kB / 432 MB, free: 5.578 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1043, allocations: 58.84 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test2): time 0.001685/0.106, allocations: 1.305 MB / 492.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005114/0.1065, allocations: 307.8 kB / 492.4 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.036e-05/0.1066, allocations: 0 / 492.4 MB, free: 9.027 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004865/0.1071, allocations: 439.2 kB / 492.9 MB, free: 8.598 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00027/0.1073, allocations: 243.5 kB / 493.1 MB, free: 8.359 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002647/0.1076, allocations: 99.88 kB / 493.2 MB, free: 8.262 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001671/0.1078, allocations: 127.7 kB / 493.3 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.618e-05/0.1079, allocations: 12.19 kB / 493.3 MB, free: 8.125 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.272e-05/0.108, allocations: 99.73 kB / 493.4 MB, free: 8.027 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000178/0.1082, allocations: 167.7 kB / 493.6 MB, free: 7.863 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.827e-05/0.1082, allocations: 4 kB / 493.6 MB, free: 7.859 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.942e-05/0.1083, allocations: 27.97 kB / 493.6 MB, free: 7.832 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001057/0.1084, allocations: 79.75 kB / 493.7 MB, free: 7.754 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.805e-05/0.1085, allocations: 116.8 kB / 493.8 MB, free: 7.633 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001834/0.1087, allocations: 179.7 kB / 494 MB, free: 7.457 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.1087, allocations: 0 / 494 MB, free: 7.457 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1087, allocations: 3.938 kB / 494 MB, free: 7.453 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.398e-06/0.1087, allocations: 4 kB / 494 MB, free: 7.449 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005809/0.1093, allocations: 0.5797 MB / 494.6 MB, free: 6.82 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.1093, allocations: 8.031 kB / 494.6 MB, free: 6.812 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.1094, allocations: 48.38 kB / 494.6 MB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002537/0.1096, allocations: 296.1 kB / 494.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.813e-06/0.1097, allocations: 384 / 494.9 MB, free: 6.438 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.1097, allocations: 8.375 kB / 494.9 MB, free: 6.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.1098, allocations: 61.59 kB / 495 MB, free: 6.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.1098, allocations: 4 kB / 495 MB, free: 6.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1099, allocations: 4 kB / 495 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1099, allocations: 3.984 kB / 495 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.819e-05/0.11, allocations: 23.98 kB / 495 MB, free: 6.328 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004153/0.1104, allocations: 388.6 kB / 495.4 MB, free: 5.898 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001763/0.1106, allocations: 42.56 kB / 495.4 MB, free: 5.848 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.121e-05/0.1106, allocations: 20.94 kB / 495.5 MB, free: 5.824 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.1107, allocations: 4 kB / 495.5 MB, free: 5.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.753e-05/0.1107, allocations: 30.56 kB / 495.5 MB, free: 5.781 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1107, allocations: 4 kB / 495.5 MB, free: 5.777 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005504/0.1112, allocations: 228.1 kB / 495.7 MB, free: 5.547 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/0.1113, allocations: 55.41 kB / 495.8 MB, free: 5.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007329/0.112, allocations: 0.8651 MB / 496.6 MB, free: 4.605 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.1121, allocations: 29.7 kB / 496.7 MB, free: 4.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001429/0.1122, allocations: 223.9 kB / 496.9 MB, free: 4.348 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.714e-05/0.1122, allocations: 15.8 kB / 496.9 MB, free: 4.332 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/0.1122, allocations: 0 / 496.9 MB, free: 4.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1124, allocations: 358.8 kB / 497.3 MB, free: 3.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.111e-05/0.1124, allocations: 31.92 kB / 497.3 MB, free: 3.941 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.452e-05/0.1125, allocations: 15.98 kB / 497.3 MB, free: 3.926 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001211/0.1126, allocations: 60.77 kB / 497.4 MB, free: 3.863 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.01e-07/0.1126, allocations: 0 / 497.4 MB, free: 3.863 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001882/0.1128, allocations: 117.2 kB / 497.5 MB, free: 3.742 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1128, allocations: 8 kB / 497.5 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.1129, allocations: 0 / 497.5 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.027e-05/0.1129, allocations: 0 / 497.5 MB, free: 3.734 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.619e-05/0.1129, allocations: 19.98 kB / 497.5 MB, free: 3.715 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.113, allocations: 7.938 kB / 497.5 MB, free: 3.707 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.295e-05/0.113, allocations: 11.84 kB / 497.5 MB, free: 3.695 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.113, allocations: 4 kB / 497.5 MB, free: 3.691 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.0001596/0.1132, allocations: 213.8 kB / 497.7 MB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.55e-05/0.1132, allocations: 39.53 kB / 497.8 MB, free: 3.434 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002624/0.1135, allocations: 141.3 kB / 497.9 MB, free: 3.289 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1135, allocations: 4.047 kB / 497.9 MB, free: 3.285 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1135, allocations: 8 kB / 497.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.1135, allocations: 3.938 kB / 497.9 MB, free: 3.273 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004535/0.114, allocations: 466.5 kB / 498.4 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.114, allocations: 0 / 498.4 MB, free: 2.762 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.204e-05/0.1141, allocations: 12 kB / 498.4 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1141, allocations: 0 / 498.4 MB, free: 2.75 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.476e-06/0.1141, allocations: 3.938 kB / 498.4 MB, free: 2.746 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/0.1141, allocations: 4 kB / 498.4 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1141, allocations: 0 / 498.4 MB, free: 2.742 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002253/0.1143, allocations: 222.9 kB / 498.6 MB, free: 2.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.153e-05/0.1144, allocations: 116.5 kB / 498.7 MB, free: 2.375 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.221e-05/0.1144, allocations: 3.938 kB / 498.7 MB, free: 2.371 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.777e-05/0.1145, allocations: 7.984 kB / 498.7 MB, free: 2.363 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.244e-05/0.1146, allocations: 4 kB / 498.8 MB, free: 2.359 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.1146, allocations: 4 kB / 498.8 MB, free: 2.355 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005462/0.1151, allocations: 0.6511 MB / 499.4 MB, free: 1.707 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1151, allocations: 0 / 499.4 MB, free: 1.707 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002338/0.1154, allocations: 20 kB / 499.4 MB, free: 1.688 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.0007873/0.1162, allocations: 407 kB / 499.8 MB, free: 1.332 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000187/0.1164, allocations: 55.97 kB / 499.9 MB, free: 1.277 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.1164, allocations: 0 / 499.9 MB, free: 1.277 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.774e-05/0.1165, allocations: 31.92 kB / 499.9 MB, free: 1.246 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003426/0.1168, allocations: 25.94 kB / 499.9 MB, free: 1.219 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009526/0.1178, allocations: 0.8546 MB / 0.4891 GB, free: 336 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.1626/0.2804, allocations: 0.8133 MB / 0.4898 GB, free: 42.59 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.519e-05/0.2805, allocations: 13.41 kB / 0.4899 GB, free: 42.59 MB / 378.7 MB Notification: Performance of SimCode: time 1.042e-06/0.2805, allocations: 1.25 kB / 0.4899 GB, free: 42.59 MB / 378.7 MB Notification: Performance of Templates: time 0.007177/0.2877, allocations: 3.567 MB / 0.4933 GB, free: 42 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test2/Test2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches