Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000841/0.000841, allocations: 178.4 kB / 18.09 MB, free: 3.746 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.174/1.174, allocations: 223.3 MB / 242.1 MB, free: 11.7 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000751/0.000751, allocations: 104.7 kB / 293.3 MB, free: 10.78 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2606/0.2606, allocations: 44.14 MB / 388.5 MB, free: 38.76 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003267/0.0003268, allocations: 8 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2419/0.2423, allocations: 61.87 MB / 0.5107 GB, free: 38.3 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09024/0.3325, allocations: 88.6 MB / 0.5972 GB, free: 6.48 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001716/0.3327, allocations: 71.94 kB / 0.5973 GB, free: 6.414 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01264/0.3454, allocations: 4.611 MB / 0.6018 GB, free: 1.805 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3454, allocations: 0 / 0.6018 GB, free: 1.805 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.038e-05/0.3454, allocations: 0 / 0.6018 GB, free: 1.805 MB / 410.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.0005279/0.346, allocations: 466.8 kB / 0.6023 GB, free: 1.297 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.162e-05/0.346, allocations: 8.031 kB / 0.6023 GB, free: 1.289 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.526e-05/0.3461, allocations: 12.84 kB / 0.6023 GB, free: 1.277 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002157/0.3463, allocations: 216.6 kB / 0.6025 GB, free: 1.027 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.3463, allocations: 12.28 kB / 0.6025 GB, free: 1.016 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.345e-05/0.3463, allocations: 12.31 kB / 0.6025 GB, free: 1.004 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003713/0.3467, allocations: 201.4 kB / 0.6027 GB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.3467, allocations: 0 / 0.6027 GB, free: 0.793 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.787e-05/0.3468, allocations: 4 kB / 0.6027 GB, free: 0.7891 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.3468, allocations: 4 kB / 0.6027 GB, free: 0.7852 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003754/0.3472, allocations: 151.9 kB / 0.6029 GB, free: 0.6367 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000745/0.3479, allocations: 472.2 kB / 0.6033 GB, free: 128 kB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007951/0.3487, allocations: 322.4 kB / 0.6036 GB, free: 15.8 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001916/0.3489, allocations: 84.8 kB / 0.6037 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.03e-05/0.349, allocations: 4 kB / 0.6037 GB, free: 15.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.349, allocations: 38.55 kB / 0.6037 GB, free: 15.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.152e-06/0.349, allocations: 0 / 0.6037 GB, free: 15.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006845/0.3497, allocations: 285.4 kB / 0.604 GB, free: 15.38 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.484e-05/0.3497, allocations: 106.8 kB / 0.6041 GB, free: 15.25 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3499, allocations: 160.2 kB / 0.6043 GB, free: 15.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.304e-05/0.3499, allocations: 25.7 kB / 0.6043 GB, free: 15.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.577e-05/0.3499, allocations: 104.1 kB / 0.6044 GB, free: 14.95 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.35, allocations: 27.55 kB / 0.6044 GB, free: 14.92 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.484e-06/0.35, allocations: 4 kB / 0.6044 GB, free: 14.92 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.023e-05/0.3501, allocations: 326.8 kB / 0.6047 GB, free: 14.59 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002023/0.3503, allocations: 75.94 kB / 0.6048 GB, free: 14.52 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002105/0.3505, allocations: 110.5 kB / 0.6049 GB, free: 14.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003701/0.3509, allocations: 160.8 kB / 0.6051 GB, free: 14.24 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3509, allocations: 0 / 0.6051 GB, free: 14.24 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004329/0.3513, allocations: 213.4 kB / 0.6053 GB, free: 14.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.223e-05/0.3514, allocations: 100.9 kB / 0.6054 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.3514, allocations: 0.5469 kB / 0.6054 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.051e-05/0.3514, allocations: 0 / 0.6054 GB, free: 13.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001475/0.3516, allocations: 39.97 kB / 0.6054 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.3516, allocations: 0 / 0.6054 GB, free: 13.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/0.3517, allocations: 39.88 kB / 0.6054 GB, free: 13.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.081e-05/0.3517, allocations: 4 kB / 0.6054 GB, free: 13.84 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.901e-06/0.3518, allocations: 7.938 kB / 0.6054 GB, free: 13.83 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0001994/0.352, allocations: 95.91 kB / 0.6055 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-06/0.352, allocations: 0 / 0.6055 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.784e-06/0.352, allocations: 0 / 0.6055 GB, free: 13.73 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.139e-05/0.3521, allocations: 23.92 kB / 0.6056 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-06/0.3521, allocations: 0 / 0.6056 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.067e-05/0.3522, allocations: 31.86 kB / 0.6056 GB, free: 13.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.408e-06/0.3522, allocations: 3.938 kB / 0.6056 GB, free: 13.68 MB / 426.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.0001018/0.3523, allocations: 193.1 kB / 0.6058 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-05/0.3523, allocations: 7.906 kB / 0.6058 GB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.787e-05/0.3524, allocations: 16.72 kB / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.3524, allocations: 0 / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.3524, allocations: 7.938 kB / 0.6058 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.3524, allocations: 3.984 kB / 0.6058 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.3526, allocations: 221.5 kB / 0.606 GB, free: 13.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.3526, allocations: 4 kB / 0.606 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001525/0.3528, allocations: 43.97 kB / 0.6061 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.083e-06/0.3528, allocations: 0 / 0.6061 GB, free: 13.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.214e-05/0.3528, allocations: 3.984 kB / 0.6061 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.796e-06/0.3528, allocations: 0 / 0.6061 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3528, allocations: 7.875 kB / 0.6061 GB, free: 13.12 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006905/0.3535, allocations: 395.2 kB / 0.6065 GB, free: 12.71 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.319e-05/0.3536, allocations: 85.05 kB / 0.6065 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.078e-05/0.3536, allocations: 4.062 kB / 0.6065 GB, free: 12.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002434/0.3538, allocations: 51.95 kB / 0.6066 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.3539, allocations: 15.92 kB / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.128e-05/0.3539, allocations: 4 kB / 0.6066 GB, free: 12.54 MB / 426.7 MB Notification: Performance of sorting global known variables: time 7.315e-05/0.354, allocations: 120.9 kB / 0.6067 GB, free: 12.42 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.354, allocations: 0 / 0.6067 GB, free: 12.42 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0002925/0.3543, allocations: 43.84 kB / 0.6068 GB, free: 12.38 MB / 426.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 9.834e-05/0.3544, allocations: 99.78 kB / 0.6069 GB, free: 12.27 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005371/0.3549, allocations: 223.8 kB / 0.6071 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.175e-06/0.355, allocations: 0 / 0.6071 GB, free: 12.05 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.3552, allocations: 87.88 kB / 0.6072 GB, free: 11.97 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003382/0.3555, allocations: 35.97 kB / 0.6072 GB, free: 11.93 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005657/0.3561, allocations: 311.9 kB / 0.6075 GB, free: 11.59 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002089/0.3563, allocations: 0.7048 MB / 0.6082 GB, free: 10.86 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 9.144e-05/0.3564, allocations: 16.55 kB / 0.6082 GB, free: 10.84 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.955e-05/0.3565, allocations: 19.38 kB / 0.6082 GB, free: 10.82 MB / 426.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3565, allocations: 0 / 0.6082 GB, free: 10.82 MB / 426.7 MB Notification: Performance of Templates: time 0.003905/0.3604, allocations: 1.924 MB / 0.6101 GB, free: 8.934 MB / 426.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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","../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches