Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test26,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 174.3 kB / 17.4 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.347/1.347, allocations: 225.7 MB / 243.9 MB, free: 8.453 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007504/0.0007502, allocations: 98.78 kB / 295.1 MB, free: 9.488 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3195/0.3195, allocations: 44.3 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003278, allocations: 11.94 kB / 463.1 MB, free: 472 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2935/0.2938, allocations: 61.9 MB / 0.5127 GB, free: 38.04 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test26): time 0.001554/0.2954, allocations: 1.335 MB / 0.514 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005848/0.296, allocations: 482.9 kB / 0.5145 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.741e-05/0.2961, allocations: 2.656 kB / 0.5145 GB, free: 36.72 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.2963, allocations: 49.06 kB / 0.5146 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00013/0.2964, allocations: 50.86 kB / 0.5146 GB, free: 36.69 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002702/0.2967, allocations: 124 kB / 0.5147 GB, free: 36.62 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.2968, allocations: 66.56 kB / 0.5148 GB, free: 36.6 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.46e-05/0.2969, allocations: 16.47 kB / 0.5148 GB, free: 36.59 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.414e-05/0.297, allocations: 26.5 kB / 0.5148 GB, free: 36.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.441e-05/0.297, allocations: 36.98 kB / 0.5149 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.297, allocations: 2.812 kB / 0.5149 GB, free: 36.57 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.752e-05/0.2971, allocations: 42.53 kB / 0.5149 GB, free: 36.56 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.866e-05/0.2972, allocations: 23.44 kB / 0.5149 GB, free: 36.55 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.444e-05/0.2972, allocations: 50.83 kB / 0.515 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001412/0.2974, allocations: 98.42 kB / 0.5151 GB, free: 36.46 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.2974, allocations: 2.469 kB / 0.5151 GB, free: 36.46 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.2974, allocations: 3.938 kB / 0.5151 GB, free: 36.45 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.2974, allocations: 0 / 0.5151 GB, free: 36.45 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003704/0.2978, allocations: 401.5 kB / 0.5155 GB, free: 36.05 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.277e-05/0.2978, allocations: 14.84 kB / 0.5155 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.217e-05/0.2979, allocations: 11.5 kB / 0.5155 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.298, allocations: 190 kB / 0.5157 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.898e-06/0.298, allocations: 384 / 0.5157 GB, free: 35.84 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.902e-05/0.2981, allocations: 10.78 kB / 0.5157 GB, free: 35.83 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.2982, allocations: 69.22 kB / 0.5157 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2982, allocations: 0 / 0.5157 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.186e-06/0.2982, allocations: 0 / 0.5157 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.2983, allocations: 6.906 kB / 0.5157 GB, free: 35.78 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.2984, allocations: 47.16 kB / 0.5158 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003016/0.2987, allocations: 306.2 kB / 0.5161 GB, free: 35.47 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001956/0.2989, allocations: 62.44 kB / 0.5161 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.97e-05/0.299, allocations: 27.45 kB / 0.5162 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.717e-05/0.299, allocations: 0 / 0.5162 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.206e-05/0.299, allocations: 37.59 kB / 0.5162 GB, free: 35.38 MB / 378.7 MB Notification: Performance of pre-optimization done (n=5): time 1.764e-06/0.299, allocations: 96 / 0.5162 GB, free: 35.38 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.001267/0.3003, allocations: 473.4 kB / 0.5167 GB, free: 35.25 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.922e-05/0.3003, allocations: 57.94 kB / 0.5167 GB, free: 35.18 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.3005, allocations: 176.9 kB / 0.5169 GB, free: 35.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.3005, allocations: 26.73 kB / 0.5169 GB, free: 35.02 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.3005, allocations: 100 kB / 0.517 GB, free: 34.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.576e-05/0.3006, allocations: 34.89 kB / 0.517 GB, free: 34.9 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.969e-06/0.3006, allocations: 0 / 0.517 GB, free: 34.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.3006, allocations: 326.1 kB / 0.5173 GB, free: 34.58 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001285/0.3007, allocations: 52.81 kB / 0.5174 GB, free: 34.57 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001155/0.3009, allocations: 49.09 kB / 0.5174 GB, free: 34.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002413/0.3011, allocations: 112.5 kB / 0.5175 GB, free: 34.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.52e-07/0.3011, allocations: 3.938 kB / 0.5176 GB, free: 34.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002992/0.3014, allocations: 169.8 kB / 0.5177 GB, free: 34.44 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3015, allocations: 5.375 kB / 0.5177 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3015, allocations: 0.6094 kB / 0.5177 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.239e-05/0.3015, allocations: 4 kB / 0.5177 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001065/0.3016, allocations: 28.52 kB / 0.5178 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.3016, allocations: 2.938 kB / 0.5178 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/0.3017, allocations: 12.97 kB / 0.5178 GB, free: 34.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.3017, allocations: 6.969 kB / 0.5178 GB, free: 34.43 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.299e-05/0.3018, allocations: 133 kB / 0.5179 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.3018, allocations: 14.81 kB / 0.5179 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003401/0.3021, allocations: 178.7 kB / 0.5181 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.3021, allocations: 5.641 kB / 0.5181 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3022, allocations: 1.094 kB / 0.5181 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.3022, allocations: 0.6094 kB / 0.5181 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005576/0.3027, allocations: 483.4 kB / 0.5186 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.3027, allocations: 1.031 kB / 0.5186 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.898e-05/0.3028, allocations: 29.05 kB / 0.5186 GB, free: 33.83 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.477e-06/0.3029, allocations: 5.125 kB / 0.5186 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.006e-05/0.3029, allocations: 6.656 kB / 0.5186 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.3029, allocations: 1.188 kB / 0.5186 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.704e-06/0.3029, allocations: 1.922 kB / 0.5186 GB, free: 33.82 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003053/0.3032, allocations: 270.6 kB / 0.5189 GB, free: 33.63 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.608e-05/0.3032, allocations: 86.48 kB / 0.5189 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.822e-05/0.3033, allocations: 6.219 kB / 0.5189 GB, free: 33.53 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.195e-05/0.3034, allocations: 17.84 kB / 0.519 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.684e-05/0.3034, allocations: 12.39 kB / 0.519 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.638e-06/0.3034, allocations: 13.56 kB / 0.519 GB, free: 33.51 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.776e-05/0.3035, allocations: 138.5 kB / 0.5191 GB, free: 33.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3035, allocations: 0 / 0.5191 GB, free: 33.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002335/0.3038, allocations: 27.52 kB / 0.5191 GB, free: 33.41 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009018/0.3047, allocations: 0.5249 MB / 0.5197 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000285/0.305, allocations: 122.9 kB / 0.5198 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.305, allocations: 2.781 kB / 0.5198 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001303/0.3051, allocations: 70.72 kB / 0.5198 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003036/0.3054, allocations: 16.69 kB / 0.5199 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.3058, allocations: 302.1 kB / 0.5201 GB, free: 32.83 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.306, allocations: 0.7115 MB / 0.5208 GB, free: 32.13 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.966e-05/0.306, allocations: 17.41 kB / 0.5209 GB, free: 32.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.3061, allocations: 16.28 kB / 0.5209 GB, free: 32.11 MB / 378.7 MB Notification: Performance of SimCode: time 3.1e-07/0.3061, allocations: 0 / 0.5209 GB, free: 32.11 MB / 378.7 MB Notification: Performance of Templates: time 0.00327/0.3093, allocations: 1.414 MB / 0.5223 GB, free: 31.95 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test26/Test26.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test26.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches