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.001571/0.001571, allocations: 117.6 kB / 17.79 MB, free: 5.125 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002164/0.002163, allocations: 200.7 kB / 18.74 MB, free: 4.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.556/1.556, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2324/0.2324, allocations: 46.11 MB / 344.3 MB, free: 11.46 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001928/0.001928, allocations: 79.81 kB / 481.3 MB, free: 4.051 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4704/0.4723, allocations: 62.43 MB / 0.531 GB, free: 13.59 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.Limiters): time 0.003631/0.476, allocations: 1.692 MB / 0.5326 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001208/0.4772, allocations: 0.6562 MB / 0.5333 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.359e-05/0.4773, allocations: 2.75 kB / 0.5333 GB, free: 11.74 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 4.05e-05/0.4774, allocations: 11.81 kB / 0.5333 GB, free: 11.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001045/0.4775, allocations: 18.55 kB / 0.5333 GB, free: 11.71 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004793/0.478, allocations: 144 kB / 0.5334 GB, free: 11.61 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000214/0.4782, allocations: 159.1 kB / 0.5336 GB, free: 11.52 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.4783, allocations: 39.5 kB / 0.5336 GB, free: 11.49 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001696/0.4785, allocations: 74.03 kB / 0.5337 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.4787, allocations: 73.7 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.708e-05/0.4788, allocations: 13.59 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.037e-05/0.4788, allocations: 15.09 kB / 0.5338 GB, free: 11.39 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.732e-05/0.4789, allocations: 32.41 kB / 0.5338 GB, free: 11.36 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.232e-05/0.4789, allocations: 61.02 kB / 0.5339 GB, free: 11.31 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002004/0.4791, allocations: 143.3 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4792, allocations: 0 / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4792, allocations: 1.188 kB / 0.534 GB, free: 11.21 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.721e-06/0.4792, allocations: 0 / 0.534 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.0007731/0.48, allocations: 473 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.48, allocations: 9.656 kB / 0.5345 GB, free: 10.75 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001726/0.4802, allocations: 30.38 kB / 0.5345 GB, free: 10.74 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003118/0.4805, allocations: 215.5 kB / 0.5347 GB, free: 10.51 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.4805, allocations: 11.77 kB / 0.5347 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.4806, allocations: 5.094 kB / 0.5347 GB, free: 10.5 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004226/0.481, allocations: 188.5 kB / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.145e-05/0.481, allocations: 0 / 0.5349 GB, free: 10.37 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.378e-05/0.481, allocations: 5.312 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.4811, allocations: 2.062 kB / 0.5349 GB, free: 10.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003857/0.4814, allocations: 122.5 kB / 0.535 GB, free: 10.31 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008138/0.4823, allocations: 457.5 kB / 0.5355 GB, free: 9.898 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005738/0.4829, allocations: 193.2 kB / 0.5357 GB, free: 9.801 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002174/0.4831, allocations: 75.7 kB / 0.5357 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.4831, allocations: 1.062 kB / 0.5357 GB, free: 9.762 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.4832, allocations: 36.69 kB / 0.5358 GB, free: 9.719 MB / 398.1 MB Notification: Performance of pre-optimization done (n=8): time 1.243e-06/0.4832, allocations: 0 / 0.5358 GB, free: 9.719 MB / 398.1 MB Notification: Performance of matching and sorting (n=9): time 0.001531/0.4847, allocations: 0.5664 MB / 0.5363 GB, free: 9.305 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.288e-05/0.4848, allocations: 107.9 kB / 0.5364 GB, free: 9.176 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001559/0.4849, allocations: 162.8 kB / 0.5366 GB, free: 9.031 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.1e-05/0.485, allocations: 27.92 kB / 0.5366 GB, free: 9 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.68e-05/0.485, allocations: 109.7 kB / 0.5367 GB, free: 8.895 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.635e-05/0.4851, allocations: 39.16 kB / 0.5367 GB, free: 8.859 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.009e-05/0.4851, allocations: 29.7 kB / 0.5368 GB, free: 8.832 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001576/0.4853, allocations: 322.3 kB / 0.5371 GB, free: 8.512 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000226/0.4855, allocations: 71.55 kB / 0.5371 GB, free: 8.477 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.4858, allocations: 98.12 kB / 0.5372 GB, free: 8.414 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000422/0.4862, allocations: 145.3 kB / 0.5374 GB, free: 8.344 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.42e-07/0.4862, allocations: 0 / 0.5374 GB, free: 8.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004762/0.4867, allocations: 180.9 kB / 0.5376 GB, free: 8.25 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.4868, allocations: 6 kB / 0.5376 GB, free: 8.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.4868, allocations: 3.984 kB / 0.5376 GB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.399e-05/0.4868, allocations: 5.406 kB / 0.5376 GB, free: 8.242 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.487, allocations: 36.66 kB / 0.5376 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.487, allocations: 1.25 kB / 0.5376 GB, free: 8.23 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001282/0.4871, allocations: 29.12 kB / 0.5376 GB, free: 8.215 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.4871, allocations: 2.094 kB / 0.5376 GB, free: 8.215 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001471/0.4873, allocations: 122.5 kB / 0.5378 GB, free: 8.113 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000117/0.4874, allocations: 57.86 kB / 0.5378 GB, free: 8.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001791/0.4876, allocations: 75.41 kB / 0.5379 GB, free: 8.031 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.044e-06/0.4876, allocations: 1.797 kB / 0.5379 GB, free: 8.031 MB / 398.1 MB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0002472/0.4879, allocations: 130.8 kB / 0.538 GB, free: 7.949 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.803e-06/0.4879, allocations: 4.812 kB / 0.538 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-06/0.4879, allocations: 0 / 0.538 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.735e-06/0.4879, allocations: 1.281 kB / 0.538 GB, free: 7.949 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.993e-05/0.488, allocations: 24.75 kB / 0.538 GB, free: 7.941 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.488, allocations: 9.203 kB / 0.538 GB, free: 7.934 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.096e-05/0.4881, allocations: 11.2 kB / 0.5381 GB, free: 7.93 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.989e-06/0.4881, allocations: 11.11 kB / 0.5381 GB, free: 7.922 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.0001277/0.4883, allocations: 186.6 kB / 0.5382 GB, free: 7.734 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.291e-05/0.4883, allocations: 18.25 kB / 0.5383 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.05e-05/0.4884, allocations: 12.75 kB / 0.5383 GB, free: 7.707 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/0.4884, allocations: 9 kB / 0.5383 GB, free: 7.699 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.4884, allocations: 5.219 kB / 0.5383 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.4884, allocations: 0 / 0.5383 GB, free: 7.695 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008801/0.4893, allocations: 0.506 MB / 0.5388 GB, free: 7.25 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-06/0.4893, allocations: 3.938 kB / 0.5388 GB, free: 7.246 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001676/0.4895, allocations: 37.61 kB / 0.5388 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.4895, allocations: 0 / 0.5388 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.303e-05/0.4895, allocations: 2.375 kB / 0.5388 GB, free: 7.234 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.4895, allocations: 4.031 kB / 0.5388 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4895, allocations: 0.875 kB / 0.5388 GB, free: 7.23 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007667/0.4903, allocations: 360.3 kB / 0.5392 GB, free: 6.988 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001121/0.4904, allocations: 92.05 kB / 0.5393 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.4904, allocations: 2.188 kB / 0.5393 GB, free: 6.883 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002604/0.4907, allocations: 42.45 kB / 0.5393 GB, free: 6.863 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.983e-05/0.4907, allocations: 7.828 kB / 0.5393 GB, free: 6.859 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.4908, allocations: 7.625 kB / 0.5393 GB, free: 6.855 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.558e-05/0.4908, allocations: 119.2 kB / 0.5394 GB, free: 6.762 MB / 398.1 MB Notification: Performance of sort global known variables: time 4.469e-06/0.4909, allocations: 1.625 kB / 0.5394 GB, free: 6.762 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.4912, allocations: 39.94 kB / 0.5395 GB, free: 6.75 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.0001259/0.4913, allocations: 93.22 kB / 0.5396 GB, free: 6.664 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0006037/0.4919, allocations: 197.8 kB / 0.5397 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4919, allocations: 1.531 kB / 0.5397 GB, free: 6.582 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002266/0.4921, allocations: 86.17 kB / 0.5398 GB, free: 6.543 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.4925, allocations: 40.17 kB / 0.5399 GB, free: 6.527 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006712/0.4932, allocations: 289.3 kB / 0.5401 GB, free: 6.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.4935, allocations: 0.7072 MB / 0.5408 GB, free: 5.598 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.463e-05/0.4936, allocations: 20.52 kB / 0.5409 GB, free: 5.586 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.709e-05/0.4937, allocations: 16.16 kB / 0.5409 GB, free: 5.582 MB / 398.1 MB Notification: Performance of SimCode: time 1.91e-07/0.4937, allocations: 0 / 0.5409 GB, free: 5.582 MB / 398.1 MB Notification: Performance of Templates: time 0.005297/0.499, allocations: 2.276 MB / 0.5431 GB, free: 4.445 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