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.000971/0.0009711, allocations: 180 kB / 14.15 MB, free: 1.176 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.305/1.305, allocations: 221.4 MB / 236 MB, free: 2.91 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008566/0.0008567, allocations: 99.67 kB / 287 MB, free: 184 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.179/0.179, allocations: 44.16 MB / 382 MB, free: 14.65 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3e-05/3.002e-05, allocations: 8.203 kB / 451.8 MB, free: 9.418 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1391/0.1392, allocations: 61.91 MB / 0.5017 GB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3755/0.5148, allocations: 88.52 MB / 0.5881 GB, free: 0.7891 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002/0.515, allocations: 63.7 kB / 0.5882 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01308/0.5281, allocations: 4.6 MB / 0.5927 GB, free: 12.14 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.693e-06/0.5282, allocations: 0 / 0.5927 GB, free: 12.14 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.154e-05/0.5282, allocations: 0 / 0.5927 GB, free: 12.14 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.0005576/0.5287, allocations: 434.2 kB / 0.5931 GB, free: 11.68 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.5288, allocations: 12.03 kB / 0.5931 GB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.385e-05/0.5289, allocations: 15.81 kB / 0.5931 GB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003015/0.5292, allocations: 219.3 kB / 0.5933 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.803e-05/0.5292, allocations: 8 kB / 0.5933 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.995e-05/0.5292, allocations: 7.953 kB / 0.5934 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.5295, allocations: 133.5 kB / 0.5935 GB, free: 11.23 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.5295, allocations: 7.844 kB / 0.5935 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.5295, allocations: 3.938 kB / 0.5935 GB, free: 11.22 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.5295, allocations: 4 kB / 0.5935 GB, free: 11.21 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001209/0.5297, allocations: 59.92 kB / 0.5936 GB, free: 11.16 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007956/0.5305, allocations: 468.3 kB / 0.594 GB, free: 10.65 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000455/0.5309, allocations: 158.6 kB / 0.5942 GB, free: 10.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.99e-05/0.531, allocations: 32.86 kB / 0.5942 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.287e-05/0.531, allocations: 160 / 0.5942 GB, free: 10.45 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.5311, allocations: 34.55 kB / 0.5942 GB, free: 10.41 MB / 410.7 MB Notification: Performance of pre-optimization done (n=7): time 9.42e-07/0.5311, allocations: 0 / 0.5942 GB, free: 10.41 MB / 410.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002242/0.5313, allocations: 97.69 kB / 0.5943 GB, free: 10.3 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.908e-05/0.5314, allocations: 106.8 kB / 0.5944 GB, free: 10.18 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001157/0.5315, allocations: 137.4 kB / 0.5945 GB, free: 10.04 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.5315, allocations: 29.7 kB / 0.5946 GB, free: 10 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.095e-05/0.5316, allocations: 112.2 kB / 0.5947 GB, free: 9.887 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.5316, allocations: 15.72 kB / 0.5947 GB, free: 9.871 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.697e-06/0.5316, allocations: 4 kB / 0.5947 GB, free: 9.867 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001126/0.5317, allocations: 322.8 kB / 0.595 GB, free: 9.543 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.039e-05/0.5318, allocations: 24 kB / 0.595 GB, free: 9.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.566e-05/0.5319, allocations: 46.56 kB / 0.5951 GB, free: 9.465 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.218e-05/0.5319, allocations: 24.61 kB / 0.5951 GB, free: 9.441 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.5319, allocations: 0 / 0.5951 GB, free: 9.441 MB / 410.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001526/0.5321, allocations: 101.7 kB / 0.5952 GB, free: 9.336 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.748e-05/0.5322, allocations: 90.09 kB / 0.5953 GB, free: 9.242 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.5322, allocations: 4.031 kB / 0.5953 GB, free: 9.238 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.5322, allocations: 4.031 kB / 0.5953 GB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000171/0.5324, allocations: 43.97 kB / 0.5953 GB, free: 9.191 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.857e-06/0.5324, allocations: 3.984 kB / 0.5953 GB, free: 9.188 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000144/0.5325, allocations: 39.91 kB / 0.5954 GB, free: 9.148 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.23e-05/0.5326, allocations: 4 kB / 0.5954 GB, free: 9.145 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.5326, allocations: 7.938 kB / 0.5954 GB, free: 9.137 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 9.182e-05/0.5327, allocations: 43.92 kB / 0.5954 GB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-06/0.5327, allocations: 0 / 0.5954 GB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.693e-06/0.5327, allocations: 0 / 0.5954 GB, free: 9.094 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.89e-05/0.5328, allocations: 27.98 kB / 0.5954 GB, free: 9.066 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.453e-06/0.5328, allocations: 4 kB / 0.5955 GB, free: 9.062 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.942e-05/0.5329, allocations: 19.89 kB / 0.5955 GB, free: 9.043 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.238e-06/0.5329, allocations: 0 / 0.5955 GB, free: 9.043 MB / 410.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 () * 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 8.112e-05/0.533, allocations: 112.9 kB / 0.5956 GB, free: 8.926 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.148e-05/0.533, allocations: 7.906 kB / 0.5956 GB, free: 8.918 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.761e-05/0.5331, allocations: 16.61 kB / 0.5956 GB, free: 8.898 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.188e-06/0.5331, allocations: 3.984 kB / 0.5956 GB, free: 8.895 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.5331, allocations: 7.938 kB / 0.5956 GB, free: 8.887 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5331, allocations: 4 kB / 0.5956 GB, free: 8.883 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.5334, allocations: 225.5 kB / 0.5958 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.5334, allocations: 0 / 0.5958 GB, free: 8.613 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001691/0.5336, allocations: 43.91 kB / 0.5959 GB, free: 8.57 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.357e-06/0.5336, allocations: 3.984 kB / 0.5959 GB, free: 8.566 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.5336, allocations: 4 kB / 0.5959 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.5336, allocations: 0 / 0.5959 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.5336, allocations: 0 / 0.5959 GB, free: 8.562 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.5339, allocations: 223.3 kB / 0.5961 GB, free: 8.328 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.998e-05/0.5339, allocations: 92.97 kB / 0.5962 GB, free: 8.219 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.331e-05/0.534, allocations: 4 kB / 0.5962 GB, free: 8.215 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.5343, allocations: 52.02 kB / 0.5962 GB, free: 8.164 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.832e-05/0.5343, allocations: 11.98 kB / 0.5962 GB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.174e-05/0.5343, allocations: 4 kB / 0.5963 GB, free: 8.148 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.467e-05/0.5344, allocations: 124.1 kB / 0.5964 GB, free: 8.027 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5344, allocations: 3.938 kB / 0.5964 GB, free: 8.023 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002718/0.5347, allocations: 32 kB / 0.5964 GB, free: 7.992 MB / 410.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 () * 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.000139/0.5349, allocations: 99.19 kB / 0.5965 GB, free: 7.887 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001999/0.5351, allocations: 92.7 kB / 0.5966 GB, free: 7.797 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.5351, allocations: 0 / 0.5966 GB, free: 7.797 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 5.812e-05/0.5351, allocations: 35.92 kB / 0.5966 GB, free: 7.762 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002852/0.5354, allocations: 31.92 kB / 0.5967 GB, free: 7.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.5358, allocations: 160.7 kB / 0.5968 GB, free: 7.547 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.5361, allocations: 0.709 MB / 0.5975 GB, free: 6.812 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001113/0.5362, allocations: 25.47 kB / 0.5975 GB, free: 6.789 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.216e-05/0.5362, allocations: 15.44 kB / 0.5975 GB, free: 6.773 MB / 410.7 MB Notification: Performance of SimCode: time 2.5e-07/0.5362, allocations: 0 / 0.5975 GB, free: 6.773 MB / 410.7 MB Notification: Performance of Templates: time 0.004528/0.5408, allocations: 2.069 MB / 0.5996 GB, free: 4.738 MB / 410.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/jenkins/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