Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8") translateModel(ModelicaTest.Tables.CombiTable2D.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|const.y|clock.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 178.6 kB / 16.41 MB, free: 5.578 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.767/1.767, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.000815/0.000815, allocations: 82.31 kB / 270.9 MB, free: 8.359 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.3308/0.3308, allocations: 43.56 MB / 362.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003587/0.0003588, allocations: 16 kB / 431.4 MB, free: 6.133 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1009, allocations: 58.85 MB / 490.2 MB, free: 11.2 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.001823/0.1028, allocations: 1.274 MB / 491.5 MB, free: 9.918 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005237/0.1033, allocations: 283.8 kB / 491.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.398e-05/0.1034, allocations: 0 / 491.8 MB, free: 9.637 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000589/0.104, allocations: 439.2 kB / 492.2 MB, free: 9.207 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003596/0.1044, allocations: 243.5 kB / 492.5 MB, free: 8.969 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003729/0.1047, allocations: 99.81 kB / 492.6 MB, free: 8.871 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003228/0.1051, allocations: 115.8 kB / 492.7 MB, free: 8.758 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000131/0.1052, allocations: 11.98 kB / 492.7 MB, free: 8.746 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002474/0.1055, allocations: 99.73 kB / 492.8 MB, free: 8.648 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.1058, allocations: 167.7 kB / 492.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.559e-05/0.1058, allocations: 0 / 492.9 MB, free: 8.484 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.956e-05/0.1059, allocations: 16 kB / 493 MB, free: 8.469 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.1061, allocations: 79.73 kB / 493 MB, free: 8.391 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.334e-05/0.1062, allocations: 65.52 kB / 493.1 MB, free: 8.32 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003384/0.1065, allocations: 171.7 kB / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.568e-06/0.1065, allocations: 0 / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.355e-06/0.1065, allocations: 0 / 493.3 MB, free: 8.152 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.219e-05/0.1066, allocations: 0 / 493.3 MB, free: 8.152 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.001087/0.1077, allocations: 0.5873 MB / 493.9 MB, free: 7.516 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/0.1077, allocations: 12.03 kB / 493.9 MB, free: 7.504 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001274/0.1079, allocations: 43.39 kB / 493.9 MB, free: 7.461 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003323/0.1082, allocations: 263.5 kB / 494.2 MB, free: 7.164 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.1082, allocations: 8 kB / 494.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.157e-05/0.1082, allocations: 0 / 494.2 MB, free: 7.156 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001593/0.1084, allocations: 45.69 kB / 494.2 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.28e-05/0.1084, allocations: 0 / 494.2 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.1085, allocations: 7.938 kB / 494.2 MB, free: 7.098 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.1085, allocations: 3.984 kB / 494.2 MB, free: 7.094 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.954e-05/0.1086, allocations: 27.94 kB / 494.3 MB, free: 7.066 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005383/0.1091, allocations: 372.7 kB / 494.6 MB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.841e-05/0.1092, allocations: 30.58 kB / 494.7 MB, free: 6.613 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.293e-05/0.1093, allocations: 24.84 kB / 494.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.664e-05/0.1093, allocations: 0 / 494.7 MB, free: 6.586 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.1094, allocations: 34.52 kB / 494.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.1094, allocations: 0 / 494.7 MB, free: 6.543 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002864/0.1097, allocations: 105.2 kB / 494.8 MB, free: 6.434 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.935e-05/0.1097, allocations: 51.41 kB / 494.9 MB, free: 6.371 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008452/0.1106, allocations: 0.8535 MB / 495.7 MB, free: 5.508 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.562e-05/0.1106, allocations: 29.7 kB / 495.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001677/0.1108, allocations: 224 kB / 496 MB, free: 5.25 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.407e-05/0.1108, allocations: 0 / 496 MB, free: 5.25 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.1108, allocations: 0 / 496 MB, free: 5.25 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.1109, allocations: 362.9 kB / 496.3 MB, free: 4.887 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.567e-05/0.111, allocations: 19.88 kB / 496.3 MB, free: 4.867 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.187e-05/0.111, allocations: 8 kB / 496.3 MB, free: 4.859 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.228e-05/0.1111, allocations: 11.98 kB / 496.4 MB, free: 4.848 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1111, allocations: 0 / 496.4 MB, free: 4.848 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001509/0.1112, allocations: 93.19 kB / 496.4 MB, free: 4.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.612e-05/0.1113, allocations: 8 kB / 496.5 MB, free: 4.742 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.361e-06/0.1113, allocations: 3.953 kB / 496.5 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.1113, allocations: 0 / 496.5 MB, free: 4.738 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.21e-05/0.1114, allocations: 7.984 kB / 496.5 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1114, allocations: 0 / 496.5 MB, free: 4.73 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/0.1114, allocations: 4 kB / 496.5 MB, free: 4.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1114, allocations: 3.938 kB / 496.5 MB, free: 4.723 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.0001702/0.1116, allocations: 217.8 kB / 496.7 MB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.564e-05/0.1117, allocations: 47.42 kB / 496.7 MB, free: 4.453 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000203/0.1119, allocations: 108.6 kB / 496.8 MB, free: 4.34 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1119, allocations: 7.938 kB / 496.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.1119, allocations: 0 / 496.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.1119, allocations: 0 / 496.8 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002626/0.1122, allocations: 281.6 kB / 497.1 MB, free: 4.008 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1122, allocations: 8.016 kB / 497.1 MB, free: 4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.6e-05/0.1122, allocations: 8 kB / 497.1 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.1123, allocations: 0 / 497.1 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.1123, allocations: 0 / 497.1 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1123, allocations: 0 / 497.1 MB, free: 3.992 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.1123, allocations: 3.953 kB / 497.1 MB, free: 3.988 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.1125, allocations: 187 kB / 497.3 MB, free: 3.789 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.471e-05/0.1125, allocations: 116.5 kB / 497.4 MB, free: 3.656 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.362e-05/0.1126, allocations: 4 kB / 497.4 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.257e-05/0.1126, allocations: 0 / 497.4 MB, free: 3.652 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.1127, allocations: 11.94 kB / 497.5 MB, free: 3.641 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.896e-06/0.1127, allocations: 0 / 497.5 MB, free: 3.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005839/0.1133, allocations: 0.6472 MB / 498.1 MB, free: 2.996 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1133, allocations: 0 / 498.1 MB, free: 2.996 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002379/0.1135, allocations: 16 kB / 498.1 MB, free: 2.98 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.0007038/0.1143, allocations: 352.2 kB / 498.5 MB, free: 2.676 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000129/0.1144, allocations: 31.98 kB / 498.5 MB, free: 2.645 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.1144, allocations: 0 / 498.5 MB, free: 2.645 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.969e-05/0.1145, allocations: 15.92 kB / 498.5 MB, free: 2.629 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003452/0.1148, allocations: 25.91 kB / 498.5 MB, free: 2.602 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001049/0.1159, allocations: 0.8189 MB / 499.4 MB, free: 1.746 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003907/0.1163, allocations: 0.8185 MB / 0.4884 GB, free: 0.9023 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.001e-05/0.1163, allocations: 11.44 kB / 0.4885 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of SimCode: time 3.61e-07/0.1163, allocations: 0 / 0.4885 GB, free: 0.8906 MB / 378.7 MB Notification: Performance of Templates: time 0.1889/0.3052, allocations: 3.346 MB / 0.4917 GB, free: 42.05 MB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTable2D/Test8/Test8.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Tables.CombiTable2D.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches