Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001491/0.00149, allocations: 113 kB / 18.45 MB, free: 4.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001867/0.001867, allocations: 212.9 kB / 19.4 MB, free: 3.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.419/1.419, allocations: 227.4 MB / 247.6 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.217/0.217, allocations: 46.11 MB / 345 MB, free: 11.51 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001484/0.001484, allocations: 71.89 kB / 482 MB, free: 4.086 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3839, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002982/0.3869, allocations: 1.685 MB / 0.5333 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001247/0.3882, allocations: 0.6565 MB / 0.5339 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.826e-05/0.3883, allocations: 2.719 kB / 0.5339 GB, free: 11.76 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.274e-05/0.3883, allocations: 15.8 kB / 0.534 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.3885, allocations: 18.53 kB / 0.534 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.389, allocations: 151.9 kB / 0.5341 GB, free: 11.62 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002186/0.3892, allocations: 163.9 kB / 0.5343 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001365/0.3894, allocations: 34.34 kB / 0.5343 GB, free: 11.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00018/0.3895, allocations: 76.42 kB / 0.5344 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001186/0.3897, allocations: 65.08 kB / 0.5344 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.213e-05/0.3897, allocations: 13.53 kB / 0.5345 GB, free: 11.4 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.739e-05/0.3898, allocations: 23.16 kB / 0.5345 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 4.575e-05/0.3898, allocations: 29.38 kB / 0.5345 GB, free: 11.37 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.684e-05/0.3899, allocations: 64.27 kB / 0.5346 GB, free: 11.32 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002035/0.3901, allocations: 142.2 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.3901, allocations: 0 / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.462e-06/0.3901, allocations: 1.375 kB / 0.5347 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.079e-05/0.3901, allocations: 0 / 0.5347 GB, free: 11.21 MB / 398.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.0006949/0.3908, allocations: 450.5 kB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.3909, allocations: 9.625 kB / 0.5351 GB, free: 10.79 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.3911, allocations: 30.48 kB / 0.5352 GB, free: 10.77 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002987/0.3914, allocations: 230.5 kB / 0.5354 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.3914, allocations: 4.5 kB / 0.5354 GB, free: 10.53 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.3914, allocations: 13.81 kB / 0.5354 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004168/0.3919, allocations: 180.9 kB / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3919, allocations: 0 / 0.5356 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.252e-05/0.3919, allocations: 9.359 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.3919, allocations: 2.75 kB / 0.5356 GB, free: 10.38 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003639/0.3923, allocations: 124.2 kB / 0.5357 GB, free: 10.33 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008286/0.3931, allocations: 441.8 kB / 0.5361 GB, free: 9.934 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005636/0.3937, allocations: 197 kB / 0.5363 GB, free: 9.832 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/0.3939, allocations: 70.98 kB / 0.5364 GB, free: 9.797 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.997e-05/0.394, allocations: 14.86 kB / 0.5364 GB, free: 9.785 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.394, allocations: 35.84 kB / 0.5364 GB, free: 9.742 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.394, allocations: 0 / 0.5364 GB, free: 9.742 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001418/0.3954, allocations: 0.5653 MB / 0.537 GB, free: 9.328 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.958e-05/0.3955, allocations: 108.8 kB / 0.5371 GB, free: 9.199 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001507/0.3957, allocations: 158.9 kB / 0.5372 GB, free: 9.059 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.078e-05/0.3957, allocations: 30.92 kB / 0.5373 GB, free: 9.023 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.734e-05/0.3958, allocations: 109.7 kB / 0.5374 GB, free: 8.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.3958, allocations: 35.36 kB / 0.5374 GB, free: 8.887 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.114e-05/0.3959, allocations: 26.17 kB / 0.5374 GB, free: 8.863 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3961, allocations: 322.1 kB / 0.5377 GB, free: 8.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002182/0.3963, allocations: 70.7 kB / 0.5378 GB, free: 8.508 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.3965, allocations: 99.36 kB / 0.5379 GB, free: 8.445 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003908/0.3969, allocations: 144.3 kB / 0.538 GB, free: 8.375 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.3969, allocations: 0 / 0.538 GB, free: 8.375 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004741/0.3974, allocations: 186 kB / 0.5382 GB, free: 8.277 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.432e-05/0.3974, allocations: 3.938 kB / 0.5382 GB, free: 8.277 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.88e-06/0.3974, allocations: 5.562 kB / 0.5382 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.299e-05/0.3975, allocations: 0 / 0.5382 GB, free: 8.273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001927/0.3976, allocations: 45.52 kB / 0.5383 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.3977, allocations: 1.438 kB / 0.5383 GB, free: 8.254 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.3978, allocations: 25.06 kB / 0.5383 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.257e-05/0.3978, allocations: 2.75 kB / 0.5383 GB, free: 8.242 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001481/0.398, allocations: 125.1 kB / 0.5384 GB, free: 8.137 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001197/0.3981, allocations: 54.3 kB / 0.5385 GB, free: 8.098 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001752/0.3983, allocations: 80.08 kB / 0.5385 GB, free: 8.055 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.413e-06/0.3983, allocations: 1.062 kB / 0.5385 GB, free: 8.055 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002434/0.3985, allocations: 122.6 kB / 0.5387 GB, free: 7.98 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.885e-06/0.3986, allocations: 4.5 kB / 0.5387 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.122e-06/0.3986, allocations: 1.125 kB / 0.5387 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-06/0.3986, allocations: 0 / 0.5387 GB, free: 7.98 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.441e-05/0.3987, allocations: 21.45 kB / 0.5387 GB, free: 7.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.039e-06/0.3987, allocations: 5.156 kB / 0.5387 GB, free: 7.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.35e-05/0.3988, allocations: 19.42 kB / 0.5387 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.3988, allocations: 2.062 kB / 0.5387 GB, free: 7.961 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.0001232/0.3989, allocations: 195.2 kB / 0.5389 GB, free: 7.766 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.399, allocations: 14.34 kB / 0.5389 GB, free: 7.758 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.212e-05/0.399, allocations: 16.86 kB / 0.5389 GB, free: 7.738 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.399, allocations: 5.125 kB / 0.5389 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.399, allocations: 1.156 kB / 0.5389 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3991, allocations: 0 / 0.5389 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008916/0.3999, allocations: 0.5063 MB / 0.5394 GB, free: 7.289 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.4, allocations: 3.938 kB / 0.5394 GB, free: 7.285 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001684/0.4001, allocations: 37.69 kB / 0.5395 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.4001, allocations: 1.094 kB / 0.5395 GB, free: 7.273 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.4002, allocations: 5.125 kB / 0.5395 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4002, allocations: 1.031 kB / 0.5395 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4002, allocations: 1.156 kB / 0.5395 GB, free: 7.27 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007202/0.4009, allocations: 359.2 kB / 0.5398 GB, free: 7.027 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.79e-05/0.401, allocations: 88.08 kB / 0.5399 GB, free: 6.926 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.517e-05/0.401, allocations: 6.344 kB / 0.5399 GB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002594/0.4013, allocations: 42.47 kB / 0.54 GB, free: 6.902 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.23e-05/0.4013, allocations: 8.344 kB / 0.54 GB, free: 6.898 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.4013, allocations: 10.67 kB / 0.54 GB, free: 6.891 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.597e-05/0.4014, allocations: 123.5 kB / 0.5401 GB, free: 6.793 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.592e-06/0.4014, allocations: 1.531 kB / 0.5401 GB, free: 6.793 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003105/0.4018, allocations: 35.97 kB / 0.5401 GB, free: 6.785 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.0001091/0.4019, allocations: 96.31 kB / 0.5402 GB, free: 6.695 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005648/0.4025, allocations: 195.6 kB / 0.5404 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4025, allocations: 0 / 0.5404 GB, free: 6.617 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002127/0.4027, allocations: 85.78 kB / 0.5405 GB, free: 6.578 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.4031, allocations: 42.19 kB / 0.5405 GB, free: 6.555 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006667/0.4037, allocations: 310 kB / 0.5408 GB, free: 6.312 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003015/0.4041, allocations: 0.7041 MB / 0.5415 GB, free: 5.605 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.25e-05/0.4041, allocations: 23.58 kB / 0.5415 GB, free: 5.594 MB / 398.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4041, allocations: 0 / 0.5415 GB, free: 5.594 MB / 398.1 MB Notification: Performance of Templates: time 0.003705/0.4078, allocations: 1.849 MB / 0.5433 GB, free: 4.645 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/Limiters/Limiters.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches