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.001336/0.001336, allocations: 175 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.256/1.256, allocations: 205.4 MB / 222.9 MB, free: 9.043 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.0007543/0.0007545, allocations: 96.91 kB / 271.2 MB, free: 8.254 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.2808/0.2808, allocations: 43.56 MB / 363.1 MB, free: 52.12 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00035/0.00035, allocations: 19.98 kB / 432 MB, free: 5.836 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09818/0.09854, allocations: 58.86 MB / 490.8 MB, free: 10.9 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test7): time 0.001598/0.1002, allocations: 1.27 MB / 492.1 MB, free: 9.617 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0004718/0.1007, allocations: 287.8 kB / 492.4 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.826e-05/0.1007, allocations: 0 / 492.4 MB, free: 9.332 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004539/0.1012, allocations: 443.2 kB / 492.8 MB, free: 8.898 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002617/0.1014, allocations: 243.5 kB / 493 MB, free: 8.66 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000266/0.1017, allocations: 103.8 kB / 493.1 MB, free: 8.559 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001473/0.1019, allocations: 115.7 kB / 493.3 MB, free: 8.445 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.878e-05/0.102, allocations: 11.97 kB / 493.3 MB, free: 8.434 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001078/0.1021, allocations: 99.8 kB / 493.4 MB, free: 8.336 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001819/0.1023, allocations: 159.7 kB / 493.5 MB, free: 8.18 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.811e-05/0.1023, allocations: 8 kB / 493.5 MB, free: 8.172 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.606e-05/0.1024, allocations: 16 kB / 493.5 MB, free: 8.156 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.128e-05/0.1025, allocations: 79.73 kB / 493.6 MB, free: 8.078 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.679e-05/0.1026, allocations: 116.8 kB / 493.7 MB, free: 7.957 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.1027, allocations: 167.8 kB / 493.9 MB, free: 7.793 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.1027, allocations: 0 / 493.9 MB, free: 7.793 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1027, allocations: 0 / 493.9 MB, free: 7.793 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.1028, allocations: 4 kB / 493.9 MB, free: 7.789 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.0005577/0.1033, allocations: 0.5719 MB / 494.5 MB, free: 7.168 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.513e-05/0.1034, allocations: 23.95 kB / 494.5 MB, free: 7.145 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.734e-05/0.1034, allocations: 40.38 kB / 494.5 MB, free: 7.105 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002274/0.1037, allocations: 288.2 kB / 494.8 MB, free: 6.785 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.1037, allocations: 4.375 kB / 494.8 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.929e-06/0.1037, allocations: 384 / 494.8 MB, free: 6.781 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.1038, allocations: 61.73 kB / 494.9 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.111e-06/0.1038, allocations: 0 / 494.9 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.1038, allocations: 0 / 494.9 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-06/0.1039, allocations: 0 / 494.9 MB, free: 6.715 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.665e-05/0.1039, allocations: 27.98 kB / 494.9 MB, free: 6.688 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003738/0.1043, allocations: 368.8 kB / 495.3 MB, free: 6.277 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.408e-05/0.1044, allocations: 38.5 kB / 495.3 MB, free: 6.23 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.639e-05/0.1045, allocations: 16.92 kB / 495.3 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.1045, allocations: 0 / 495.3 MB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.253e-05/0.1045, allocations: 34.56 kB / 495.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.1045, allocations: 0 / 495.4 MB, free: 6.168 MB / 378.7 MB Notification: Performance of matching and sorting (n=2): time 0.0002365/0.1048, allocations: 105.1 kB / 495.5 MB, free: 6.059 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.209e-05/0.1048, allocations: 55.53 kB / 495.5 MB, free: 5.992 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007136/0.1055, allocations: 0.8573 MB / 496.4 MB, free: 5.125 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.1056, allocations: 25.7 kB / 496.4 MB, free: 5.094 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.1057, allocations: 224 kB / 496.6 MB, free: 4.871 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.182e-05/0.1057, allocations: 3.906 kB / 496.6 MB, free: 4.867 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-06/0.1057, allocations: 0 / 496.6 MB, free: 4.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.1059, allocations: 366.7 kB / 497 MB, free: 4.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.843e-05/0.1059, allocations: 8 kB / 497 MB, free: 4.492 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.252e-05/0.1059, allocations: 19.98 kB / 497 MB, free: 4.473 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.657e-05/0.106, allocations: 20.84 kB / 497 MB, free: 4.449 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.106, allocations: 0 / 497 MB, free: 4.449 MB / 378.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001334/0.1062, allocations: 93.28 kB / 497.1 MB, free: 4.352 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.1062, allocations: 10.5 kB / 497.1 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1062, allocations: 0 / 497.1 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.377e-06/0.1062, allocations: 0 / 497.1 MB, free: 4.344 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.242e-05/0.1063, allocations: 11.94 kB / 497.1 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.148e-06/0.1063, allocations: 0 / 497.1 MB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.201e-05/0.1063, allocations: 8 kB / 497.2 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.1064, allocations: 3.984 kB / 497.2 MB, free: 4.32 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.0001573/0.1065, allocations: 217.7 kB / 497.4 MB, free: 4.098 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.211e-05/0.1066, allocations: 39.44 kB / 497.4 MB, free: 4.059 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001819/0.1068, allocations: 108.6 kB / 497.5 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.1068, allocations: 0 / 497.5 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.1068, allocations: 0 / 497.5 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.1068, allocations: 0 / 497.5 MB, free: 3.945 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002526/0.1071, allocations: 285.5 kB / 497.8 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1071, allocations: 0 / 497.8 MB, free: 3.617 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.34e-05/0.1071, allocations: 12.03 kB / 497.8 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1071, allocations: 0 / 497.8 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.1071, allocations: 3.984 kB / 497.8 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.1071, allocations: 3.938 kB / 497.8 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1071, allocations: 0 / 497.8 MB, free: 3.598 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001736/0.1073, allocations: 190.9 kB / 498 MB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.57e-05/0.1074, allocations: 108.6 kB / 498.1 MB, free: 3.27 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.224e-05/0.1074, allocations: 7.984 kB / 498.1 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.368e-05/0.1075, allocations: 0 / 498.1 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.007e-05/0.1075, allocations: 4 kB / 498.1 MB, free: 3.258 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.106e-06/0.1075, allocations: 0 / 498.1 MB, free: 3.258 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005635/0.1081, allocations: 0.6511 MB / 498.8 MB, free: 2.609 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1081, allocations: 0 / 498.8 MB, free: 2.609 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002218/0.1083, allocations: 12 kB / 498.8 MB, free: 2.598 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.0006602/0.109, allocations: 366.8 kB / 499.1 MB, free: 2.281 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001246/0.1091, allocations: 35.92 kB / 499.2 MB, free: 2.246 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1092, allocations: 0 / 499.2 MB, free: 2.246 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.882e-05/0.1092, allocations: 8 kB / 499.2 MB, free: 2.238 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003887/0.1096, allocations: 25.95 kB / 499.2 MB, free: 2.211 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009087/0.1105, allocations: 0.8228 MB / 0.4883 GB, free: 1.352 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003414/0.1109, allocations: 0.8106 MB / 0.4891 GB, free: 0.5156 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.849e-05/0.1109, allocations: 19.44 kB / 0.4891 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of SimCode: time 2.71e-07/0.1109, allocations: 0 / 0.4891 GB, free: 0.4961 MB / 378.7 MB Notification: Performance of Templates: time 0.154/0.2649, allocations: 3.311 MB / 0.4924 GB, free: 42.11 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