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.001079/0.001079, allocations: 112.8 kB / 17.78 MB, free: 5.273 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.001107/0.001107, allocations: 184.8 kB / 18.7 MB, free: 4.359 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.446/1.446, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2317/0.2317, allocations: 44.2 MB / 336.7 MB, free: 2.672 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001473/0.001473, allocations: 55.91 kB / 470.5 MB, free: 13.19 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4584/0.4599, allocations: 60.83 MB / 0.5189 GB, free: 3.602 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003047/0.463, allocations: 1.672 MB / 0.5205 GB, free: 2.438 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001065/0.464, allocations: 0.6021 MB / 0.5211 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.343e-05/0.4642, allocations: 4.938 kB / 0.5211 GB, free: 2.012 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 4.21e-05/0.4642, allocations: 9.844 kB / 0.5211 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001351/0.4644, allocations: 20.38 kB / 0.5211 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004592/0.4648, allocations: 136.8 kB / 0.5213 GB, free: 1.918 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.4651, allocations: 153.8 kB / 0.5214 GB, free: 1.852 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001546/0.4652, allocations: 34.95 kB / 0.5215 GB, free: 1.828 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001259/0.4654, allocations: 67.8 kB / 0.5215 GB, free: 1.797 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.4655, allocations: 65.88 kB / 0.5216 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.806e-05/0.4656, allocations: 13.34 kB / 0.5216 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.539e-05/0.4656, allocations: 12.84 kB / 0.5216 GB, free: 1.762 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.479e-05/0.4656, allocations: 36.3 kB / 0.5216 GB, free: 1.738 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.227e-05/0.4657, allocations: 63.39 kB / 0.5217 GB, free: 1.695 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002129/0.4659, allocations: 131.5 kB / 0.5218 GB, free: 1.641 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.4659, allocations: 4 kB / 0.5218 GB, free: 1.637 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.4659, allocations: 3.938 kB / 0.5218 GB, free: 1.633 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.466, allocations: 0 / 0.5218 GB, free: 1.633 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.0007791/0.4667, allocations: 452.6 kB / 0.5223 GB, free: 1.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.4668, allocations: 10.03 kB / 0.5223 GB, free: 1.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.522e-05/0.4669, allocations: 16.97 kB / 0.5223 GB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003115/0.4672, allocations: 222.1 kB / 0.5225 GB, free: 1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.284e-05/0.4672, allocations: 7.844 kB / 0.5225 GB, free: 0.9961 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/0.4673, allocations: 9.562 kB / 0.5225 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000507/0.4678, allocations: 173.2 kB / 0.5227 GB, free: 0.9023 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.4678, allocations: 5.438 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.294e-05/0.4678, allocations: 1.438 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.4679, allocations: 2.125 kB / 0.5227 GB, free: 0.8984 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004718/0.4683, allocations: 125.4 kB / 0.5228 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009833/0.4693, allocations: 453 kB / 0.5232 GB, free: 0.5352 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006739/0.47, allocations: 192.4 kB / 0.5234 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002478/0.4703, allocations: 76.61 kB / 0.5235 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.238e-05/0.4703, allocations: 1.641 kB / 0.5235 GB, free: 468 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.195e-05/0.4703, allocations: 33.78 kB / 0.5235 GB, free: 428 kB / 382.1 MB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.4703, allocations: 0 / 0.5235 GB, free: 428 kB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.001737/0.4721, allocations: 0.5745 MB / 0.5241 GB, free: 76 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001579/0.4723, allocations: 104.9 kB / 0.5242 GB, free: 15.95 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002064/0.4725, allocations: 156.1 kB / 0.5243 GB, free: 15.83 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.4725, allocations: 30.86 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001139/0.4726, allocations: 110 kB / 0.5245 GB, free: 15.69 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.297e-05/0.4727, allocations: 33.75 kB / 0.5245 GB, free: 15.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.972e-05/0.4728, allocations: 26.55 kB / 0.5245 GB, free: 15.64 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002343/0.473, allocations: 324.2 kB / 0.5249 GB, free: 15.32 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002633/0.4733, allocations: 76.62 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002827/0.4736, allocations: 100.8 kB / 0.525 GB, free: 15.25 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004645/0.4741, allocations: 142.2 kB / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.4741, allocations: 0 / 0.5252 GB, free: 15.21 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005436/0.4746, allocations: 187.1 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.218e-05/0.4747, allocations: 4.125 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.4747, allocations: 5.312 kB / 0.5253 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.277e-05/0.4747, allocations: 0.5156 kB / 0.5253 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002289/0.4749, allocations: 43.83 kB / 0.5254 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4749, allocations: 0 / 0.5254 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001441/0.4751, allocations: 21.44 kB / 0.5254 GB, free: 15.14 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.259e-05/0.4751, allocations: 3.453 kB / 0.5254 GB, free: 15.14 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001727/0.4753, allocations: 121 kB / 0.5255 GB, free: 15.04 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001296/0.4754, allocations: 59.09 kB / 0.5256 GB, free: 15.01 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002257/0.4757, allocations: 82.34 kB / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.232e-06/0.4757, allocations: 1.375 kB / 0.5257 GB, free: 14.97 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0003039/0.476, allocations: 119.6 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.476, allocations: 7.781 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.504e-06/0.476, allocations: 0.75 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.697e-06/0.476, allocations: 7.969 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.4761, allocations: 21.67 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.4762, allocations: 1.281 kB / 0.5258 GB, free: 14.91 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.4763, allocations: 15.48 kB / 0.5258 GB, free: 14.9 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.608e-06/0.4763, allocations: 3.062 kB / 0.5258 GB, free: 14.9 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.0001476/0.4764, allocations: 183.3 kB / 0.526 GB, free: 14.72 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.915e-05/0.4765, allocations: 12.12 kB / 0.526 GB, free: 14.71 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.001e-05/0.4766, allocations: 20.22 kB / 0.526 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.4766, allocations: 6.5 kB / 0.526 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.4766, allocations: 0 / 0.526 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.4766, allocations: 0.7969 kB / 0.526 GB, free: 14.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001241/0.4779, allocations: 0.5074 MB / 0.5265 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.4779, allocations: 5.297 kB / 0.5265 GB, free: 14.3 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001807/0.4781, allocations: 32.56 kB / 0.5266 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4781, allocations: 1.156 kB / 0.5266 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/0.4781, allocations: 5.312 kB / 0.5266 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.4781, allocations: 1.031 kB / 0.5266 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/0.4781, allocations: 1.281 kB / 0.5266 GB, free: 14.29 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009445/0.4791, allocations: 370.2 kB / 0.5269 GB, free: 14.03 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.811e-05/0.4791, allocations: 85.33 kB / 0.527 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.309e-05/0.4792, allocations: 9.188 kB / 0.527 GB, free: 13.93 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002719/0.4795, allocations: 35.2 kB / 0.5271 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.88e-05/0.4795, allocations: 11.48 kB / 0.5271 GB, free: 13.91 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.324e-05/0.4796, allocations: 7.25 kB / 0.5271 GB, free: 13.9 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.9e-05/0.4797, allocations: 121.7 kB / 0.5272 GB, free: 13.8 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.773e-06/0.4797, allocations: 0 / 0.5272 GB, free: 13.8 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003225/0.48, allocations: 38 kB / 0.5272 GB, free: 13.8 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.0001495/0.4802, allocations: 93.66 kB / 0.5273 GB, free: 13.71 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006699/0.4808, allocations: 198 kB / 0.5275 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.4808, allocations: 0 / 0.5275 GB, free: 13.63 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002302/0.4811, allocations: 83.31 kB / 0.5276 GB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004042/0.4815, allocations: 45.78 kB / 0.5276 GB, free: 13.57 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008294/0.4823, allocations: 289.9 kB / 0.5279 GB, free: 13.36 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000408/0.4828, allocations: 0.7105 MB / 0.5286 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.813e-05/0.4829, allocations: 16.28 kB / 0.5286 GB, free: 12.64 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.232e-05/0.4829, allocations: 15.75 kB / 0.5286 GB, free: 12.63 MB / 398.1 MB Notification: Performance of SimCode: time 2.1e-07/0.4829, allocations: 0 / 0.5286 GB, free: 12.63 MB / 398.1 MB Notification: Performance of Templates: time 0.006064/0.489, allocations: 2.271 MB / 0.5308 GB, free: 11.5 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