Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.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.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|combiTable2D1D.y.1.|combiTable2D1DT.y.1.|clock1.y|combiTable1D.y.1.|combiTable2D.y.1.|combiTable2DT.y.1.",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008399/0.00084, allocations: 175.5 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.234/1.234, allocations: 205.4 MB / 222.9 MB, free: 9.035 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.0006925/0.0006926, allocations: 94.3 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.325/0.325, allocations: 43.56 MB / 363.1 MB, free: 52.18 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000381/0.000381, allocations: 16 kB / 432 MB, free: 5.824 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1083/0.1087, allocations: 58.85 MB / 490.8 MB, free: 10.89 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test19): time 0.002026/0.1108, allocations: 1.512 MB / 492.3 MB, free: 9.363 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001061/0.1118, allocations: 0.6983 MB / 493 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.034e-05/0.1119, allocations: 11.94 kB / 493 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004069/0.1123, allocations: 235.5 kB / 493.3 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002756/0.1126, allocations: 167.5 kB / 493.4 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001142/0.1138, allocations: 0.5498 MB / 494 MB, free: 7.703 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002745/0.1141, allocations: 235.3 kB / 494.2 MB, free: 7.473 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000153/0.1142, allocations: 64.42 kB / 494.3 MB, free: 7.41 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001104/0.1143, allocations: 99.59 kB / 494.4 MB, free: 7.312 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001821/0.1145, allocations: 155.5 kB / 494.5 MB, free: 7.16 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.61e-05/0.1146, allocations: 4 kB / 494.5 MB, free: 7.156 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.47e-05/0.1147, allocations: 43.91 kB / 494.6 MB, free: 7.113 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.829e-05/0.1148, allocations: 79.73 kB / 494.7 MB, free: 7.035 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.407e-05/0.1149, allocations: 112.9 kB / 494.8 MB, free: 6.918 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000208/0.1151, allocations: 191.6 kB / 495 MB, free: 6.73 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.314e-06/0.1151, allocations: 0 / 495 MB, free: 6.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.803e-06/0.1151, allocations: 0 / 495 MB, free: 6.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.4e-06/0.1151, allocations: 0 / 495 MB, free: 6.73 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005984/0.1157, allocations: 0.5564 MB / 495.5 MB, free: 6.125 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.768e-05/0.1158, allocations: 8.031 kB / 495.5 MB, free: 6.117 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.451e-05/0.1158, allocations: 36.47 kB / 495.6 MB, free: 6.082 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003265/0.1162, allocations: 310.2 kB / 495.9 MB, free: 5.738 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1162, allocations: 4.375 kB / 495.9 MB, free: 5.734 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.546e-05/0.1162, allocations: 8.375 kB / 495.9 MB, free: 5.727 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001951/0.1164, allocations: 101.5 kB / 496 MB, free: 5.625 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1164, allocations: 4 kB / 496 MB, free: 5.621 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.483e-05/0.1164, allocations: 8 kB / 496 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1164, allocations: 0 / 496 MB, free: 5.613 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001495/0.1166, allocations: 67.95 kB / 496 MB, free: 5.547 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005596/0.1172, allocations: 456.4 kB / 496.5 MB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1173, allocations: 74.53 kB / 496.6 MB, free: 4.969 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.892e-05/0.1174, allocations: 32.97 kB / 496.6 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.1174, allocations: 0 / 496.6 MB, free: 4.934 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.33e-05/0.1175, allocations: 42.5 kB / 496.6 MB, free: 4.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 2.304e-06/0.1175, allocations: 3.984 kB / 496.6 MB, free: 4.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003522/0.1178, allocations: 157.2 kB / 496.8 MB, free: 4.719 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.1179, allocations: 55.34 kB / 496.9 MB, free: 4.652 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004973/0.1184, allocations: 0.525 MB / 497.4 MB, free: 4.117 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.1184, allocations: 25.7 kB / 497.4 MB, free: 4.086 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.1185, allocations: 188.1 kB / 497.6 MB, free: 3.898 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.1185, allocations: 19.66 kB / 497.6 MB, free: 3.879 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.937e-06/0.1186, allocations: 4 kB / 497.6 MB, free: 3.875 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001162/0.1187, allocations: 346.8 kB / 497.9 MB, free: 3.527 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.518e-05/0.1187, allocations: 27.98 kB / 498 MB, free: 3.5 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.401e-05/0.1188, allocations: 27.92 kB / 498 MB, free: 3.473 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.1189, allocations: 77.12 kB / 498.1 MB, free: 3.395 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.119, allocations: 4 kB / 498.1 MB, free: 3.391 MB / 378.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001815/0.1191, allocations: 125.3 kB / 498.2 MB, free: 3.262 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1192, allocations: 7.984 kB / 498.2 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.127e-06/0.1192, allocations: 0 / 498.2 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.1192, allocations: 0 / 498.2 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.219e-05/0.1193, allocations: 15.94 kB / 498.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.1193, allocations: 0 / 498.2 MB, free: 3.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.416e-05/0.1193, allocations: 19.83 kB / 498.2 MB, free: 3.219 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.1194, allocations: 7.938 kB / 498.3 MB, free: 3.211 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 (6): * Single equations (assignments): 6 * 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.0001331/0.1195, allocations: 169.8 kB / 498.4 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.708e-05/0.1196, allocations: 31.62 kB / 498.4 MB, free: 3.004 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002675/0.1198, allocations: 140.8 kB / 498.6 MB, free: 2.855 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.703e-06/0.1198, allocations: 11.92 kB / 498.6 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1199, allocations: 4 kB / 498.6 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1199, allocations: 0 / 498.6 MB, free: 2.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002551/0.1201, allocations: 285.4 kB / 498.9 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.1201, allocations: 0 / 498.9 MB, free: 2.512 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.027e-05/0.1202, allocations: 15.94 kB / 498.9 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.1202, allocations: 0 / 498.9 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1202, allocations: 0 / 498.9 MB, free: 2.496 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.1202, allocations: 3.938 kB / 498.9 MB, free: 2.492 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.1202, allocations: 3.984 kB / 498.9 MB, free: 2.488 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002279/0.1205, allocations: 223.1 kB / 499.1 MB, free: 2.254 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.366e-05/0.1205, allocations: 116.6 kB / 499.2 MB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.373e-05/0.1206, allocations: 4 kB / 499.2 MB, free: 2.117 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.065e-05/0.1207, allocations: 4.125 kB / 499.2 MB, free: 2.113 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.181e-05/0.1207, allocations: 7.984 kB / 499.3 MB, free: 2.105 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.885e-06/0.1207, allocations: 8 kB / 499.3 MB, free: 2.098 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0003425/0.121, allocations: 395.1 kB / 499.6 MB, free: 1.711 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1211, allocations: 0 / 499.6 MB, free: 1.711 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.1213, allocations: 28 kB / 499.7 MB, free: 1.684 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 (6): * Single equations (assignments): 6 * 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.001174/0.1225, allocations: 0.5997 MB / 0.4885 GB, free: 1.133 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001787/0.1227, allocations: 59.97 kB / 0.4886 GB, free: 1.074 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.1227, allocations: 4 kB / 0.4886 GB, free: 1.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.239e-05/0.1228, allocations: 39.97 kB / 0.4886 GB, free: 1.031 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004415/0.1232, allocations: 53.52 kB / 0.4887 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007892/0.124, allocations: 0.651 MB / 0.4893 GB, free: 300 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.172/0.2961, allocations: 0.7921 MB / 0.4901 GB, free: 42.55 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001012/0.2962, allocations: 23.56 kB / 0.4901 GB, free: 42.54 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.2962, allocations: 2.5 kB / 0.4901 GB, free: 42.54 MB / 378.7 MB Notification: Performance of Templates: time 0.007312/0.3035, allocations: 3.665 MB / 0.4937 GB, free: 42.31 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2Dv/Test19/Test19.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2Dv.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches