Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.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.Test10,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.Test10") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test10,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.Test10") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009801/0.00098, allocations: 175.1 kB / 16.72 MB, free: 5.059 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.31/1.31, allocations: 205.4 MB / 222.9 MB, free: 8.934 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.0007377/0.0007376, allocations: 90.34 kB / 271.2 MB, free: 8.242 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.2933/0.2933, allocations: 43.56 MB / 363.1 MB, free: 51.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003462/0.0003463, allocations: 12 kB / 432 MB, free: 5.598 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1046, allocations: 58.86 MB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test10): time 0.001693/0.1063, allocations: 1.309 MB / 492.1 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001152/0.1074, allocations: 0.9183 MB / 493.1 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.438e-05/0.1075, allocations: 0 / 493.1 MB, free: 8.406 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001736/0.1077, allocations: 15.92 kB / 493.1 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001529/0.1079, allocations: 43.84 kB / 493.1 MB, free: 8.348 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.1083, allocations: 139.8 kB / 493.2 MB, free: 8.211 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.1084, allocations: 55.78 kB / 493.3 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.947e-05/0.1085, allocations: 27.83 kB / 493.3 MB, free: 8.129 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.33e-05/0.1085, allocations: 19.92 kB / 493.3 MB, free: 8.109 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001047/0.1086, allocations: 23.86 kB / 493.4 MB, free: 8.086 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.1087, allocations: 4 kB / 493.4 MB, free: 8.082 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001008/0.1088, allocations: 47.95 kB / 493.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.099e-05/0.1088, allocations: 11.94 kB / 493.4 MB, free: 8.023 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.1089, allocations: 45.56 kB / 493.5 MB, free: 7.973 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.109, allocations: 80.09 kB / 493.6 MB, free: 7.895 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.109, allocations: 0 / 493.6 MB, free: 7.895 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.109, allocations: 0 / 493.6 MB, free: 7.895 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.109, allocations: 0 / 493.6 MB, free: 7.895 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.0004199/0.1095, allocations: 379.3 kB / 493.9 MB, free: 7.477 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.1095, allocations: 12.03 kB / 493.9 MB, free: 7.465 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.53e-05/0.1096, allocations: 8.844 kB / 493.9 MB, free: 7.457 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.1097, allocations: 188.2 kB / 494.1 MB, free: 7.234 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.1098, allocations: 8.375 kB / 494.1 MB, free: 7.227 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.013e-05/0.1098, allocations: 4.375 kB / 494.1 MB, free: 7.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.11, allocations: 75.52 kB / 494.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.11, allocations: 0 / 494.2 MB, free: 7.137 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.938e-06/0.11, allocations: 4 kB / 494.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.078e-06/0.11, allocations: 0 / 494.2 MB, free: 7.133 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001514/0.1102, allocations: 55.89 kB / 494.3 MB, free: 7.078 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003945/0.1106, allocations: 308.7 kB / 494.6 MB, free: 6.727 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.1107, allocations: 58.55 kB / 494.6 MB, free: 6.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.342e-05/0.1108, allocations: 28.94 kB / 494.7 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.1108, allocations: 0 / 494.7 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.1109, allocations: 38.5 kB / 494.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.1109, allocations: 0 / 494.7 MB, free: 6.582 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.000752/0.1116, allocations: 257.1 kB / 495 MB, free: 6.324 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.336e-05/0.1117, allocations: 77.11 kB / 495 MB, free: 6.23 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001293/0.1118, allocations: 141.6 kB / 495.2 MB, free: 6.086 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1118, allocations: 29.64 kB / 495.2 MB, free: 6.051 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.729e-05/0.1119, allocations: 96.12 kB / 495.3 MB, free: 5.953 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.428e-05/0.1119, allocations: 23.66 kB / 495.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.839e-06/0.1119, allocations: 0 / 495.3 MB, free: 5.93 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000107/0.112, allocations: 322.8 kB / 495.6 MB, free: 5.605 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.1122, allocations: 47.97 kB / 495.7 MB, free: 5.559 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001194/0.1123, allocations: 65.73 kB / 495.7 MB, free: 5.488 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002245/0.1125, allocations: 101.1 kB / 495.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.12e-07/0.1125, allocations: 0 / 495.8 MB, free: 5.387 MB / 378.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002794/0.1128, allocations: 149.5 kB / 496 MB, free: 5.234 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.1128, allocations: 4 kB / 496 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.938e-06/0.1128, allocations: 0 / 496 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.1129, allocations: 288 / 496 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001218/0.113, allocations: 31.97 kB / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.113, allocations: 0 / 496 MB, free: 5.199 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.879e-05/0.1131, allocations: 11.94 kB / 496 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.636e-06/0.1131, allocations: 4 kB / 496 MB, free: 5.184 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.977e-05/0.1132, allocations: 121.8 kB / 496.2 MB, free: 5.055 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.089e-05/0.1132, allocations: 11.89 kB / 496.2 MB, free: 5.043 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003267/0.1135, allocations: 161.9 kB / 496.3 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.1135, allocations: 0 / 496.3 MB, free: 4.883 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.227e-06/0.1136, allocations: 4 kB / 496.3 MB, free: 4.879 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.168e-06/0.1136, allocations: 3.938 kB / 496.3 MB, free: 4.875 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005125/0.1141, allocations: 418.5 kB / 496.7 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1141, allocations: 0 / 496.7 MB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.518e-05/0.1142, allocations: 27.92 kB / 496.8 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1142, allocations: 3.938 kB / 496.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.1142, allocations: 7.938 kB / 496.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1142, allocations: 0 / 496.8 MB, free: 4.371 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1142, allocations: 3.984 kB / 496.8 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003132/0.1145, allocations: 235.4 kB / 497 MB, free: 4.121 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.966e-05/0.1146, allocations: 93 kB / 497.1 MB, free: 4.012 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.1146, allocations: 3.938 kB / 497.1 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.546e-05/0.1147, allocations: 11.98 kB / 497.1 MB, free: 3.996 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.287e-05/0.1148, allocations: 11.98 kB / 497.1 MB, free: 3.984 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1148, allocations: 4 kB / 497.1 MB, free: 3.98 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.715e-05/0.1149, allocations: 99.27 kB / 497.2 MB, free: 3.883 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.1149, allocations: 0 / 497.2 MB, free: 3.883 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002414/0.1151, allocations: 28 kB / 497.3 MB, free: 3.855 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.0008548/0.116, allocations: 442.9 kB / 497.7 MB, free: 3.461 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002978/0.1163, allocations: 115.9 kB / 497.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.1163, allocations: 0 / 497.8 MB, free: 3.348 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000127/0.1164, allocations: 59.91 kB / 497.9 MB, free: 3.289 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.1167, allocations: 11.98 kB / 497.9 MB, free: 3.277 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003834/0.1171, allocations: 235 kB / 498.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002301/0.1173, allocations: 0.7004 MB / 498.8 MB, free: 2.289 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.389e-05/0.1174, allocations: 15.44 kB / 498.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of SimCode: time 2.41e-07/0.1174, allocations: 0 / 498.8 MB, free: 2.273 MB / 378.7 MB Notification: Performance of Templates: time 0.003174/0.1206, allocations: 1.785 MB / 0.4889 GB, free: 500 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test10/Test10.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test10.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches