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.001185/0.001185, allocations: 197.5 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.176/1.176, allocations: 227.2 MB / 245 MB, free: 5.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008476/0.0008475, allocations: 106.6 kB / 297.3 MB, free: 5.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001895/0.0001895, allocations: 8 kB / 358 MB, free: 9.242 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1717, allocations: 51.48 MB / 409.5 MB, free: 26.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08166/0.2534, allocations: 78.12 MB / 487.6 MB, free: 12.48 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002181/0.2537, allocations: 71.97 kB / 487.7 MB, free: 12.41 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006787/0.2605, allocations: 2.518 MB / 490.2 MB, free: 9.898 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.2605, allocations: 0 / 490.2 MB, free: 9.898 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.2605, allocations: 4 kB / 490.2 MB, free: 9.895 MB / 362.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.0004174/0.261, allocations: 422.9 kB / 490.6 MB, free: 9.434 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.261, allocations: 12.03 kB / 490.6 MB, free: 9.422 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.255e-05/0.261, allocations: 38.56 kB / 490.7 MB, free: 9.375 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.044e-05/0.2611, allocations: 15.8 kB / 490.7 MB, free: 9.359 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.2613, allocations: 210.4 kB / 490.9 MB, free: 9.113 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.498e-05/0.2613, allocations: 7.953 kB / 490.9 MB, free: 9.105 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.254e-05/0.2613, allocations: 12 kB / 490.9 MB, free: 9.094 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002542/0.2616, allocations: 146.4 kB / 491.1 MB, free: 8.938 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.829e-06/0.2616, allocations: 3.938 kB / 491.1 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.728e-06/0.2616, allocations: 0 / 491.1 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.2616, allocations: 4 kB / 491.1 MB, free: 8.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001895/0.2618, allocations: 83.8 kB / 491.1 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006139/0.2624, allocations: 0.5477 MB / 491.7 MB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003125/0.2628, allocations: 146.4 kB / 491.8 MB, free: 8.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.256e-05/0.2628, allocations: 4 kB / 491.8 MB, free: 8.086 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/0.2628, allocations: 34.52 kB / 491.9 MB, free: 8.043 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 2.244e-06/0.2628, allocations: 4 kB / 491.9 MB, free: 8.039 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0009623/0.2638, allocations: 0.5215 MB / 492.4 MB, free: 7.465 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.204e-05/0.2638, allocations: 51.41 kB / 492.4 MB, free: 7.402 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.2639, allocations: 136.2 kB / 492.6 MB, free: 7.266 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.407e-05/0.264, allocations: 25.7 kB / 492.6 MB, free: 7.234 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.287e-05/0.264, allocations: 124.1 kB / 492.7 MB, free: 7.105 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.496e-05/0.264, allocations: 35.89 kB / 492.8 MB, free: 7.07 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.121e-06/0.2641, allocations: 4 kB / 492.8 MB, free: 7.066 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.078e-05/0.2641, allocations: 322.8 kB / 493.1 MB, free: 6.742 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001357/0.2643, allocations: 55.97 kB / 493.1 MB, free: 6.688 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.2644, allocations: 92.81 kB / 493.2 MB, free: 6.586 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.2646, allocations: 67.03 kB / 493.3 MB, free: 6.523 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.2646, allocations: 0 / 493.3 MB, free: 6.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003327/0.2649, allocations: 186.2 kB / 493.5 MB, free: 6.336 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2649, allocations: 7.953 kB / 493.5 MB, free: 6.328 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.265, allocations: 8.094 kB / 493.5 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.265, allocations: 0 / 493.5 MB, free: 6.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.2651, allocations: 43.91 kB / 493.5 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.2651, allocations: 0 / 493.5 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.2652, allocations: 15.98 kB / 493.5 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.939e-06/0.2652, allocations: 8 kB / 493.6 MB, free: 6.254 MB / 362.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 () * Number of clocked 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 7.473e-05/0.2653, allocations: 125.8 kB / 493.7 MB, free: 6.121 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.063e-05/0.2654, allocations: 19.75 kB / 493.7 MB, free: 6.102 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.348e-05/0.2654, allocations: 16.67 kB / 493.7 MB, free: 6.086 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.2654, allocations: 4 kB / 493.7 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.776e-06/0.2654, allocations: 0 / 493.7 MB, free: 6.082 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/0.2654, allocations: 3.984 kB / 493.7 MB, free: 6.078 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005972/0.266, allocations: 487.1 kB / 494.2 MB, free: 5.543 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.266, allocations: 3.953 kB / 494.2 MB, free: 5.539 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.2662, allocations: 31.98 kB / 494.2 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.2662, allocations: 0 / 494.2 MB, free: 5.508 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2662, allocations: 8 kB / 494.2 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.2662, allocations: 0 / 494.2 MB, free: 5.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.337e-06/0.2662, allocations: 8.016 kB / 494.2 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000482/0.2667, allocations: 345.7 kB / 494.6 MB, free: 5.129 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.957e-05/0.2668, allocations: 89.02 kB / 494.7 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.753e-05/0.2668, allocations: 0 / 494.7 MB, free: 5.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2669, allocations: 15.98 kB / 494.7 MB, free: 5.008 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.044e-05/0.267, allocations: 11.98 kB / 494.7 MB, free: 4.996 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.183e-06/0.267, allocations: 4 kB / 494.7 MB, free: 4.992 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.58e-05/0.267, allocations: 117.7 kB / 494.8 MB, free: 4.879 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.267, allocations: 0 / 494.8 MB, free: 4.879 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002233/0.2673, allocations: 20 kB / 494.8 MB, free: 4.859 MB / 362.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 () * Number of clocked 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.0007038/0.268, allocations: 0.9437 MB / 495.8 MB, free: 3.879 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000306/0.2683, allocations: 140 kB / 495.9 MB, free: 3.742 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.2683, allocations: 0 / 495.9 MB, free: 3.742 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001492/0.2685, allocations: 72.09 kB / 496 MB, free: 3.672 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002787/0.2688, allocations: 27.97 kB / 496 MB, free: 3.645 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.2702, allocations: 1.382 MB / 497.4 MB, free: 2.199 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002067/0.2704, allocations: 0.7126 MB / 498.1 MB, free: 1.461 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.301e-05/0.2705, allocations: 13.08 kB / 498.1 MB, free: 1.445 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.847e-05/0.2705, allocations: 35.42 kB / 498.2 MB, free: 1.414 MB / 362.7 MB Notification: Performance of SimCode: time 2.7e-07/0.2705, allocations: 0 / 498.2 MB, free: 1.414 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01228/0.2828, allocations: 2.728 MB / 0.4891 GB, free: 14.8 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001764/0.283, allocations: 175.6 kB / 0.4893 GB, free: 14.56 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.52/1.803, allocations: 0 / 0.4893 GB, free: 14.56 MB / 378.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