Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") translateModel(ModelicaTest.Blocks.Limiters,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|slewRateLimiter.y|limiter.y|variableLimiter.y|deadZone.y|sine.y|constPos.y|constNeg.y|idealDerivative.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 113.4 kB / 17.78 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 188.1 kB / 18.71 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 242.4 MB, free: 15.11 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2111/0.2111, allocations: 44.18 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001413/0.001413, allocations: 63.89 kB / 470.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3954/0.3968, allocations: 60.81 MB / 0.5189 GB, free: 3.883 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.00301/0.3999, allocations: 1.687 MB / 0.5205 GB, free: 2.707 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.4011, allocations: 0.6003 MB / 0.5211 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.4012, allocations: 2.125 kB / 0.5211 GB, free: 2.285 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.208e-05/0.4013, allocations: 13.97 kB / 0.5211 GB, free: 2.273 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.4015, allocations: 20.59 kB / 0.5211 GB, free: 2.258 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005086/0.402, allocations: 135.1 kB / 0.5213 GB, free: 2.191 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002416/0.4022, allocations: 158.8 kB / 0.5214 GB, free: 2.121 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.4024, allocations: 33.39 kB / 0.5215 GB, free: 2.098 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001565/0.4025, allocations: 72.66 kB / 0.5215 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001511/0.4027, allocations: 61.91 kB / 0.5216 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.488e-05/0.4028, allocations: 12.88 kB / 0.5216 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.141e-05/0.4028, allocations: 13.22 kB / 0.5216 GB, free: 2.031 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.477e-05/0.4028, allocations: 36.73 kB / 0.5217 GB, free: 2.008 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.981e-05/0.4029, allocations: 59.47 kB / 0.5217 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.4031, allocations: 133.1 kB / 0.5218 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.4032, allocations: 0 / 0.5218 GB, free: 1.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.474e-06/0.4032, allocations: 4 kB / 0.5218 GB, free: 1.906 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.4032, allocations: 3.938 kB / 0.5218 GB, free: 1.902 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006843/0.4039, allocations: 447.6 kB / 0.5223 GB, free: 1.504 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/0.4039, allocations: 9 kB / 0.5223 GB, free: 1.504 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.286e-05/0.404, allocations: 16.72 kB / 0.5223 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.4043, allocations: 228.8 kB / 0.5225 GB, free: 1.27 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.4043, allocations: 7.094 kB / 0.5225 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.519e-05/0.4043, allocations: 14.22 kB / 0.5225 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004401/0.4048, allocations: 176.9 kB / 0.5227 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.438e-05/0.4048, allocations: 0 / 0.5227 GB, free: 1.168 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.377e-05/0.4048, allocations: 9.156 kB / 0.5227 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.4048, allocations: 2.031 kB / 0.5227 GB, free: 1.16 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004069/0.4052, allocations: 122.2 kB / 0.5228 GB, free: 1.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009207/0.4062, allocations: 448.7 kB / 0.5233 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005824/0.4068, allocations: 188.4 kB / 0.5234 GB, free: 0.7539 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002117/0.407, allocations: 73.92 kB / 0.5235 GB, free: 0.7344 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.028e-05/0.407, allocations: 10.31 kB / 0.5235 GB, free: 0.7266 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.4071, allocations: 39.97 kB / 0.5236 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.583e-06/0.4071, allocations: 0 / 0.5236 GB, free: 0.6797 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001546/0.4086, allocations: 0.563 MB / 0.5241 GB, free: 356 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.833e-05/0.4087, allocations: 109.5 kB / 0.5242 GB, free: 224 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.4088, allocations: 155 kB / 0.5244 GB, free: 100 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.4089, allocations: 27.05 kB / 0.5244 GB, free: 68 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.976e-05/0.409, allocations: 114.2 kB / 0.5245 GB, free: 15.96 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.566e-05/0.409, allocations: 30.19 kB / 0.5245 GB, free: 15.94 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.4091, allocations: 29.45 kB / 0.5245 GB, free: 15.91 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.4092, allocations: 329.4 kB / 0.5249 GB, free: 15.59 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002285/0.4094, allocations: 76.5 kB / 0.5249 GB, free: 15.57 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.4097, allocations: 93.22 kB / 0.525 GB, free: 15.53 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003995/0.4101, allocations: 133.5 kB / 0.5252 GB, free: 15.5 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-06/0.4101, allocations: 3.938 kB / 0.5252 GB, free: 15.49 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004799/0.4106, allocations: 190.8 kB / 0.5253 GB, free: 15.42 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.4106, allocations: 6.25 kB / 0.5253 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.595e-06/0.4106, allocations: 3.938 kB / 0.5253 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.4107, allocations: 0 / 0.5253 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002078/0.4109, allocations: 43.95 kB / 0.5254 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.4109, allocations: 4 kB / 0.5254 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.411, allocations: 23.05 kB / 0.5254 GB, free: 15.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.13e-05/0.411, allocations: 2.125 kB / 0.5254 GB, free: 15.41 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001655/0.4112, allocations: 120.6 kB / 0.5255 GB, free: 15.31 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001195/0.4113, allocations: 59.56 kB / 0.5256 GB, free: 15.28 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000179/0.4115, allocations: 79.11 kB / 0.5257 GB, free: 15.25 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.132e-06/0.4116, allocations: 3.938 kB / 0.5257 GB, free: 15.24 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002533/0.4118, allocations: 119.5 kB / 0.5258 GB, free: 15.18 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.876e-06/0.4118, allocations: 5.5 kB / 0.5258 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.695e-06/0.4118, allocations: 0.5469 kB / 0.5258 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.348e-06/0.4118, allocations: 5.969 kB / 0.5258 GB, free: 15.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.927e-05/0.4119, allocations: 28.61 kB / 0.5258 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.412, allocations: 1.375 kB / 0.5258 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001006/0.4121, allocations: 12.75 kB / 0.5258 GB, free: 15.17 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.212e-06/0.4121, allocations: 1.375 kB / 0.5258 GB, free: 15.17 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * 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.0001407/0.4122, allocations: 185.1 kB / 0.526 GB, free: 14.99 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.622e-05/0.4123, allocations: 9.406 kB / 0.526 GB, free: 14.98 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.718e-05/0.4123, allocations: 22.7 kB / 0.526 GB, free: 14.97 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.4124, allocations: 5.375 kB / 0.526 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4124, allocations: 0.5156 kB / 0.526 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.4124, allocations: 0.6562 kB / 0.526 GB, free: 14.96 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000991/0.4134, allocations: 0.5132 MB / 0.5265 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.4134, allocations: 0.9688 kB / 0.5265 GB, free: 14.53 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.4136, allocations: 36.97 kB / 0.5266 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.4136, allocations: 1.562 kB / 0.5266 GB, free: 14.52 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.557e-05/0.4136, allocations: 5.141 kB / 0.5266 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4136, allocations: 0 / 0.5266 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4136, allocations: 1.188 kB / 0.5266 GB, free: 14.51 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007603/0.4144, allocations: 372.1 kB / 0.5269 GB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.228e-05/0.4145, allocations: 91.88 kB / 0.527 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.93e-05/0.4145, allocations: 1.031 kB / 0.527 GB, free: 14.15 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002737/0.4148, allocations: 39.25 kB / 0.5271 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.259e-05/0.4148, allocations: 8.312 kB / 0.5271 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.4149, allocations: 10.73 kB / 0.5271 GB, free: 14.12 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.722e-05/0.415, allocations: 117.7 kB / 0.5272 GB, free: 14.03 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.415, allocations: 0 / 0.5272 GB, free: 14.03 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000342/0.4153, allocations: 33.78 kB / 0.5272 GB, free: 14.03 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (idealDerivative.u) * 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 (9): * Single equations (assignments): 9 * 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.0001148/0.4154, allocations: 96.84 kB / 0.5273 GB, free: 13.94 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005968/0.416, allocations: 198.4 kB / 0.5275 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.416, allocations: 1.25 kB / 0.5275 GB, free: 13.86 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.4163, allocations: 74.09 kB / 0.5276 GB, free: 13.83 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000417/0.4167, allocations: 40.47 kB / 0.5276 GB, free: 13.8 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007486/0.4175, allocations: 286.1 kB / 0.5279 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.4178, allocations: 0.7099 MB / 0.5286 GB, free: 12.88 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.4179, allocations: 17.53 kB / 0.5286 GB, free: 12.87 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.015e-05/0.418, allocations: 22.27 kB / 0.5286 GB, free: 12.86 MB / 398.1 MB Notification: Performance of SimCode: time 7.82e-07/0.418, allocations: 0 / 0.5286 GB, free: 12.86 MB / 398.1 MB Notification: Performance of Templates: time 0.00675/0.4247, allocations: 2.335 MB / 0.5309 GB, free: 11.68 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches