Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008331/0.0008331, allocations: 174.5 kB / 16.72 MB, free: 5.078 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.305/1.305, allocations: 205.4 MB / 222.9 MB, free: 9.023 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.0007151/0.0007151, allocations: 82.41 kB / 271.2 MB, free: 8.258 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.2864/0.2864, allocations: 43.57 MB / 363.1 MB, free: 51.93 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003532/0.0003533, allocations: 19.98 kB / 432 MB, free: 5.602 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1051, allocations: 58.84 MB / 490.8 MB, free: 10.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.001778/0.107, allocations: 1.321 MB / 492.1 MB, free: 9.34 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001094/0.1081, allocations: 0.9144 MB / 493.1 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.439e-05/0.1081, allocations: 0 / 493.1 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001776/0.1083, allocations: 19.92 kB / 493.1 MB, free: 8.398 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.1084, allocations: 31.84 kB / 493.1 MB, free: 8.367 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003277/0.1088, allocations: 147.7 kB / 493.2 MB, free: 8.223 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.1089, allocations: 59.84 kB / 493.3 MB, free: 8.164 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.235e-05/0.109, allocations: 27.77 kB / 493.3 MB, free: 8.137 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.943e-05/0.1091, allocations: 15.92 kB / 493.3 MB, free: 8.121 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001101/0.1092, allocations: 31.84 kB / 493.4 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1092, allocations: 4 kB / 493.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.485e-05/0.1093, allocations: 43.97 kB / 493.4 MB, free: 8.043 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.1093, allocations: 19.92 kB / 493.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.768e-05/0.1094, allocations: 41.58 kB / 493.5 MB, free: 7.977 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.1095, allocations: 72.09 kB / 493.6 MB, free: 7.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1095, allocations: 0 / 493.6 MB, free: 7.906 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1095, allocations: 0 / 493.6 MB, free: 7.906 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.1096, allocations: 0 / 493.6 MB, free: 7.906 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.0004528/0.11, allocations: 383.3 kB / 493.9 MB, free: 7.484 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.493e-05/0.11, allocations: 12.03 kB / 493.9 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.333e-05/0.1101, allocations: 4.844 kB / 493.9 MB, free: 7.469 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001726/0.1103, allocations: 196.1 kB / 494.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.047e-06/0.1103, allocations: 384 / 494.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.1103, allocations: 384 / 494.1 MB, free: 7.238 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001787/0.1105, allocations: 87.52 kB / 494.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1105, allocations: 0 / 494.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.1105, allocations: 0 / 494.2 MB, free: 7.141 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.284e-06/0.1105, allocations: 4 kB / 494.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001415/0.1107, allocations: 47.89 kB / 494.3 MB, free: 7.09 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003903/0.1111, allocations: 320.6 kB / 494.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001178/0.1112, allocations: 42.56 kB / 494.6 MB, free: 6.676 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.484e-05/0.1113, allocations: 32.94 kB / 494.7 MB, free: 6.641 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.901e-05/0.1113, allocations: 4 kB / 494.7 MB, free: 6.637 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.826e-05/0.1114, allocations: 38.5 kB / 494.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.132e-06/0.1114, allocations: 0 / 494.7 MB, free: 6.59 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007409/0.1121, allocations: 257.4 kB / 495 MB, free: 6.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.1122, allocations: 81.11 kB / 495 MB, free: 6.234 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.1123, allocations: 133.5 kB / 495.2 MB, free: 6.098 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.437e-05/0.1123, allocations: 29.7 kB / 495.2 MB, free: 6.062 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.143e-05/0.1123, allocations: 92.12 kB / 495.3 MB, free: 5.969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.1124, allocations: 23.59 kB / 495.3 MB, free: 5.945 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.462e-06/0.1124, allocations: 8 kB / 495.3 MB, free: 5.938 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.188e-05/0.1125, allocations: 322.8 kB / 495.6 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00012/0.1126, allocations: 43.97 kB / 495.7 MB, free: 5.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001233/0.1127, allocations: 65.67 kB / 495.7 MB, free: 5.5 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002346/0.113, allocations: 113.1 kB / 495.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.41e-07/0.113, allocations: 0 / 495.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002728/0.1133, allocations: 133.5 kB / 496 MB, free: 5.25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.1133, allocations: 11.98 kB / 496 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.1133, allocations: 0 / 496 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.1133, allocations: 0 / 496 MB, free: 5.238 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.1134, allocations: 27.91 kB / 496 MB, free: 5.211 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.144e-06/0.1135, allocations: 4 kB / 496 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.661e-05/0.1135, allocations: 19.92 kB / 496 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.1135, allocations: 0 / 496 MB, free: 5.188 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 (7): * Single equations (assignments): 7 * 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 7.646e-05/0.1136, allocations: 125.8 kB / 496.2 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.9e-05/0.1137, allocations: 7.906 kB / 496.2 MB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003322/0.114, allocations: 153.9 kB / 496.3 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.114, allocations: 4 kB / 496.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.114, allocations: 0 / 496.3 MB, free: 4.891 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.114, allocations: 3.938 kB / 496.3 MB, free: 4.887 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005064/0.1145, allocations: 422.5 kB / 496.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.1145, allocations: 0 / 496.7 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.247e-05/0.1146, allocations: 31.91 kB / 496.8 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1146, allocations: 4 kB / 496.8 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.859e-06/0.1147, allocations: 3.938 kB / 496.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.1147, allocations: 0 / 496.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1147, allocations: 3.938 kB / 496.8 MB, free: 4.375 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002986/0.115, allocations: 235.4 kB / 497 MB, free: 4.129 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.752e-05/0.115, allocations: 81.02 kB / 497.1 MB, free: 4.031 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1151, allocations: 11.94 kB / 497.1 MB, free: 4.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.465e-05/0.1151, allocations: 11.98 kB / 497.1 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.1152, allocations: 15.97 kB / 497.1 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.08e-06/0.1152, allocations: 0 / 497.1 MB, free: 3.992 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.576e-05/0.1153, allocations: 103.3 kB / 497.2 MB, free: 3.891 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1153, allocations: 3.938 kB / 497.2 MB, free: 3.887 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002331/0.1155, allocations: 27.98 kB / 497.3 MB, free: 3.859 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 (7): * Single equations (assignments): 7 * 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.0008183/0.1163, allocations: 442.4 kB / 497.7 MB, free: 3.461 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002796/0.1166, allocations: 103.9 kB / 497.8 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1166, allocations: 4 kB / 497.8 MB, free: 3.355 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001289/0.1168, allocations: 55.95 kB / 497.9 MB, free: 3.301 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.1171, allocations: 19.92 kB / 497.9 MB, free: 3.281 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.1174, allocations: 246.9 kB / 498.1 MB, free: 3.008 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.1177, allocations: 0.6926 MB / 498.8 MB, free: 2.289 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.116e-05/0.1177, allocations: 19.44 kB / 498.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of SimCode: time 2.81e-07/0.1177, allocations: 0 / 498.8 MB, free: 2.27 MB / 378.7 MB Notification: Performance of Templates: time 0.00297/0.1207, allocations: 1.789 MB / 0.4889 GB, free: 496 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test31/Test31.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches