Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters") translateModel(ModelicaTest.Blocks.StrictLimiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|PID1.D.x|PID1.I.y|PID2.D.x|PID2.I.y|limIntegrator1.y|limIntegrator2.y|slewRateLimiter1.y|slewRateLimiter2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 241.6 MB, free: 11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 105.9 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3416/0.3416, allocations: 44.14 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001078/0.001078, allocations: 47.92 kB / 457.7 MB, free: 2.328 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3329, allocations: 60.8 MB / 0.5064 GB, free: 38.27 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.StrictLimiters): time 0.005565/0.3386, allocations: 3.54 MB / 0.5098 GB, free: 35.74 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.003324/0.3419, allocations: 1.365 MB / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009906/0.343, allocations: 24.66 kB / 0.5112 GB, free: 34.77 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000522/0.3435, allocations: 81.72 kB / 0.5113 GB, free: 34.71 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009948/0.3446, allocations: 127.8 kB / 0.5114 GB, free: 34.62 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.3459, allocations: 0.5412 MB / 0.5119 GB, free: 34.3 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007752/0.3467, allocations: 0.8895 MB / 0.5128 GB, free: 33.89 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003871/0.3471, allocations: 285.5 kB / 0.5131 GB, free: 33.73 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003595/0.3475, allocations: 325.4 kB / 0.5134 GB, free: 33.58 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002792/0.3478, allocations: 338.8 kB / 0.5137 GB, free: 33.4 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 7.703e-05/0.3478, allocations: 34.56 kB / 0.5137 GB, free: 33.4 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.664e-05/0.3479, allocations: 37.88 kB / 0.5138 GB, free: 33.4 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001015/0.348, allocations: 136.3 kB / 0.5139 GB, free: 33.32 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002153/0.3482, allocations: 327.4 kB / 0.5142 GB, free: 33.09 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005388/0.3488, allocations: 0.76 MB / 0.515 GB, free: 32.74 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.3488, allocations: 0 / 0.515 GB, free: 32.74 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3488, allocations: 1.031 kB / 0.515 GB, free: 32.74 MB / 378.7 MB Notification: Performance of Transformations before backend: time 8.636e-06/0.3488, allocations: 0 / 0.515 GB, free: 32.74 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.00219/0.351, allocations: 1.189 MB / 0.5161 GB, free: 31.96 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.3511, allocations: 8.75 kB / 0.5161 GB, free: 31.96 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.3512, allocations: 93.38 kB / 0.5162 GB, free: 31.92 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007017/0.3519, allocations: 0.5463 MB / 0.5167 GB, free: 31.52 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.565e-05/0.352, allocations: 41.88 kB / 0.5168 GB, free: 31.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.891e-05/0.3521, allocations: 58.25 kB / 0.5168 GB, free: 31.47 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001302/0.3534, allocations: 0.7094 MB / 0.5175 GB, free: 31.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.894e-05/0.3534, allocations: 2.844 kB / 0.5175 GB, free: 31.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.627e-05/0.3535, allocations: 18.52 kB / 0.5176 GB, free: 31.11 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.203e-05/0.3535, allocations: 11.53 kB / 0.5176 GB, free: 31.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001335/0.3548, allocations: 0.5579 MB / 0.5181 GB, free: 30.96 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002479/0.3573, allocations: 2.297 MB / 0.5204 GB, free: 29.42 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001518/0.3589, allocations: 0.7184 MB / 0.5211 GB, free: 29.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007233/0.3596, allocations: 331.2 kB / 0.5214 GB, free: 29.01 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.778e-05/0.3597, allocations: 10 kB / 0.5214 GB, free: 29.01 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/0.3597, allocations: 45.03 kB / 0.5214 GB, free: 28.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=48): time 2.204e-06/0.3597, allocations: 0 / 0.5214 GB, free: 28.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=50): time 0.004065/0.3638, allocations: 1.915 MB / 0.5233 GB, free: 28.11 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.642e-05/0.3638, allocations: 190 kB / 0.5235 GB, free: 27.89 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004863/0.3643, allocations: 0.5691 MB / 0.524 GB, free: 27.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.3644, allocations: 36.58 kB / 0.5241 GB, free: 27.59 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001545/0.3645, allocations: 357 kB / 0.5244 GB, free: 27.31 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.431e-05/0.3646, allocations: 175.1 kB / 0.5246 GB, free: 27.17 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001465/0.3648, allocations: 102.8 kB / 0.5247 GB, free: 27.12 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.3649, allocations: 386.5 kB / 0.525 GB, free: 26.77 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007445/0.3656, allocations: 306.5 kB / 0.5253 GB, free: 26.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007792/0.3664, allocations: 416.7 kB / 0.5257 GB, free: 26.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001424/0.3679, allocations: 0.6541 MB / 0.5264 GB, free: 26.21 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.3679, allocations: 0 / 0.5264 GB, free: 26.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001799/0.3697, allocations: 0.7916 MB / 0.5271 GB, free: 25.94 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.263e-05/0.3697, allocations: 5.406 kB / 0.5271 GB, free: 25.94 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.3697, allocations: 13.83 kB / 0.5272 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.3698, allocations: 9.281 kB / 0.5272 GB, free: 25.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008282/0.3706, allocations: 187.4 kB / 0.5273 GB, free: 25.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.3706, allocations: 6 kB / 0.5274 GB, free: 25.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.3711, allocations: 82.02 kB / 0.5274 GB, free: 25.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.889e-05/0.3712, allocations: 20.97 kB / 0.5275 GB, free: 25.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006416/0.3718, allocations: 364.8 kB / 0.5278 GB, free: 25.72 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005548/0.3724, allocations: 350.9 kB / 0.5281 GB, free: 25.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00108/0.3735, allocations: 0.5428 MB / 0.5287 GB, free: 25.24 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.144e-06/0.3735, allocations: 0 / 0.5287 GB, free: 25.24 MB / 378.7 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.001224/0.3747, allocations: 0.6552 MB / 0.5293 GB, free: 25 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.997e-06/0.3747, allocations: 6.375 kB / 0.5293 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.107e-06/0.3748, allocations: 3.125 kB / 0.5293 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.572e-06/0.3748, allocations: 6.25 kB / 0.5293 GB, free: 25 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/0.3754, allocations: 168.7 kB / 0.5295 GB, free: 24.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.3754, allocations: 10.09 kB / 0.5295 GB, free: 24.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.3759, allocations: 66.72 kB / 0.5296 GB, free: 24.96 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.731e-05/0.3759, allocations: 26.02 kB / 0.5296 GB, free: 24.95 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0001957/0.3761, allocations: 205.5 kB / 0.5298 GB, free: 24.75 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001155/0.3762, allocations: 73.19 kB / 0.5298 GB, free: 24.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001971/0.3764, allocations: 84.36 kB / 0.5299 GB, free: 24.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.874e-06/0.3764, allocations: 10.31 kB / 0.5299 GB, free: 24.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.3765, allocations: 0 / 0.5299 GB, free: 24.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.3765, allocations: 3.797 kB / 0.5299 GB, free: 24.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002648/0.3791, allocations: 1.46 MB / 0.5314 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.3792, allocations: 0 / 0.5314 GB, free: 23.93 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006494/0.3798, allocations: 151.2 kB / 0.5315 GB, free: 23.92 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.671e-06/0.3798, allocations: 6.906 kB / 0.5315 GB, free: 23.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.723e-05/0.3799, allocations: 13.5 kB / 0.5315 GB, free: 23.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.3799, allocations: 3.062 kB / 0.5315 GB, free: 23.91 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.3799, allocations: 3.938 kB / 0.5315 GB, free: 23.91 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/0.3904, allocations: 5.385 MB / 0.5368 GB, free: 21.21 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/0.3907, allocations: 186.7 kB / 0.537 GB, free: 21.05 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.546e-05/0.3908, allocations: 14.75 kB / 0.537 GB, free: 21.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005436/0.3914, allocations: 71.16 kB / 0.5371 GB, free: 21.04 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001314/0.3915, allocations: 44.75 kB / 0.5371 GB, free: 21.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/0.3915, allocations: 17.72 kB / 0.5371 GB, free: 21.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004501/0.392, allocations: 394.7 kB / 0.5375 GB, free: 20.84 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.392, allocations: 0 / 0.5375 GB, free: 20.84 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001314/0.3933, allocations: 267.8 kB / 0.5377 GB, free: 20.81 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (der1.u,der2.u,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * 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 (50): * Single equations (assignments): 50 * 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.0001345/0.3935, allocations: 116 kB / 0.5379 GB, free: 20.7 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002631/0.3961, allocations: 0.9762 MB / 0.5388 GB, free: 20.45 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3961, allocations: 0 / 0.5388 GB, free: 20.45 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008742/0.397, allocations: 355.4 kB / 0.5391 GB, free: 20.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.3981, allocations: 200.7 kB / 0.5393 GB, free: 20.3 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004065/0.4022, allocations: 2.064 MB / 0.5414 GB, free: 19.07 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.4026, allocations: 0.9302 MB / 0.5423 GB, free: 18.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005678/0.4032, allocations: 98.56 kB / 0.5424 GB, free: 18.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002311/0.4034, allocations: 59.56 kB / 0.5424 GB, free: 18.33 MB / 378.7 MB Notification: Performance of SimCode: time 2.474e-06/0.4034, allocations: 0 / 0.5424 GB, free: 18.33 MB / 378.7 MB Notification: Performance of Templates: time 0.02119/0.4246, allocations: 9.241 MB / 0.5514 GB, free: 16.4 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/StrictLimiters/StrictLimiters.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches