Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.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.Test43,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.Test43") translateModel(ModelicaTest.Tables.CombiTimeTable.Test43,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.Test43") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008809/0.000881, allocations: 174 kB / 17.41 MB, free: 4.254 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.331/1.331, 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.0008249/0.0008248, allocations: 86.03 kB / 295 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.3227/0.3227, allocations: 44.32 MB / 390.5 MB, free: 38.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004349/0.000435, allocations: 8 kB / 463.2 MB, free: 444 kB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3693, allocations: 61.9 MB / 0.5127 GB, free: 38.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test43): time 0.002209/0.3716, allocations: 1.402 MB / 0.5141 GB, free: 37.15 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.3729, allocations: 0.8988 MB / 0.515 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.3731, allocations: 0 / 0.515 GB, free: 36.49 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003605/0.3735, allocations: 40.61 kB / 0.515 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002457/0.3737, allocations: 49.72 kB / 0.5151 GB, free: 36.45 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003676/0.3741, allocations: 96.91 kB / 0.5152 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001849/0.3743, allocations: 95.34 kB / 0.5153 GB, free: 36.36 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001111/0.3744, allocations: 14.03 kB / 0.5153 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001089/0.3745, allocations: 48.75 kB / 0.5153 GB, free: 36.32 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.236e-05/0.3746, allocations: 27.09 kB / 0.5153 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.784e-05/0.3746, allocations: 2.906 kB / 0.5154 GB, free: 36.31 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001213/0.3748, allocations: 31.66 kB / 0.5154 GB, free: 36.3 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.82e-05/0.3748, allocations: 27.31 kB / 0.5154 GB, free: 36.29 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.825e-05/0.3749, allocations: 55.83 kB / 0.5155 GB, free: 36.23 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000216/0.3751, allocations: 111.4 kB / 0.5156 GB, free: 36.19 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.3752, allocations: 0 / 0.5156 GB, free: 36.19 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3752, allocations: 6.906 kB / 0.5156 GB, free: 36.19 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.3752, allocations: 0 / 0.5156 GB, free: 36.19 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.0005326/0.3757, allocations: 395.5 kB / 0.516 GB, free: 35.79 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/0.3758, allocations: 8.75 kB / 0.516 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.898e-05/0.3758, allocations: 14.59 kB / 0.516 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.3761, allocations: 204.4 kB / 0.5162 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.54e-05/0.3761, allocations: 3.094 kB / 0.5162 GB, free: 35.57 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.067e-05/0.3762, allocations: 14.72 kB / 0.5162 GB, free: 35.56 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3763, allocations: 49.92 kB / 0.5162 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.3764, allocations: 2.625 kB / 0.5162 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.692e-05/0.3764, allocations: 7.938 kB / 0.5162 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.3764, allocations: 0 / 0.5162 GB, free: 35.52 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.104e-05/0.3765, allocations: 18.61 kB / 0.5163 GB, free: 35.51 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.3769, allocations: 291.9 kB / 0.5165 GB, free: 35.22 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000187/0.3771, allocations: 58.23 kB / 0.5166 GB, free: 35.18 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.494e-05/0.3771, allocations: 23.81 kB / 0.5166 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.878e-05/0.3772, allocations: 0 / 0.5166 GB, free: 35.16 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002571/0.3775, allocations: 67.55 kB / 0.5167 GB, free: 35.11 MB / 378.7 MB Notification: Performance of pre-optimization done (n=6): time 1.853e-06/0.3775, allocations: 0 / 0.5167 GB, free: 35.11 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006603/0.3782, allocations: 171.4 kB / 0.5168 GB, free: 35.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.3782, allocations: 52.02 kB / 0.5169 GB, free: 34.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002293/0.3784, allocations: 199.9 kB / 0.5171 GB, free: 34.83 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.3785, allocations: 26.8 kB / 0.5171 GB, free: 34.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.525e-05/0.3786, allocations: 104.7 kB / 0.5172 GB, free: 34.7 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.863e-05/0.3786, allocations: 26.67 kB / 0.5172 GB, free: 34.68 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.525e-06/0.3786, allocations: 4 kB / 0.5172 GB, free: 34.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001366/0.3788, allocations: 330.3 kB / 0.5176 GB, free: 34.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.824e-05/0.3789, allocations: 22.22 kB / 0.5176 GB, free: 34.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.81e-05/0.3789, allocations: 40.16 kB / 0.5176 GB, free: 34.32 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/0.3791, allocations: 61.47 kB / 0.5177 GB, free: 34.28 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.3791, allocations: 1.094 kB / 0.5177 GB, free: 34.28 MB / 378.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002494/0.3793, allocations: 98.61 kB / 0.5178 GB, free: 34.22 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.3794, allocations: 9.219 kB / 0.5178 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.3794, allocations: 0 / 0.5178 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.476e-05/0.3794, allocations: 1.094 kB / 0.5178 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001256/0.3796, allocations: 16.7 kB / 0.5178 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.3796, allocations: 1 kB / 0.5178 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.589e-05/0.3797, allocations: 7.531 kB / 0.5178 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.196e-05/0.3797, allocations: 2.156 kB / 0.5178 GB, free: 34.21 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.0001315/0.3798, allocations: 128 kB / 0.5179 GB, free: 34.09 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.166e-05/0.3799, allocations: 16.94 kB / 0.5179 GB, free: 34.08 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.82e-05/0.3799, allocations: 23.27 kB / 0.518 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.3799, allocations: 0 / 0.518 GB, free: 34.07 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/0.38, allocations: 7.938 kB / 0.518 GB, free: 34.06 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.38, allocations: 6.406 kB / 0.518 GB, free: 34.05 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004772/0.3805, allocations: 385.1 kB / 0.5183 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.2e-06/0.3805, allocations: 3.156 kB / 0.5183 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.393e-05/0.3805, allocations: 13.27 kB / 0.5184 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.3805, allocations: 0 / 0.5184 GB, free: 33.71 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.242e-05/0.3805, allocations: 10.94 kB / 0.5184 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.3806, allocations: 240 / 0.5184 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.177e-06/0.3806, allocations: 3 kB / 0.5184 GB, free: 33.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000237/0.3808, allocations: 201.2 kB / 0.5186 GB, free: 33.54 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.961e-05/0.3809, allocations: 95.88 kB / 0.5187 GB, free: 33.43 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.118e-05/0.3809, allocations: 10.38 kB / 0.5187 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.577e-05/0.381, allocations: 4 kB / 0.5187 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.205e-05/0.381, allocations: 13.38 kB / 0.5187 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.966e-05/0.3811, allocations: 2.656 kB / 0.5187 GB, free: 33.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001645/0.3812, allocations: 148 kB / 0.5188 GB, free: 33.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.3813, allocations: 0 / 0.5188 GB, free: 33.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003022/0.3816, allocations: 27.69 kB / 0.5189 GB, free: 33.31 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.001298/0.3829, allocations: 0.5191 MB / 0.5194 GB, free: 33.01 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001937/0.3831, allocations: 55.31 kB / 0.5194 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3831, allocations: 0 / 0.5194 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 8.095e-05/0.3832, allocations: 32.72 kB / 0.5194 GB, free: 32.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.3836, allocations: 24.02 kB / 0.5195 GB, free: 32.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005461/0.3841, allocations: 267.6 kB / 0.5197 GB, free: 32.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.3843, allocations: 0.711 MB / 0.5204 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.932e-05/0.3844, allocations: 10.92 kB / 0.5204 GB, free: 32.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.201e-05/0.3845, allocations: 17.91 kB / 0.5204 GB, free: 32.06 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.3845, allocations: 0 / 0.5204 GB, free: 32.06 MB / 378.7 MB Notification: Performance of Templates: time 0.00512/0.3896, allocations: 1.622 MB / 0.522 GB, free: 31.88 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test43/Test43.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test43.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches