Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_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_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_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001651/0.001651, allocations: 183.4 kB / 15.76 MB, free: 6.367 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.619/1.619, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001087/0.001087, allocations: 94.8 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2051/0.2051, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003427, allocations: 8 kB / 431.4 MB, free: 19.61 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1304, allocations: 58.86 MB / 490.2 MB, free: 8.684 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3372/0.4676, allocations: 87.57 MB / 0.5643 GB, free: 12.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002301/0.4679, allocations: 63.69 kB / 0.5643 GB, free: 12.22 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01375/0.4817, allocations: 4.598 MB / 0.5688 GB, free: 8.316 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4817, allocations: 0 / 0.5688 GB, free: 8.316 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.307e-05/0.4818, allocations: 7.938 kB / 0.5688 GB, free: 8.309 MB / 378.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.0006964/0.4825, allocations: 453.5 kB / 0.5692 GB, free: 7.824 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.181e-05/0.4825, allocations: 8.031 kB / 0.5693 GB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.4826, allocations: 19.19 kB / 0.5693 GB, free: 7.801 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003072/0.4829, allocations: 228.9 kB / 0.5695 GB, free: 7.547 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.873e-05/0.4829, allocations: 11.91 kB / 0.5695 GB, free: 7.535 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.483, allocations: 7.438 kB / 0.5695 GB, free: 7.531 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004185/0.4834, allocations: 188.6 kB / 0.5697 GB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.4834, allocations: 4 kB / 0.5697 GB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.4834, allocations: 3.625 kB / 0.5697 GB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.4835, allocations: 0 / 0.5697 GB, free: 7.359 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004005/0.4839, allocations: 161.9 kB / 0.5699 GB, free: 7.219 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008991/0.4848, allocations: 466.6 kB / 0.5703 GB, free: 6.766 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000916/0.4857, allocations: 323.7 kB / 0.5706 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.493e-05/0.4857, allocations: 0 / 0.5706 GB, free: 6.461 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.777e-05/0.4858, allocations: 34.55 kB / 0.5706 GB, free: 6.418 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 2.625e-06/0.4858, allocations: 4 kB / 0.5706 GB, free: 6.414 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007682/0.4866, allocations: 290.1 kB / 0.5709 GB, free: 6.148 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.352e-05/0.4866, allocations: 106.1 kB / 0.571 GB, free: 6.023 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001295/0.4868, allocations: 143.6 kB / 0.5712 GB, free: 5.887 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.4868, allocations: 29.7 kB / 0.5712 GB, free: 5.852 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.211e-05/0.4869, allocations: 118 kB / 0.5713 GB, free: 5.746 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.4869, allocations: 31.25 kB / 0.5713 GB, free: 5.719 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.891e-06/0.4869, allocations: 0 / 0.5713 GB, free: 5.719 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.4871, allocations: 326.2 kB / 0.5716 GB, free: 5.398 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002229/0.4873, allocations: 87.16 kB / 0.5717 GB, free: 5.324 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.4875, allocations: 100.8 kB / 0.5718 GB, free: 5.227 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002121/0.4878, allocations: 82.34 kB / 0.5719 GB, free: 5.156 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4878, allocations: 0 / 0.5719 GB, free: 5.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005/0.4883, allocations: 213.1 kB / 0.5721 GB, free: 4.961 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.782e-05/0.4884, allocations: 96.58 kB / 0.5722 GB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.4884, allocations: 0 / 0.5722 GB, free: 4.863 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.911e-05/0.4884, allocations: 3.984 kB / 0.5722 GB, free: 4.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.4886, allocations: 43.97 kB / 0.5722 GB, free: 4.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.4886, allocations: 3.984 kB / 0.5722 GB, free: 4.812 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000147/0.4888, allocations: 31.89 kB / 0.5723 GB, free: 4.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.4888, allocations: 11.98 kB / 0.5723 GB, free: 4.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.017e-06/0.4888, allocations: 4 kB / 0.5723 GB, free: 4.766 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002263/0.489, allocations: 84.38 kB / 0.5724 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-06/0.489, allocations: 0 / 0.5724 GB, free: 4.699 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.488e-06/0.489, allocations: 4 kB / 0.5724 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.454e-05/0.4891, allocations: 23.92 kB / 0.5724 GB, free: 4.672 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.4891, allocations: 3.953 kB / 0.5724 GB, free: 4.668 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.817e-05/0.4892, allocations: 22.61 kB / 0.5724 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.648e-06/0.4893, allocations: 0 / 0.5724 GB, free: 4.648 MB / 378.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.0001395/0.4894, allocations: 200 kB / 0.5726 GB, free: 4.449 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.4894, allocations: 19.81 kB / 0.5726 GB, free: 4.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.257e-05/0.4895, allocations: 12.83 kB / 0.5726 GB, free: 4.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.4895, allocations: 4 kB / 0.5726 GB, free: 4.406 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.563e-05/0.4895, allocations: 7.953 kB / 0.5727 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4895, allocations: 0 / 0.5727 GB, free: 4.398 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002467/0.4898, allocations: 222.7 kB / 0.5729 GB, free: 4.156 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.644e-06/0.4898, allocations: 3.938 kB / 0.5729 GB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001709/0.49, allocations: 39.97 kB / 0.5729 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.49, allocations: 0 / 0.5729 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.49, allocations: 3.688 kB / 0.5729 GB, free: 4.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.537e-06/0.49, allocations: 12.55 kB / 0.5729 GB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.49, allocations: 0 / 0.5729 GB, free: 4.102 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007539/0.4908, allocations: 395.7 kB / 0.5733 GB, free: 3.73 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.245e-05/0.4909, allocations: 92.52 kB / 0.5734 GB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.4909, allocations: 0 / 0.5734 GB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000271/0.4912, allocations: 52.02 kB / 0.5734 GB, free: 3.574 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.925e-05/0.4912, allocations: 11.67 kB / 0.5734 GB, free: 3.566 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.4912, allocations: 0 / 0.5734 GB, free: 3.566 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001063/0.4914, allocations: 121.9 kB / 0.5736 GB, free: 3.457 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.4914, allocations: 0 / 0.5736 GB, free: 3.457 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003194/0.4917, allocations: 49.95 kB / 0.5736 GB, free: 3.414 MB / 378.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.0001361/0.4918, allocations: 107.1 kB / 0.5737 GB, free: 3.301 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005941/0.4924, allocations: 218.6 kB / 0.5739 GB, free: 3.113 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.4925, allocations: 0 / 0.5739 GB, free: 3.113 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000219/0.4927, allocations: 93.88 kB / 0.574 GB, free: 3.031 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003559/0.493, allocations: 30.75 kB / 0.574 GB, free: 3.012 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000693/0.4937, allocations: 332.5 kB / 0.5744 GB, free: 2.684 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003097/0.4941, allocations: 0.7086 MB / 0.5751 GB, free: 1.949 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000102/0.4942, allocations: 24.53 kB / 0.5751 GB, free: 1.926 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.742e-05/0.4942, allocations: 15.44 kB / 0.5751 GB, free: 1.91 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.4942, allocations: 0 / 0.5751 GB, free: 1.91 MB / 378.7 MB Notification: Performance of Templates: time 0.004662/0.4989, allocations: 1.866 MB / 0.5769 GB, free: 64 kB / 378.7 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/Limiters/Limiters.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches