Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.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) 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: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001374/0.001374, allocations: 196 kB / 8.766 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.407/1.407, allocations: 225.6 MB / 234.8 MB, free: 3.281 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007853/0.0007853, allocations: 101.5 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.025e-05/2.027e-05, allocations: 4 kB / 343.8 MB, free: 8.211 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1072/0.1072, allocations: 51.48 MB / 395.3 MB, free: 4.691 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.327/0.4343, allocations: 77.39 MB / 472.6 MB, free: 13.87 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001927/0.4345, allocations: 64.19 kB / 472.7 MB, free: 13.84 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006049/0.4406, allocations: 2.488 MB / 475.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.223e-06/0.4406, allocations: 0 / 475.2 MB, free: 12.41 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.065e-05/0.4406, allocations: 8 kB / 475.2 MB, free: 12.4 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0003273/0.441, allocations: 409.1 kB / 475.6 MB, free: 11.99 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.648e-05/0.441, allocations: 12.03 kB / 475.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.4411, allocations: 9.172 kB / 475.6 MB, free: 11.97 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.4413, allocations: 215.6 kB / 475.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.317e-05/0.4413, allocations: 0.8594 kB / 475.8 MB, free: 11.73 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.145e-05/0.4413, allocations: 13.45 kB / 475.8 MB, free: 11.72 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.799e-05/0.4414, allocations: 33.8 kB / 475.9 MB, free: 11.7 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001274/0.4415, allocations: 94.56 kB / 476 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.116e-05/0.4415, allocations: 1.031 kB / 476 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.4416, allocations: 3.938 kB / 476 MB, free: 11.62 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.4416, allocations: 4 kB / 476 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.4421, allocations: 0.5167 MB / 476.5 MB, free: 11.14 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.4422, allocations: 74.88 kB / 476.6 MB, free: 11.07 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.238e-05/0.4423, allocations: 26.67 kB / 476.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.4423, allocations: 3.172 kB / 476.6 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.429e-05/0.4423, allocations: 34.56 kB / 476.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 1.363e-06/0.4423, allocations: 0 / 476.6 MB, free: 11.01 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.000453/0.4428, allocations: 348.7 kB / 477 MB, free: 10.66 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.725e-05/0.4428, allocations: 51.41 kB / 477 MB, free: 10.6 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.677e-05/0.4429, allocations: 133.3 kB / 477.2 MB, free: 10.48 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.4429, allocations: 25.7 kB / 477.2 MB, free: 10.45 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.737e-05/0.4429, allocations: 109.4 kB / 477.3 MB, free: 10.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.307e-05/0.443, allocations: 41.25 kB / 477.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.443, allocations: 0 / 477.3 MB, free: 10.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.846e-05/0.443, allocations: 322.5 kB / 477.6 MB, free: 10.01 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.044e-05/0.4431, allocations: 26 kB / 477.7 MB, free: 9.992 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.542e-05/0.4431, allocations: 59.47 kB / 477.7 MB, free: 9.938 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.234e-05/0.4432, allocations: 22.44 kB / 477.7 MB, free: 9.926 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.01e-07/0.4432, allocations: 0 / 477.7 MB, free: 9.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001373/0.4433, allocations: 109.6 kB / 477.9 MB, free: 9.836 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.4434, allocations: 13.41 kB / 477.9 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.079e-06/0.4434, allocations: 0 / 477.9 MB, free: 9.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.4434, allocations: 5.734 kB / 477.9 MB, free: 9.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.4436, allocations: 42.08 kB / 477.9 MB, free: 9.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.4436, allocations: 3.938 kB / 477.9 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.101e-05/0.4437, allocations: 15.75 kB / 477.9 MB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.4437, allocations: 8 kB / 477.9 MB, free: 9.766 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 5.457e-05/0.4437, allocations: 105 kB / 478 MB, free: 9.656 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001136/0.4439, allocations: 89.06 kB / 478.1 MB, free: 9.582 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.607e-05/0.4439, allocations: 15.86 kB / 478.1 MB, free: 9.566 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.457e-05/0.4439, allocations: 9.922 kB / 478.2 MB, free: 9.562 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.4439, allocations: 4 kB / 478.2 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/0.4439, allocations: 0 / 478.2 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.444, allocations: 1.547 kB / 478.2 MB, free: 9.559 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000365/0.4443, allocations: 385 kB / 478.5 MB, free: 9.211 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.4443, allocations: 3.953 kB / 478.5 MB, free: 9.207 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001523/0.4445, allocations: 34.36 kB / 478.6 MB, free: 9.18 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.4445, allocations: 7.984 kB / 478.6 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.4445, allocations: 6.781 kB / 478.6 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.4445, allocations: 0 / 478.6 MB, free: 9.168 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.4445, allocations: 5.5 kB / 478.6 MB, free: 9.164 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/0.4447, allocations: 234.1 kB / 478.8 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.525e-05/0.4448, allocations: 86.56 kB / 478.9 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.97e-05/0.4448, allocations: 0 / 478.9 MB, free: 8.844 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001076/0.4449, allocations: 19.47 kB / 478.9 MB, free: 8.828 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.445, allocations: 11.95 kB / 478.9 MB, free: 8.824 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.445, allocations: 4 kB / 478.9 MB, free: 8.82 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.715e-05/0.445, allocations: 106.2 kB / 479 MB, free: 8.73 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.445, allocations: 0 / 479 MB, free: 8.73 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002561/0.4453, allocations: 19.94 kB / 479.1 MB, free: 8.711 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (v.u,limit_a.y,positionSmoothed.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.0003535/0.4457, allocations: 0.8418 MB / 479.9 MB, free: 7.875 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000122/0.4458, allocations: 65.19 kB / 480 MB, free: 7.832 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.4458, allocations: 0 / 480 MB, free: 7.832 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 4.88e-05/0.4459, allocations: 38.69 kB / 480 MB, free: 7.805 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003086/0.4462, allocations: 33.47 kB / 480 MB, free: 7.785 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004816/0.4467, allocations: 241.1 kB / 480.3 MB, free: 7.559 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001248/0.4468, allocations: 0.7126 MB / 481 MB, free: 6.832 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 5.287e-05/0.4469, allocations: 16.33 kB / 481 MB, free: 6.824 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.122e-05/0.4469, allocations: 36 kB / 481 MB, free: 6.809 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.4469, allocations: 0 / 481 MB, free: 6.809 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/0.466, allocations: 2.326 MB / 483.4 MB, free: 5.234 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001373/0.4662, allocations: 122.4 kB / 483.5 MB, free: 5.047 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.554/2.021, allocations: 1.812 kB / 483.5 MB, free: 5.047 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat does not exist to compare? outputFormat=mat