Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.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.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7") translateModel(ModelicaTest.Tables.CombiTable2D.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|clock.y|const.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 179.5 kB / 16.41 MB, free: 5.73 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.838/1.838, allocations: 205.4 MB / 222.5 MB, free: 9.109 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.0007896/0.0007895, allocations: 100.8 kB / 270.9 MB, free: 8.344 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.3415/0.3415, allocations: 43.56 MB / 362.7 MB, free: 51.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003805/0.0003807, allocations: 16 kB / 431.4 MB, free: 5.906 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09831/0.0987, allocations: 58.85 MB / 490.2 MB, free: 10.96 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.001718/0.1005, allocations: 1.266 MB / 491.5 MB, free: 9.688 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004799/0.101, allocations: 287.8 kB / 491.8 MB, free: 9.402 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.71e-05/0.101, allocations: 0 / 491.8 MB, free: 9.402 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004698/0.1015, allocations: 439.2 kB / 492.2 MB, free: 8.973 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.1018, allocations: 235.5 kB / 492.5 MB, free: 8.742 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002555/0.102, allocations: 99.86 kB / 492.5 MB, free: 8.645 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.1022, allocations: 119.7 kB / 492.7 MB, free: 8.527 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.188e-05/0.1023, allocations: 11.98 kB / 492.7 MB, free: 8.516 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.219e-05/0.1024, allocations: 99.78 kB / 492.8 MB, free: 8.418 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.1026, allocations: 167.7 kB / 492.9 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.1026, allocations: 0 / 492.9 MB, free: 8.254 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.387e-05/0.1027, allocations: 12 kB / 493 MB, free: 8.242 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.18e-05/0.1028, allocations: 83.69 kB / 493 MB, free: 8.16 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.984e-05/0.1028, allocations: 65.52 kB / 493.1 MB, free: 8.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.103, allocations: 167.8 kB / 493.3 MB, free: 7.926 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.103, allocations: 0 / 493.3 MB, free: 7.926 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.794e-06/0.103, allocations: 0 / 493.3 MB, free: 7.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.103, allocations: 0 / 493.3 MB, free: 7.926 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.0005844/0.1036, allocations: 0.5835 MB / 493.8 MB, free: 7.293 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.1036, allocations: 11.97 kB / 493.9 MB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.037e-05/0.1037, allocations: 51.33 kB / 493.9 MB, free: 7.23 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002372/0.1039, allocations: 267.5 kB / 494.2 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.097e-06/0.104, allocations: 0 / 494.2 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.013e-05/0.104, allocations: 0 / 494.2 MB, free: 6.93 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.1041, allocations: 53.69 kB / 494.2 MB, free: 6.871 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.1041, allocations: 4 kB / 494.2 MB, free: 6.867 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.033e-05/0.1041, allocations: 4 kB / 494.2 MB, free: 6.863 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.1042, allocations: 3.984 kB / 494.2 MB, free: 6.859 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.503e-05/0.1042, allocations: 27.94 kB / 494.3 MB, free: 6.832 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004172/0.1047, allocations: 376.7 kB / 494.6 MB, free: 6.414 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.859e-05/0.1048, allocations: 30.58 kB / 494.7 MB, free: 6.375 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.485e-05/0.1048, allocations: 16.91 kB / 494.7 MB, free: 6.355 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.1049, allocations: 3.938 kB / 494.7 MB, free: 6.352 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.1049, allocations: 42.52 kB / 494.7 MB, free: 6.301 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/0.1049, allocations: 0 / 494.7 MB, free: 6.301 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002445/0.1051, allocations: 105.1 kB / 494.8 MB, free: 6.191 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.938e-05/0.1052, allocations: 51.41 kB / 494.9 MB, free: 6.129 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007252/0.1059, allocations: 0.8574 MB / 495.7 MB, free: 5.262 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.1059, allocations: 25.7 kB / 495.8 MB, free: 5.23 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000152/0.1061, allocations: 220 kB / 496 MB, free: 5.012 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.121e-05/0.1061, allocations: 0 / 496 MB, free: 5.012 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.484e-06/0.1061, allocations: 0 / 496 MB, free: 5.012 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.1063, allocations: 366.9 kB / 496.3 MB, free: 4.645 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.298e-05/0.1063, allocations: 7.984 kB / 496.3 MB, free: 4.637 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.407e-05/0.1063, allocations: 8 kB / 496.3 MB, free: 4.629 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.456e-05/0.1064, allocations: 15.98 kB / 496.4 MB, free: 4.613 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1064, allocations: 0 / 496.4 MB, free: 4.613 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000136/0.1065, allocations: 101.1 kB / 496.5 MB, free: 4.508 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/0.1066, allocations: 4 kB / 496.5 MB, free: 4.504 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.1066, allocations: 3.953 kB / 496.5 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.144e-05/0.1066, allocations: 0 / 496.5 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.238e-05/0.1067, allocations: 15.98 kB / 496.5 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.1067, allocations: 0 / 496.5 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.15e-05/0.1067, allocations: 0 / 496.5 MB, free: 4.484 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1067, allocations: 4 kB / 496.5 MB, free: 4.48 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.0001605/0.1069, allocations: 217.7 kB / 496.7 MB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.818e-05/0.107, allocations: 39.44 kB / 496.7 MB, free: 4.219 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001899/0.1072, allocations: 112.6 kB / 496.8 MB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.531e-06/0.1072, allocations: 7.953 kB / 496.9 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.1072, allocations: 0 / 496.9 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1072, allocations: 0 / 496.9 MB, free: 4.094 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002394/0.1074, allocations: 277.6 kB / 497.1 MB, free: 3.773 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.1074, allocations: 4 kB / 497.1 MB, free: 3.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.629e-05/0.1075, allocations: 7.984 kB / 497.1 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.1075, allocations: 0 / 497.1 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.75e-06/0.1075, allocations: 0 / 497.1 MB, free: 3.762 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.1075, allocations: 4 kB / 497.1 MB, free: 3.758 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.1075, allocations: 3.953 kB / 497.1 MB, free: 3.754 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001705/0.1077, allocations: 187.1 kB / 497.3 MB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.591e-05/0.1078, allocations: 112.5 kB / 497.4 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.1078, allocations: 0 / 497.4 MB, free: 3.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.976e-05/0.1079, allocations: 4 kB / 497.4 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.1079, allocations: 3.953 kB / 497.4 MB, free: 3.418 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.1079, allocations: 0 / 497.4 MB, free: 3.418 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005441/0.1085, allocations: 0.6588 MB / 498.1 MB, free: 2.762 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1085, allocations: 0 / 498.1 MB, free: 2.762 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002157/0.1087, allocations: 24.03 kB / 498.1 MB, free: 2.738 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.000674/0.1094, allocations: 341.5 kB / 498.5 MB, free: 2.445 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.1095, allocations: 27.98 kB / 498.5 MB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.1095, allocations: 0 / 498.5 MB, free: 2.418 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.329e-05/0.1096, allocations: 12 kB / 498.5 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00032/0.1099, allocations: 29.88 kB / 498.5 MB, free: 2.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009408/0.1108, allocations: 0.8228 MB / 499.3 MB, free: 1.516 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.1112, allocations: 0.8223 MB / 0.4884 GB, free: 0.668 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.1112, allocations: 11.44 kB / 0.4885 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of SimCode: time 2.2e-07/0.1112, allocations: 0 / 0.4885 GB, free: 0.6602 MB / 378.7 MB Notification: Performance of Templates: time 0.1887/0.2999, allocations: 3.345 MB / 0.4917 GB, free: 42.01 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test7/Test7.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches