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.001792/0.001792, allocations: 118.8 kB / 17.78 MB, free: 5.262 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001798/0.001798, allocations: 202 kB / 18.73 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 227.4 MB / 246.9 MB, free: 10.42 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2373/0.2373, allocations: 46.1 MB / 344.3 MB, free: 11.47 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002169/0.002169, allocations: 75.88 kB / 481.3 MB, free: 4.047 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3712/0.3734, allocations: 62.43 MB / 0.531 GB, free: 13.8 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.002748/0.3762, allocations: 1.694 MB / 0.5326 GB, free: 12.48 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001197/0.3774, allocations: 0.6569 MB / 0.5333 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.779e-05/0.3775, allocations: 2.906 kB / 0.5333 GB, free: 11.96 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.296e-05/0.3775, allocations: 11.86 kB / 0.5333 GB, free: 11.95 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001107/0.3777, allocations: 23.03 kB / 0.5333 GB, free: 11.93 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004434/0.3781, allocations: 148.3 kB / 0.5335 GB, free: 11.81 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.3783, allocations: 156.1 kB / 0.5336 GB, free: 11.72 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.3785, allocations: 38.62 kB / 0.5336 GB, free: 11.7 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.3786, allocations: 75.27 kB / 0.5337 GB, free: 11.65 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.3788, allocations: 69.42 kB / 0.5338 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/0.3788, allocations: 13.75 kB / 0.5338 GB, free: 11.6 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.801e-05/0.3789, allocations: 23 kB / 0.5338 GB, free: 11.59 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.432e-05/0.3789, allocations: 37.39 kB / 0.5338 GB, free: 11.56 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 5.531e-05/0.379, allocations: 56.09 kB / 0.5339 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002034/0.3792, allocations: 141 kB / 0.534 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.3792, allocations: 0 / 0.534 GB, free: 11.41 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.3792, allocations: 0 / 0.534 GB, free: 11.41 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.3792, allocations: 0 / 0.534 GB, free: 11.41 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.0006294/0.3798, allocations: 458 kB / 0.5345 GB, free: 10.97 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.3799, allocations: 9.625 kB / 0.5345 GB, free: 10.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001638/0.38, allocations: 29.11 kB / 0.5345 GB, free: 10.96 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002838/0.3803, allocations: 227.7 kB / 0.5347 GB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.225e-05/0.3804, allocations: 7.125 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.901e-05/0.3804, allocations: 5.875 kB / 0.5347 GB, free: 10.71 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000402/0.3808, allocations: 189.2 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.091e-05/0.3808, allocations: 0 / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.846e-05/0.3808, allocations: 2.125 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3809, allocations: 2.281 kB / 0.5349 GB, free: 10.58 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/0.3813, allocations: 126.4 kB / 0.535 GB, free: 10.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000776/0.382, allocations: 445.4 kB / 0.5355 GB, free: 10.12 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005822/0.3826, allocations: 200 kB / 0.5357 GB, free: 10.02 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002114/0.3829, allocations: 75.83 kB / 0.5357 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.3829, allocations: 2.344 kB / 0.5357 GB, free: 9.977 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.27e-05/0.3829, allocations: 35.7 kB / 0.5358 GB, free: 9.934 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.3829, allocations: 1.156 kB / 0.5358 GB, free: 9.934 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001396/0.3843, allocations: 0.5616 MB / 0.5363 GB, free: 9.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.705e-05/0.3844, allocations: 112.2 kB / 0.5364 GB, free: 9.391 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001317/0.3845, allocations: 161.9 kB / 0.5366 GB, free: 9.246 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.3846, allocations: 27.86 kB / 0.5366 GB, free: 9.215 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.72e-05/0.3846, allocations: 109.8 kB / 0.5367 GB, free: 9.109 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.3847, allocations: 31.55 kB / 0.5367 GB, free: 9.082 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.387e-05/0.3847, allocations: 30.64 kB / 0.5368 GB, free: 9.055 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 9.838e-05/0.3848, allocations: 325.6 kB / 0.5371 GB, free: 8.73 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.385, allocations: 71.23 kB / 0.5371 GB, free: 8.695 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002369/0.3853, allocations: 93.8 kB / 0.5372 GB, free: 8.637 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/0.3857, allocations: 144.4 kB / 0.5374 GB, free: 8.566 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.3857, allocations: 5.219 kB / 0.5374 GB, free: 8.562 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004912/0.3862, allocations: 185.1 kB / 0.5376 GB, free: 8.465 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.695e-05/0.3862, allocations: 5.25 kB / 0.5376 GB, free: 8.465 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.3862, allocations: 3.938 kB / 0.5376 GB, free: 8.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.3863, allocations: 5.125 kB / 0.5376 GB, free: 8.457 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.3865, allocations: 40.55 kB / 0.5376 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.262e-06/0.3865, allocations: 1.156 kB / 0.5376 GB, free: 8.441 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.3866, allocations: 25.5 kB / 0.5376 GB, free: 8.43 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.3866, allocations: 2.25 kB / 0.5376 GB, free: 8.43 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001462/0.3868, allocations: 117.5 kB / 0.5377 GB, free: 8.332 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001138/0.3869, allocations: 66.91 kB / 0.5378 GB, free: 8.281 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001767/0.3871, allocations: 76.2 kB / 0.5379 GB, free: 8.242 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.02e-07/0.3871, allocations: 0 / 0.5379 GB, free: 8.242 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002528/0.3874, allocations: 122.9 kB / 0.538 GB, free: 8.168 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.3874, allocations: 11.34 kB / 0.538 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-06/0.3874, allocations: 0 / 0.538 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-06/0.3874, allocations: 1.125 kB / 0.538 GB, free: 8.164 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.223e-05/0.3875, allocations: 21.02 kB / 0.538 GB, free: 8.16 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.649e-06/0.3875, allocations: 5.031 kB / 0.538 GB, free: 8.156 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.073e-05/0.3876, allocations: 11.98 kB / 0.538 GB, free: 8.152 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/0.3876, allocations: 1.438 kB / 0.5381 GB, free: 8.152 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 9.555e-05/0.3877, allocations: 191.6 kB / 0.5382 GB, free: 7.961 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.186e-05/0.3877, allocations: 15.03 kB / 0.5382 GB, free: 7.953 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.05e-05/0.3878, allocations: 19.73 kB / 0.5383 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.3878, allocations: 6.156 kB / 0.5383 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/0.3878, allocations: 0 / 0.5383 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.796e-06/0.3878, allocations: 0 / 0.5383 GB, free: 7.926 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009041/0.3888, allocations: 0.5101 MB / 0.5388 GB, free: 7.477 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.3888, allocations: 5.562 kB / 0.5388 GB, free: 7.473 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000167/0.3889, allocations: 31.78 kB / 0.5388 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.054e-06/0.389, allocations: 1.438 kB / 0.5388 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.389, allocations: 1.375 kB / 0.5388 GB, free: 7.465 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.389, allocations: 5.5 kB / 0.5388 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.389, allocations: 0 / 0.5388 GB, free: 7.461 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007576/0.3897, allocations: 364.1 kB / 0.5392 GB, free: 7.215 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.353e-05/0.3898, allocations: 87.95 kB / 0.5392 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.495e-05/0.3898, allocations: 1.625 kB / 0.5392 GB, free: 7.113 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002672/0.3901, allocations: 43.42 kB / 0.5393 GB, free: 7.094 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.376e-05/0.3902, allocations: 16.56 kB / 0.5393 GB, free: 7.082 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.3902, allocations: 11.02 kB / 0.5393 GB, free: 7.074 MB / 398.1 MB Notification: Performance of sorting global known variables: time 9.58e-05/0.3903, allocations: 119.1 kB / 0.5394 GB, free: 6.98 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.573e-06/0.3903, allocations: 0 / 0.5394 GB, free: 6.98 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003197/0.3906, allocations: 37.78 kB / 0.5395 GB, free: 6.973 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.0001175/0.3908, allocations: 99.91 kB / 0.5396 GB, free: 6.879 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005979/0.3914, allocations: 195.1 kB / 0.5397 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.3914, allocations: 1.062 kB / 0.5397 GB, free: 6.801 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00024/0.3916, allocations: 81.42 kB / 0.5398 GB, free: 6.766 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.392, allocations: 42.69 kB / 0.5399 GB, free: 6.742 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005902/0.3926, allocations: 283.8 kB / 0.5401 GB, free: 6.531 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.3929, allocations: 0.7071 MB / 0.5408 GB, free: 5.82 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.608e-05/0.393, allocations: 16.56 kB / 0.5408 GB, free: 5.812 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.201e-05/0.393, allocations: 19.17 kB / 0.5409 GB, free: 5.805 MB / 398.1 MB Notification: Performance of SimCode: time 3.81e-07/0.393, allocations: 0 / 0.5409 GB, free: 5.805 MB / 398.1 MB Notification: Performance of Templates: time 0.00502/0.3981, allocations: 2.27 MB / 0.5431 GB, free: 4.676 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/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_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches