Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.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.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") translateModel(ModelicaTest.Tables.CombiTimeTable.Test36,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00113/0.00113, allocations: 173.2 kB / 17.4 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.316/1.316, allocations: 225.7 MB / 243.9 MB, free: 10.19 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.0007387/0.0007387, allocations: 99.67 kB / 295.1 MB, free: 9.707 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.3739/0.3739, allocations: 44.32 MB / 390.5 MB, free: 38.36 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.0004392, allocations: 12 kB / 463.2 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3772/0.3776, allocations: 61.9 MB / 0.5127 GB, free: 38.08 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test36): time 0.001741/0.3794, allocations: 1.416 MB / 0.5141 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001035/0.3805, allocations: 0.8949 MB / 0.515 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.3805, allocations: 2.969 kB / 0.515 GB, free: 36.41 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002783/0.3808, allocations: 82.06 kB / 0.5151 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001798/0.381, allocations: 62.36 kB / 0.5151 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002626/0.3813, allocations: 120.5 kB / 0.5153 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001404/0.3814, allocations: 107.5 kB / 0.5154 GB, free: 36.26 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.02e-05/0.3815, allocations: 10.25 kB / 0.5154 GB, free: 36.25 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.102e-05/0.3816, allocations: 52.95 kB / 0.5154 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.389e-05/0.3817, allocations: 59.55 kB / 0.5155 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.3817, allocations: 2.781 kB / 0.5155 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.366e-05/0.3818, allocations: 42.64 kB / 0.5155 GB, free: 36.21 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.214e-05/0.3819, allocations: 30.53 kB / 0.5156 GB, free: 36.2 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 6.696e-05/0.382, allocations: 65.8 kB / 0.5156 GB, free: 36.14 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001636/0.3821, allocations: 130.3 kB / 0.5157 GB, free: 36.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3821, allocations: 0 / 0.5157 GB, free: 36.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3822, allocations: 3 kB / 0.5157 GB, free: 36.09 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.3822, allocations: 0 / 0.5157 GB, free: 36.09 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.0004497/0.3826, allocations: 414 kB / 0.5161 GB, free: 35.67 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.3827, allocations: 11.66 kB / 0.5161 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.865e-05/0.3827, allocations: 11.12 kB / 0.5162 GB, free: 35.67 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.3829, allocations: 215 kB / 0.5164 GB, free: 35.45 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.8e-05/0.3829, allocations: 6.359 kB / 0.5164 GB, free: 35.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.959e-05/0.3829, allocations: 12.27 kB / 0.5164 GB, free: 35.43 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001426/0.3831, allocations: 57.33 kB / 0.5164 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.3831, allocations: 0 / 0.5164 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.3831, allocations: 1.125 kB / 0.5164 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3831, allocations: 1.125 kB / 0.5164 GB, free: 35.39 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.865e-05/0.3832, allocations: 29.3 kB / 0.5165 GB, free: 35.38 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.3835, allocations: 309.2 kB / 0.5168 GB, free: 35.08 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002162/0.3838, allocations: 55.39 kB / 0.5168 GB, free: 35.05 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.382e-05/0.3838, allocations: 25.09 kB / 0.5168 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.3839, allocations: 2.281 kB / 0.5168 GB, free: 35.04 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.384, allocations: 79.48 kB / 0.5169 GB, free: 34.97 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.342e-06/0.384, allocations: 0 / 0.5169 GB, free: 34.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006576/0.3847, allocations: 244 kB / 0.5171 GB, free: 34.86 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.341e-05/0.3847, allocations: 55.34 kB / 0.5172 GB, free: 34.79 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.3849, allocations: 223.5 kB / 0.5174 GB, free: 34.65 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.292e-05/0.3849, allocations: 35.88 kB / 0.5174 GB, free: 34.62 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.059e-05/0.385, allocations: 105.4 kB / 0.5176 GB, free: 34.52 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.385, allocations: 36.78 kB / 0.5176 GB, free: 34.49 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.385, allocations: 4 kB / 0.5176 GB, free: 34.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.978e-05/0.3851, allocations: 320.8 kB / 0.5179 GB, free: 34.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.889e-05/0.3851, allocations: 32.14 kB / 0.5179 GB, free: 34.16 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.396e-05/0.3852, allocations: 45.17 kB / 0.518 GB, free: 34.13 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001107/0.3853, allocations: 83.55 kB / 0.518 GB, free: 34.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.3853, allocations: 4 kB / 0.5181 GB, free: 34.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001668/0.3855, allocations: 126.8 kB / 0.5182 GB, free: 34.01 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.258e-05/0.3855, allocations: 5.469 kB / 0.5182 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3855, allocations: 0 / 0.5182 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.3855, allocations: 2.812 kB / 0.5182 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.298e-05/0.3856, allocations: 19.72 kB / 0.5182 GB, free: 34.01 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.3856, allocations: 3.938 kB / 0.5182 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.495e-05/0.3857, allocations: 6.625 kB / 0.5182 GB, free: 34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-06/0.3857, allocations: 5.5 kB / 0.5182 GB, free: 34 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 (13): * Single equations (assignments): 13 * 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 7.252e-05/0.3858, allocations: 137.3 kB / 0.5183 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.609e-05/0.3858, allocations: 13.69 kB / 0.5184 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.585e-05/0.3858, allocations: 26.09 kB / 0.5184 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.3859, allocations: 0 / 0.5184 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3859, allocations: 3.938 kB / 0.5184 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3859, allocations: 0 / 0.5184 GB, free: 33.85 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004075/0.3863, allocations: 456.3 kB / 0.5188 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.3863, allocations: 3.938 kB / 0.5188 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.512e-05/0.3864, allocations: 15.58 kB / 0.5188 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.3864, allocations: 2.031 kB / 0.5188 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.3864, allocations: 1.219 kB / 0.5188 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.3864, allocations: 1.5 kB / 0.5188 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3864, allocations: 1.375 kB / 0.5188 GB, free: 33.46 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000215/0.3866, allocations: 236.1 kB / 0.5191 GB, free: 33.27 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.07e-05/0.3866, allocations: 92.92 kB / 0.5192 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.469e-05/0.3867, allocations: 6.688 kB / 0.5192 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.098e-05/0.3868, allocations: 2.938 kB / 0.5192 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.3868, allocations: 7.656 kB / 0.5192 GB, free: 33.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.457e-05/0.3868, allocations: 4.094 kB / 0.5192 GB, free: 33.17 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001104/0.3869, allocations: 170.3 kB / 0.5193 GB, free: 33.07 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3869, allocations: 0 / 0.5193 GB, free: 33.07 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002481/0.3872, allocations: 33 kB / 0.5194 GB, free: 33.06 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: 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 (11): * Single equations (assignments): 9 * 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.001057/0.3883, allocations: 0.6023 MB / 0.52 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001798/0.3884, allocations: 74.73 kB / 0.52 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.3885, allocations: 5.469 kB / 0.52 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.448e-05/0.3885, allocations: 34.22 kB / 0.5201 GB, free: 32.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.3889, allocations: 40.03 kB / 0.5201 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.3893, allocations: 314.1 kB / 0.5204 GB, free: 32.42 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000128/0.3894, allocations: 0.7146 MB / 0.5211 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.597e-05/0.3895, allocations: 23.05 kB / 0.5211 GB, free: 31.71 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.3896, allocations: 28.84 kB / 0.5212 GB, free: 31.7 MB / 378.7 MB Notification: Performance of SimCode: time 3.31e-07/0.3896, allocations: 0 / 0.5212 GB, free: 31.7 MB / 378.7 MB Notification: Performance of Templates: time 0.00399/0.3936, allocations: 1.868 MB / 0.523 GB, free: 31.49 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test36/Test36.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test36.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches