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/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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_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|slewRateLimiter.y|idealDerivative.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.Limiters") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001145/0.001145, allocations: 202.1 kB / 8.767 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.31/1.31, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009371/0.0009371, allocations: 95.84 kB / 286.7 MB, free: 5.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2017/0.2017, allocations: 45.14 MB / 383.7 MB, free: 260 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.429e-05/1.431e-05, allocations: 4 kB / 453.2 MB, free: 75.83 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1334/0.1334, allocations: 63.25 MB / 0.5044 GB, free: 12.63 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3872/0.5207, allocations: 88.91 MB / 0.5912 GB, free: 13.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001749/0.5209, allocations: 66.16 kB / 0.5912 GB, free: 13.65 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01282/0.5337, allocations: 4.674 MB / 0.5958 GB, free: 9.738 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5338, allocations: 4 kB / 0.5958 GB, free: 9.734 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.19e-05/0.5338, allocations: 4 kB / 0.5958 GB, free: 9.73 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.000544/0.5343, allocations: 444.5 kB / 0.5962 GB, free: 9.262 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.632e-05/0.5344, allocations: 12.02 kB / 0.5963 GB, free: 9.25 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001375/0.5345, allocations: 23.81 kB / 0.5963 GB, free: 9.227 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002363/0.5348, allocations: 220.5 kB / 0.5965 GB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.5348, allocations: 4 kB / 0.5965 GB, free: 8.977 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.5348, allocations: 7.938 kB / 0.5965 GB, free: 8.969 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001252/0.535, allocations: 50.31 kB / 0.5965 GB, free: 8.938 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.5351, allocations: 128.7 kB / 0.5967 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.5352, allocations: 0 / 0.5967 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.5352, allocations: 0 / 0.5967 GB, free: 8.82 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.5352, allocations: 4 kB / 0.5967 GB, free: 8.816 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007119/0.5359, allocations: 434.8 kB / 0.5971 GB, free: 8.398 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004168/0.5363, allocations: 163.5 kB / 0.5972 GB, free: 8.254 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.571e-05/0.5364, allocations: 23.67 kB / 0.5973 GB, free: 8.234 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.365e-05/0.5364, allocations: 11.42 kB / 0.5973 GB, free: 8.227 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.967e-05/0.5365, allocations: 34.56 kB / 0.5973 GB, free: 8.184 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.5365, allocations: 0 / 0.5973 GB, free: 8.184 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0001873/0.5367, allocations: 92.17 kB / 0.5974 GB, free: 8.102 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.203e-05/0.5367, allocations: 106.8 kB / 0.5975 GB, free: 7.973 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.933e-05/0.5368, allocations: 122.6 kB / 0.5976 GB, free: 7.852 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.08e-05/0.5368, allocations: 25.7 kB / 0.5976 GB, free: 7.82 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.5369, allocations: 109.4 kB / 0.5977 GB, free: 7.723 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.5369, allocations: 27.02 kB / 0.5978 GB, free: 7.699 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.5369, allocations: 0 / 0.5978 GB, free: 7.699 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.476e-05/0.537, allocations: 318.3 kB / 0.5981 GB, free: 7.383 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.351e-05/0.5371, allocations: 30.62 kB / 0.5981 GB, free: 7.363 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-05/0.5371, allocations: 48.95 kB / 0.5981 GB, free: 7.316 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.927e-05/0.5372, allocations: 18.73 kB / 0.5982 GB, free: 7.305 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.5372, allocations: 3.938 kB / 0.5982 GB, free: 7.301 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000129/0.5373, allocations: 91.19 kB / 0.5983 GB, free: 7.223 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.041e-05/0.5374, allocations: 96.45 kB / 0.5983 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.5374, allocations: 0 / 0.5983 GB, free: 7.125 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.5374, allocations: 8.016 kB / 0.5984 GB, free: 7.117 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001657/0.5376, allocations: 39.97 kB / 0.5984 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.5376, allocations: 0 / 0.5984 GB, free: 7.078 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001511/0.5378, allocations: 39.88 kB / 0.5984 GB, free: 7.039 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.5378, allocations: 3.938 kB / 0.5984 GB, free: 7.035 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.62e-06/0.5378, allocations: 5.719 kB / 0.5984 GB, free: 7.031 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.331e-05/0.5379, allocations: 49.34 kB / 0.5985 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.82e-07/0.5379, allocations: 0 / 0.5985 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-06/0.5379, allocations: 0 / 0.5985 GB, free: 6.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.653e-05/0.538, allocations: 23.98 kB / 0.5985 GB, free: 6.973 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.142e-06/0.538, allocations: 4 kB / 0.5985 GB, free: 6.969 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.5381, allocations: 19.88 kB / 0.5985 GB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.671e-06/0.5381, allocations: 4 kB / 0.5985 GB, free: 6.945 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 () * 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 7.656e-05/0.5382, allocations: 101 kB / 0.5986 GB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.699e-05/0.5382, allocations: 11.91 kB / 0.5986 GB, free: 6.828 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.5382, allocations: 12.19 kB / 0.5987 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.5383, allocations: 4 kB / 0.5987 GB, free: 6.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5383, allocations: 4 kB / 0.5987 GB, free: 6.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.5383, allocations: 3.984 kB / 0.5987 GB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001845/0.5385, allocations: 195.4 kB / 0.5989 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.5385, allocations: 0 / 0.5989 GB, free: 6.594 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.5386, allocations: 35.97 kB / 0.5989 GB, free: 6.559 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.5387, allocations: 4 kB / 0.5989 GB, free: 6.555 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.306e-05/0.5387, allocations: 11.98 kB / 0.5989 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5387, allocations: 0 / 0.5989 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.5387, allocations: 0 / 0.5989 GB, free: 6.543 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002257/0.5389, allocations: 216.2 kB / 0.5991 GB, free: 6.348 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.539, allocations: 85.05 kB / 0.5992 GB, free: 6.246 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.369e-05/0.539, allocations: 3.984 kB / 0.5992 GB, free: 6.242 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002639/0.5393, allocations: 52.02 kB / 0.5992 GB, free: 6.191 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.844e-05/0.5393, allocations: 7.938 kB / 0.5993 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.472e-05/0.5393, allocations: 15.8 kB / 0.5993 GB, free: 6.172 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.322e-05/0.5394, allocations: 113.2 kB / 0.5994 GB, free: 6.074 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5394, allocations: 0 / 0.5994 GB, free: 6.074 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002846/0.5397, allocations: 39.84 kB / 0.5994 GB, free: 6.035 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 () * 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.000104/0.5398, allocations: 99.19 kB / 0.5995 GB, free: 5.93 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001691/0.54, allocations: 85.78 kB / 0.5996 GB, free: 5.871 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/0.54, allocations: 3.75 kB / 0.5996 GB, free: 5.871 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.451e-05/0.54, allocations: 22.31 kB / 0.5996 GB, free: 5.855 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.5403, allocations: 32.7 kB / 0.5996 GB, free: 5.828 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002968/0.5406, allocations: 155.7 kB / 0.5998 GB, free: 5.672 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.5409, allocations: 0.7046 MB / 0.6005 GB, free: 4.941 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001022/0.541, allocations: 36.28 kB / 0.6005 GB, free: 4.906 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.825e-05/0.541, allocations: 15.44 kB / 0.6005 GB, free: 4.891 MB / 394.7 MB Notification: Performance of SimCode: time 2.31e-07/0.541, allocations: 0 / 0.6005 GB, free: 4.891 MB / 394.7 MB Notification: Performance of Templates: time 0.00374/0.5448, allocations: 1.859 MB / 0.6023 GB, free: 3.059 MB / 394.7 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","../files/ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches