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.001225/0.001225, allocations: 197.2 kB / 18.11 MB, free: 3.738 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 226.5 MB / 245.4 MB, free: 8.242 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008105/0.0008106, allocations: 100.8 kB / 297.5 MB, free: 6.914 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3593/0.3593, allocations: 44.82 MB / 394.3 MB, free: 35.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002866/0.0002867, allocations: 4 kB / 467.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3946/0.3949, allocations: 62.96 MB / 0.5184 GB, free: 37.45 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.13/0.525, allocations: 89.52 MB / 0.6058 GB, free: 15.81 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002593/0.5253, allocations: 67.95 kB / 0.6059 GB, free: 15.75 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01454/0.5398, allocations: 4.697 MB / 0.6105 GB, free: 11.05 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.5399, allocations: 4 kB / 0.6105 GB, free: 11.04 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.621e-05/0.5399, allocations: 8 kB / 0.6105 GB, free: 11.04 MB / 426.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.000762/0.5407, allocations: 454.9 kB / 0.6109 GB, free: 10.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/0.5408, allocations: 12.03 kB / 0.6109 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001896/0.541, allocations: 20.84 kB / 0.611 GB, free: 10.51 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003289/0.5413, allocations: 228.5 kB / 0.6112 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.285e-05/0.5413, allocations: 8.281 kB / 0.6112 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.367e-05/0.5414, allocations: 8.375 kB / 0.6112 GB, free: 10.23 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004724/0.5419, allocations: 200.2 kB / 0.6114 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.5419, allocations: 0 / 0.6114 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.5419, allocations: 4 kB / 0.6114 GB, free: 10.02 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.227e-06/0.5419, allocations: 3.984 kB / 0.6114 GB, free: 10.01 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004195/0.5424, allocations: 159.9 kB / 0.6115 GB, free: 9.855 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009821/0.5434, allocations: 468.4 kB / 0.612 GB, free: 9.348 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009222/0.5443, allocations: 322.4 kB / 0.6123 GB, free: 9.023 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000221/0.5445, allocations: 88.8 kB / 0.6124 GB, free: 8.934 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.932e-05/0.5446, allocations: 3.984 kB / 0.6124 GB, free: 8.93 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.5446, allocations: 34.56 kB / 0.6124 GB, free: 8.887 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 2.114e-06/0.5446, allocations: 0 / 0.6124 GB, free: 8.887 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007885/0.5454, allocations: 293.4 kB / 0.6127 GB, free: 8.594 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.744e-05/0.5455, allocations: 102.8 kB / 0.6128 GB, free: 8.469 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.5457, allocations: 150.9 kB / 0.6129 GB, free: 8.312 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.802e-05/0.5457, allocations: 29.7 kB / 0.613 GB, free: 8.277 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.113e-05/0.5458, allocations: 108.1 kB / 0.6131 GB, free: 8.168 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.369e-05/0.5458, allocations: 31.55 kB / 0.6131 GB, free: 8.137 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.83e-06/0.5458, allocations: 0 / 0.6131 GB, free: 8.137 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001518/0.546, allocations: 326.8 kB / 0.6134 GB, free: 7.809 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002162/0.5462, allocations: 79.94 kB / 0.6135 GB, free: 7.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002664/0.5465, allocations: 106.5 kB / 0.6136 GB, free: 7.617 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000412/0.5469, allocations: 169.2 kB / 0.6138 GB, free: 7.449 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.5469, allocations: 0 / 0.6138 GB, free: 7.449 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0005077/0.5474, allocations: 213.4 kB / 0.614 GB, free: 7.234 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.993e-05/0.5475, allocations: 100.9 kB / 0.6141 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.5475, allocations: 0 / 0.6141 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.5476, allocations: 0 / 0.6141 GB, free: 7.129 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000159/0.5477, allocations: 39.97 kB / 0.6141 GB, free: 7.09 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.5477, allocations: 0 / 0.6141 GB, free: 7.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001561/0.5479, allocations: 47.81 kB / 0.6141 GB, free: 7.043 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.5479, allocations: 0 / 0.6141 GB, free: 7.043 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.548, allocations: 6.5 kB / 0.6141 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002111/0.5482, allocations: 83.95 kB / 0.6142 GB, free: 6.957 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.5482, allocations: 7.938 kB / 0.6142 GB, free: 6.949 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.5482, allocations: 4 kB / 0.6142 GB, free: 6.945 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.041e-05/0.5483, allocations: 19.98 kB / 0.6143 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.134e-06/0.5483, allocations: 0 / 0.6143 GB, free: 6.926 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.65e-05/0.5484, allocations: 23.92 kB / 0.6143 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.5484, allocations: 0 / 0.6143 GB, free: 6.902 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.0001548/0.5486, allocations: 197.1 kB / 0.6145 GB, free: 6.699 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.5486, allocations: 11.91 kB / 0.6145 GB, free: 6.688 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.187e-05/0.5487, allocations: 12.72 kB / 0.6145 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.5487, allocations: 0 / 0.6145 GB, free: 6.668 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.154e-06/0.5487, allocations: 3.938 kB / 0.6145 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.027e-06/0.5487, allocations: 0 / 0.6145 GB, free: 6.664 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.549, allocations: 233.4 kB / 0.6147 GB, free: 6.387 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.549, allocations: 4 kB / 0.6147 GB, free: 6.383 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001592/0.5492, allocations: 39.95 kB / 0.6148 GB, free: 6.344 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.5492, allocations: 7.875 kB / 0.6148 GB, free: 6.336 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.5492, allocations: 4 kB / 0.6148 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.053e-06/0.5492, allocations: 0 / 0.6148 GB, free: 6.332 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5492, allocations: 3.938 kB / 0.6148 GB, free: 6.328 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007774/0.55, allocations: 387.3 kB / 0.6151 GB, free: 5.934 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.905e-05/0.5501, allocations: 89.03 kB / 0.6152 GB, free: 5.828 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.515e-05/0.5501, allocations: 4.062 kB / 0.6152 GB, free: 5.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000257/0.5504, allocations: 51.95 kB / 0.6153 GB, free: 5.773 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.421e-05/0.5504, allocations: 11.94 kB / 0.6153 GB, free: 5.762 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.696e-05/0.5505, allocations: 11.98 kB / 0.6153 GB, free: 5.75 MB / 426.7 MB Notification: Performance of sorting global known variables: time 9.299e-05/0.5506, allocations: 113.4 kB / 0.6154 GB, free: 5.641 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5506, allocations: 0 / 0.6154 GB, free: 5.641 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003362/0.5509, allocations: 43.84 kB / 0.6155 GB, free: 5.598 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 0.0001642/0.5511, allocations: 107.1 kB / 0.6156 GB, free: 5.484 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0006136/0.5517, allocations: 215.8 kB / 0.6158 GB, free: 5.273 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.5517, allocations: 4 kB / 0.6158 GB, free: 5.27 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002227/0.5519, allocations: 91.88 kB / 0.6159 GB, free: 5.18 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.5523, allocations: 36.66 kB / 0.6159 GB, free: 5.145 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007183/0.5531, allocations: 312 kB / 0.6162 GB, free: 4.805 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.5534, allocations: 0.7048 MB / 0.6169 GB, free: 4.074 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001199/0.5536, allocations: 20.53 kB / 0.6169 GB, free: 4.055 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.627e-05/0.5536, allocations: 15.44 kB / 0.6169 GB, free: 4.043 MB / 426.7 MB Notification: Performance of SimCode: time 7.21e-07/0.5536, allocations: 0 / 0.6169 GB, free: 4.043 MB / 426.7 MB Notification: Performance of Templates: time 0.004934/0.5586, allocations: 1.921 MB / 0.6188 GB, free: 2.148 MB / 426.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/jenkins1/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