Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_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|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001351/0.001351, allocations: 186.1 kB / 17.42 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.311/1.311, allocations: 205.4 MB / 223.6 MB, free: 8.941 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007332/0.0007332, allocations: 98.97 kB / 271.9 MB, free: 8.242 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2947/0.2947, allocations: 43.56 MB / 363.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003484/0.0003485, allocations: 16 kB / 432.6 MB, free: 5.91 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1047, allocations: 58.85 MB / 491.4 MB, free: 10.98 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2825/0.3873, allocations: 87.61 MB / 0.5655 GB, free: 14.82 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001919/0.3875, allocations: 67.91 kB / 0.5655 GB, free: 14.75 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01259/0.4001, allocations: 4.59 MB / 0.57 GB, free: 10.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.4002, allocations: 0 / 0.57 GB, free: 10.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.575e-05/0.4002, allocations: 4 kB / 0.57 GB, free: 10.19 MB / 394.7 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.000585/0.4008, allocations: 462.6 kB / 0.5705 GB, free: 9.691 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.4009, allocations: 8.031 kB / 0.5705 GB, free: 9.684 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.985e-05/0.4009, allocations: 16.75 kB / 0.5705 GB, free: 9.668 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002634/0.4012, allocations: 231 kB / 0.5707 GB, free: 9.406 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4012, allocations: 8.375 kB / 0.5707 GB, free: 9.398 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.326e-05/0.4013, allocations: 8.375 kB / 0.5707 GB, free: 9.391 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.4017, allocations: 200.5 kB / 0.5709 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.078e-05/0.4017, allocations: 192 / 0.5709 GB, free: 9.18 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.383e-05/0.4017, allocations: 11.94 kB / 0.5709 GB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.4017, allocations: 0 / 0.5709 GB, free: 9.168 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003882/0.4021, allocations: 155.9 kB / 0.5711 GB, free: 9.016 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007633/0.4029, allocations: 468.4 kB / 0.5715 GB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008245/0.4037, allocations: 318.5 kB / 0.5718 GB, free: 8.188 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002044/0.404, allocations: 84.81 kB / 0.5719 GB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.404, allocations: 11.86 kB / 0.5719 GB, free: 8.09 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.225e-05/0.404, allocations: 38.44 kB / 0.572 GB, free: 8.047 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.425e-06/0.404, allocations: 3.984 kB / 0.572 GB, free: 8.043 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007475/0.4048, allocations: 281.5 kB / 0.5722 GB, free: 7.762 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.359e-05/0.4048, allocations: 102.8 kB / 0.5723 GB, free: 7.637 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001376/0.405, allocations: 172.3 kB / 0.5725 GB, free: 7.461 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.234e-05/0.405, allocations: 31.39 kB / 0.5725 GB, free: 7.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.331e-05/0.4051, allocations: 112 kB / 0.5726 GB, free: 7.312 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.4051, allocations: 31.55 kB / 0.5727 GB, free: 7.281 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.873e-06/0.4051, allocations: 0 / 0.5727 GB, free: 7.281 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001035/0.4052, allocations: 328 kB / 0.573 GB, free: 6.953 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000207/0.4054, allocations: 83.94 kB / 0.573 GB, free: 6.871 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.4057, allocations: 106.5 kB / 0.5731 GB, free: 6.758 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.4061, allocations: 161.4 kB / 0.5733 GB, free: 6.598 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4061, allocations: 0 / 0.5733 GB, free: 6.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004607/0.4065, allocations: 210.5 kB / 0.5735 GB, free: 6.387 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.065e-05/0.4066, allocations: 100.9 kB / 0.5736 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4066, allocations: 0 / 0.5736 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.4066, allocations: 0 / 0.5736 GB, free: 6.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000161/0.4068, allocations: 43.91 kB / 0.5736 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.4068, allocations: 0 / 0.5736 GB, free: 6.238 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001349/0.407, allocations: 39.88 kB / 0.5737 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.407, allocations: 4 kB / 0.5737 GB, free: 6.195 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.38e-06/0.407, allocations: 4 kB / 0.5737 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001943/0.4072, allocations: 93.66 kB / 0.5738 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.382e-06/0.4072, allocations: 0 / 0.5738 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-06/0.4072, allocations: 0 / 0.5738 GB, free: 6.105 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.851e-05/0.4073, allocations: 23.98 kB / 0.5738 GB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.362e-06/0.4073, allocations: 0 / 0.5738 GB, free: 6.082 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.7e-05/0.4074, allocations: 23.92 kB / 0.5738 GB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.4074, allocations: 0 / 0.5738 GB, free: 6.059 MB / 394.7 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 (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001097/0.4075, allocations: 201 kB / 0.574 GB, free: 5.852 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.109e-05/0.4076, allocations: 23.8 kB / 0.574 GB, free: 5.828 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.284e-05/0.4076, allocations: 9.406 kB / 0.574 GB, free: 5.824 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-06/0.4076, allocations: 4 kB / 0.5741 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.4076, allocations: 0 / 0.5741 GB, free: 5.82 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.4076, allocations: 7.875 kB / 0.5741 GB, free: 5.812 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002159/0.4079, allocations: 225.6 kB / 0.5743 GB, free: 5.543 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.4079, allocations: 3.984 kB / 0.5743 GB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001563/0.408, allocations: 35.97 kB / 0.5743 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.408, allocations: 0 / 0.5743 GB, free: 5.504 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.4081, allocations: 4 kB / 0.5743 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.4081, allocations: 0 / 0.5743 GB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.4081, allocations: 4 kB / 0.5743 GB, free: 5.496 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007133/0.4088, allocations: 395.1 kB / 0.5747 GB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.265e-05/0.4088, allocations: 97 kB / 0.5748 GB, free: 4.98 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.511e-05/0.4089, allocations: 4 kB / 0.5748 GB, free: 4.977 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002642/0.4091, allocations: 51.95 kB / 0.5748 GB, free: 4.926 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.36e-05/0.4092, allocations: 4 kB / 0.5748 GB, free: 4.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.4092, allocations: 16.8 kB / 0.5749 GB, free: 4.906 MB / 394.7 MB Notification: Performance of sorting global known variables: time 7.783e-05/0.4093, allocations: 119.7 kB / 0.575 GB, free: 4.789 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.4093, allocations: 0 / 0.575 GB, free: 4.789 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000295/0.4096, allocations: 39.94 kB / 0.575 GB, free: 4.75 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * 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 (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001257/0.4097, allocations: 103.2 kB / 0.5751 GB, free: 4.641 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005576/0.4103, allocations: 223.8 kB / 0.5753 GB, free: 4.422 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.4103, allocations: 4 kB / 0.5753 GB, free: 4.418 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.4105, allocations: 83.94 kB / 0.5754 GB, free: 4.336 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003831/0.4109, allocations: 39.06 kB / 0.5754 GB, free: 4.301 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000584/0.4115, allocations: 353 kB / 0.5758 GB, free: 3.93 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.4118, allocations: 0.7087 MB / 0.5765 GB, free: 3.195 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.4118, allocations: 19.42 kB / 0.5765 GB, free: 3.176 MB / 394.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4118, allocations: 0 / 0.5765 GB, free: 3.176 MB / 394.7 MB Notification: Performance of Templates: time 0.002934/0.4148, allocations: 1.824 MB / 0.5783 GB, free: 1.375 MB / 394.7 MB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Limiters/Limiters.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches