Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new_2.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 173.9 kB / 17.41 MB, free: 4.418 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.39/1.39, allocations: 225.7 MB / 243.9 MB, free: 8.438 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.0009101/0.00091, allocations: 88.67 kB / 295.1 MB, free: 9.473 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.3499/0.3499, allocations: 44.32 MB / 390.5 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003063/0.0003065, allocations: 15.94 kB / 463.2 MB, free: 448 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2933, allocations: 61.9 MB / 0.5127 GB, free: 37.58 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002226/0.2955, allocations: 1.48 MB / 0.5142 GB, free: 36.51 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002378/0.2979, allocations: 1.637 MB / 0.5158 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001119/0.2981, allocations: 0 / 0.5158 GB, free: 35.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003809/0.2985, allocations: 51.23 kB / 0.5158 GB, free: 35.25 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003136/0.2988, allocations: 67.84 kB / 0.5159 GB, free: 35.21 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005282/0.2993, allocations: 157.5 kB / 0.5161 GB, free: 35.13 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000278/0.2996, allocations: 169.1 kB / 0.5162 GB, free: 35.06 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.287e-05/0.2997, allocations: 16.78 kB / 0.5162 GB, free: 35.05 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.2999, allocations: 75.45 kB / 0.5163 GB, free: 35.01 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.3001, allocations: 67.69 kB / 0.5164 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.3001, allocations: 6.062 kB / 0.5164 GB, free: 34.98 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001527/0.3003, allocations: 48.38 kB / 0.5164 GB, free: 34.97 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.3004, allocations: 27.09 kB / 0.5164 GB, free: 34.96 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 8.658e-05/0.3005, allocations: 86.03 kB / 0.5165 GB, free: 34.89 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002701/0.3007, allocations: 164 kB / 0.5167 GB, free: 34.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.3008, allocations: 0 / 0.5167 GB, free: 34.82 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3008, allocations: 6.875 kB / 0.5167 GB, free: 34.82 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.3008, allocations: 0 / 0.5167 GB, free: 34.82 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006397/0.3014, allocations: 439.5 kB / 0.5171 GB, free: 34.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.3015, allocations: 8.531 kB / 0.5171 GB, free: 34.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.436e-05/0.3016, allocations: 16.94 kB / 0.5171 GB, free: 34.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003432/0.3019, allocations: 242.8 kB / 0.5174 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.072e-05/0.3019, allocations: 384 / 0.5174 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.073e-05/0.302, allocations: 10.44 kB / 0.5174 GB, free: 34.16 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002563/0.3022, allocations: 98.28 kB / 0.5175 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.3023, allocations: 0 / 0.5175 GB, free: 34.08 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.88e-05/0.3023, allocations: 3.938 kB / 0.5175 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.3023, allocations: 3.031 kB / 0.5175 GB, free: 34.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001405/0.3025, allocations: 33.17 kB / 0.5175 GB, free: 34.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002391/0.3027, allocations: 214.2 kB / 0.5177 GB, free: 33.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003112/0.303, allocations: 104.4 kB / 0.5178 GB, free: 33.77 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.3032, allocations: 42.09 kB / 0.5179 GB, free: 33.75 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.3032, allocations: 6.625 kB / 0.5179 GB, free: 33.74 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002792/0.3035, allocations: 117.2 kB / 0.518 GB, free: 33.65 MB / 378.7 MB Notification: Performance of pre-optimization done (n=10): time 1.623e-06/0.3035, allocations: 0 / 0.518 GB, free: 33.65 MB / 378.7 MB Notification: Performance of matching and sorting (n=10): time 0.0005272/0.3041, allocations: 157.2 kB / 0.5181 GB, free: 33.58 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.687e-05/0.3041, allocations: 139.4 kB / 0.5183 GB, free: 33.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.3044, allocations: 211.4 kB / 0.5185 GB, free: 33.28 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.681e-05/0.3044, allocations: 30.77 kB / 0.5185 GB, free: 33.24 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.3045, allocations: 113.8 kB / 0.5186 GB, free: 33.14 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.3045, allocations: 31.22 kB / 0.5186 GB, free: 33.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.625e-06/0.3046, allocations: 1.156 kB / 0.5186 GB, free: 33.11 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.058e-05/0.3046, allocations: 326.5 kB / 0.5189 GB, free: 32.79 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001165/0.3048, allocations: 33.36 kB / 0.519 GB, free: 32.78 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000135/0.3049, allocations: 68.67 kB / 0.519 GB, free: 32.72 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002315/0.3051, allocations: 88.12 kB / 0.5191 GB, free: 32.66 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.3052, allocations: 1 kB / 0.5191 GB, free: 32.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003462/0.3055, allocations: 141.6 kB / 0.5193 GB, free: 32.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.774e-05/0.3055, allocations: 4.719 kB / 0.5193 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.3056, allocations: 1.688 kB / 0.5193 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/0.3056, allocations: 2.625 kB / 0.5193 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.3057, allocations: 24.55 kB / 0.5193 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/0.3058, allocations: 1.969 kB / 0.5193 GB, free: 32.58 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001176/0.3059, allocations: 12.8 kB / 0.5193 GB, free: 32.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.3059, allocations: 3.281 kB / 0.5193 GB, free: 32.57 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled,$whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001323/0.3061, allocations: 148.6 kB / 0.5194 GB, free: 32.44 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.958e-05/0.3061, allocations: 16.66 kB / 0.5195 GB, free: 32.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.14e-05/0.3062, allocations: 21.72 kB / 0.5195 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.3062, allocations: 1.312 kB / 0.5195 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.3062, allocations: 1.375 kB / 0.5195 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.139e-06/0.3062, allocations: 0 / 0.5195 GB, free: 32.42 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002026/0.3064, allocations: 217.5 kB / 0.5197 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.3065, allocations: 1 kB / 0.5197 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.742e-05/0.3065, allocations: 8.078 kB / 0.5197 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.3065, allocations: 4.703 kB / 0.5197 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.575e-05/0.3066, allocations: 3.25 kB / 0.5197 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3066, allocations: 2.172 kB / 0.5197 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3066, allocations: 0 / 0.5197 GB, free: 32.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003771/0.307, allocations: 167.4 kB / 0.5199 GB, free: 32.09 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.758e-05/0.307, allocations: 98.47 kB / 0.52 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.3071, allocations: 11.23 kB / 0.52 GB, free: 31.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001077/0.3072, allocations: 10.11 kB / 0.52 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.117e-05/0.3073, allocations: 7.719 kB / 0.52 GB, free: 31.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.423e-05/0.3073, allocations: 9.062 kB / 0.52 GB, free: 31.97 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002004/0.3075, allocations: 156.3 kB / 0.5201 GB, free: 31.87 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.3075, allocations: 0 / 0.5201 GB, free: 31.87 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003875/0.3079, allocations: 39.09 kB / 0.5202 GB, free: 31.86 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEventScaled,t_new.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001402/0.3093, allocations: 0.5345 MB / 0.5207 GB, free: 31.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000286/0.3096, allocations: 76 kB / 0.5208 GB, free: 31.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3097, allocations: 0 / 0.5208 GB, free: 31.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001214/0.3098, allocations: 44.28 kB / 0.5208 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004651/0.3103, allocations: 57.81 kB / 0.5209 GB, free: 31.49 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005269/0.3108, allocations: 294.1 kB / 0.5212 GB, free: 31.27 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001365/0.3109, allocations: 0.7146 MB / 0.5219 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.3111, allocations: 30.48 kB / 0.5219 GB, free: 30.57 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.328e-05/0.3112, allocations: 27.34 kB / 0.5219 GB, free: 30.56 MB / 378.7 MB Notification: Performance of SimCode: time 3.81e-07/0.3112, allocations: 0 / 0.5219 GB, free: 30.56 MB / 378.7 MB Notification: Performance of Templates: time 0.006852/0.3181, allocations: 2.521 MB / 0.5244 GB, free: 30.29 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test81.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches