Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 173.2 kB / 17.41 MB, free: 4.391 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.435/1.435, allocations: 225.7 MB / 243.9 MB, free: 10.18 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.0009486/0.0009485, allocations: 97.55 kB / 295.1 MB, free: 9.703 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.3447/0.3447, allocations: 44.32 MB / 390.5 MB, free: 38.28 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003211/0.0003212, allocations: 12 kB / 463.2 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3773, allocations: 61.89 MB / 0.5127 GB, free: 38.12 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.002897/0.3803, allocations: 1.399 MB / 0.5141 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.002118/0.3824, allocations: 0.8923 MB / 0.515 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.718e-05/0.3825, allocations: 0 / 0.515 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.3829, allocations: 40.77 kB / 0.515 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.3833, allocations: 49.64 kB / 0.5151 GB, free: 36.42 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005038/0.3838, allocations: 96.52 kB / 0.5152 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.000213/0.384, allocations: 91.84 kB / 0.5152 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001297/0.3842, allocations: 17.64 kB / 0.5153 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001272/0.3843, allocations: 34 kB / 0.5153 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.473e-05/0.3844, allocations: 34.38 kB / 0.5153 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.3e-05/0.3845, allocations: 4 kB / 0.5153 GB, free: 36.28 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001375/0.3846, allocations: 40.05 kB / 0.5154 GB, free: 36.27 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.59e-05/0.3847, allocations: 17.34 kB / 0.5154 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 7.501e-05/0.3848, allocations: 58.23 kB / 0.5154 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002508/0.3851, allocations: 102.3 kB / 0.5155 GB, free: 36.17 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3851, allocations: 3.938 kB / 0.5155 GB, free: 36.17 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.727e-06/0.3851, allocations: 2.75 kB / 0.5155 GB, free: 36.17 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.004e-06/0.3851, allocations: 0 / 0.5155 GB, free: 36.17 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006032/0.3857, allocations: 396.3 kB / 0.5159 GB, free: 35.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.891e-05/0.3858, allocations: 12.78 kB / 0.5159 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.3859, allocations: 7.781 kB / 0.5159 GB, free: 35.76 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.3861, allocations: 207.5 kB / 0.5161 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.195e-05/0.3862, allocations: 384 / 0.5161 GB, free: 35.55 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.139e-05/0.3862, allocations: 11 kB / 0.5162 GB, free: 35.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001989/0.3864, allocations: 53.52 kB / 0.5162 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.3865, allocations: 0.6562 kB / 0.5162 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.3865, allocations: 6.75 kB / 0.5162 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.54e-06/0.3865, allocations: 0 / 0.5162 GB, free: 35.5 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001149/0.3866, allocations: 27.02 kB / 0.5162 GB, free: 35.48 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000442/0.3871, allocations: 285 kB / 0.5165 GB, free: 35.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.3874, allocations: 50.81 kB / 0.5166 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001015/0.3875, allocations: 26.27 kB / 0.5166 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.669e-05/0.3875, allocations: 0 / 0.5166 GB, free: 35.15 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002313/0.3878, allocations: 70.2 kB / 0.5166 GB, free: 35.09 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.984e-06/0.3878, allocations: 3.938 kB / 0.5167 GB, free: 35.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007577/0.3885, allocations: 176.7 kB / 0.5168 GB, free: 35 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.3886, allocations: 55.95 kB / 0.5169 GB, free: 34.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002599/0.3889, allocations: 184.8 kB / 0.5171 GB, free: 34.81 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.3889, allocations: 26.7 kB / 0.5171 GB, free: 34.78 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.428e-05/0.389, allocations: 104.5 kB / 0.5172 GB, free: 34.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.27e-05/0.389, allocations: 27.48 kB / 0.5172 GB, free: 34.66 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.3891, allocations: 5.125 kB / 0.5172 GB, free: 34.65 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.744e-05/0.3891, allocations: 328.5 kB / 0.5175 GB, free: 34.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.303e-05/0.3892, allocations: 14.47 kB / 0.5175 GB, free: 34.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.594e-05/0.3894, allocations: 37.88 kB / 0.5176 GB, free: 34.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.3895, allocations: 61.75 kB / 0.5176 GB, free: 34.26 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.3896, allocations: 1.125 kB / 0.5176 GB, free: 34.26 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002991/0.3899, allocations: 96.89 kB / 0.5177 GB, free: 34.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.216e-05/0.3899, allocations: 9.281 kB / 0.5177 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.3899, allocations: 2.438 kB / 0.5177 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-05/0.39, allocations: 0 / 0.5177 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001413/0.3901, allocations: 16.58 kB / 0.5177 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.3901, allocations: 4.141 kB / 0.5178 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.491e-05/0.3902, allocations: 9.938 kB / 0.5178 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.3903, allocations: 7.219 kB / 0.5178 GB, free: 34.19 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($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 (10): * Single equations (assignments): 10 * 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.0001124/0.3904, allocations: 123 kB / 0.5179 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/0.3904, allocations: 13.69 kB / 0.5179 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.37e-05/0.3905, allocations: 17.8 kB / 0.5179 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.3905, allocations: 0 / 0.5179 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.3906, allocations: 0 / 0.5179 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.3906, allocations: 3.938 kB / 0.5179 GB, free: 34.04 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005538/0.3911, allocations: 395.4 kB / 0.5183 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.3912, allocations: 0 / 0.5183 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.831e-05/0.3912, allocations: 12.62 kB / 0.5183 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.3913, allocations: 0 / 0.5183 GB, free: 33.69 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.3913, allocations: 9.953 kB / 0.5183 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.149e-06/0.3913, allocations: 6.906 kB / 0.5183 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.3913, allocations: 3.984 kB / 0.5183 GB, free: 33.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003571/0.3917, allocations: 197.5 kB / 0.5185 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.626e-05/0.3917, allocations: 90.86 kB / 0.5186 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.019e-05/0.3918, allocations: 6.938 kB / 0.5186 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000138/0.392, allocations: 10.17 kB / 0.5186 GB, free: 33.4 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.947e-05/0.392, allocations: 10.28 kB / 0.5186 GB, free: 33.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.3921, allocations: 7.516 kB / 0.5186 GB, free: 33.39 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001511/0.3922, allocations: 145.5 kB / 0.5188 GB, free: 33.3 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.3922, allocations: 2.531 kB / 0.5188 GB, free: 33.3 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004455/0.3927, allocations: 20.91 kB / 0.5188 GB, free: 33.29 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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001703/0.3944, allocations: 0.5259 MB / 0.5193 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002744/0.3947, allocations: 59.2 kB / 0.5194 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.3947, allocations: 0 / 0.5194 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.3949, allocations: 28.84 kB / 0.5194 GB, free: 32.96 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.3955, allocations: 26.94 kB / 0.5194 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006421/0.3961, allocations: 243.7 kB / 0.5197 GB, free: 32.76 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000195/0.3963, allocations: 0.7089 MB / 0.5203 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.184e-05/0.3964, allocations: 14.23 kB / 0.5204 GB, free: 32.05 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.468e-05/0.3965, allocations: 14.75 kB / 0.5204 GB, free: 32.05 MB / 378.7 MB Notification: Performance of SimCode: time 4.21e-07/0.3965, allocations: 4 kB / 0.5204 GB, free: 32.05 MB / 378.7 MB Notification: Performance of Templates: time 0.006537/0.4031, allocations: 1.624 MB / 0.522 GB, free: 31.86 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test32/Test32.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches