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: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001812/0.001812, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.412/1.412, allocations: 227.2 MB / 245 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009691/0.0009692, allocations: 105.4 kB / 297.3 MB, free: 6.18 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3604/0.3604, allocations: 45.22 MB / 394.6 MB, free: 31.64 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003398/0.0003399, allocations: 4 kB / 468.5 MB, free: 7.637 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3945, allocations: 63.24 MB / 0.5193 GB, free: 43.34 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.5209, allocations: 89.65 MB / 0.6068 GB, free: 15.87 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001907/0.5212, allocations: 67.94 kB / 0.6069 GB, free: 15.8 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01419/0.5354, allocations: 4.719 MB / 0.6115 GB, free: 11.11 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.402e-06/0.5354, allocations: 0 / 0.6115 GB, free: 11.11 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.596e-05/0.5354, allocations: 11.94 kB / 0.6115 GB, free: 11.1 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.0006568/0.5361, allocations: 460.2 kB / 0.6119 GB, free: 10.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.5362, allocations: 8.031 kB / 0.6119 GB, free: 10.59 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.803e-05/0.5362, allocations: 38.56 kB / 0.612 GB, free: 10.55 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001568/0.5364, allocations: 31.73 kB / 0.612 GB, free: 10.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003062/0.5367, allocations: 223.2 kB / 0.6122 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.907e-05/0.5367, allocations: 8 kB / 0.6122 GB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.589e-05/0.5368, allocations: 8 kB / 0.6122 GB, free: 10.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004113/0.5372, allocations: 188.2 kB / 0.6124 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.435e-05/0.5372, allocations: 3.938 kB / 0.6124 GB, free: 10.04 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.19e-05/0.5372, allocations: 8 kB / 0.6124 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5373, allocations: 0 / 0.6124 GB, free: 10.03 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004037/0.5377, allocations: 162.2 kB / 0.6126 GB, free: 9.871 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008472/0.5385, allocations: 464.5 kB / 0.613 GB, free: 9.367 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000846/0.5394, allocations: 326.4 kB / 0.6133 GB, free: 9.039 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.5394, allocations: 4 kB / 0.6133 GB, free: 9.035 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.485e-05/0.5394, allocations: 34.56 kB / 0.6134 GB, free: 8.992 MB / 426.7 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.5395, allocations: 0 / 0.6134 GB, free: 8.992 MB / 426.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007428/0.5402, allocations: 281.4 kB / 0.6136 GB, free: 8.711 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.156e-05/0.5403, allocations: 106.8 kB / 0.6137 GB, free: 8.582 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001198/0.5404, allocations: 137.4 kB / 0.6139 GB, free: 8.441 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.581e-05/0.5405, allocations: 29.7 kB / 0.6139 GB, free: 8.406 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.905e-05/0.5405, allocations: 112.2 kB / 0.614 GB, free: 8.293 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.5406, allocations: 23.66 kB / 0.614 GB, free: 8.27 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.061e-06/0.5406, allocations: 0 / 0.614 GB, free: 8.27 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001144/0.5407, allocations: 326.8 kB / 0.6143 GB, free: 7.941 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.5409, allocations: 84.09 kB / 0.6144 GB, free: 7.859 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/0.5412, allocations: 110.5 kB / 0.6145 GB, free: 7.742 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002087/0.5414, allocations: 83.92 kB / 0.6146 GB, free: 7.66 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.5414, allocations: 0 / 0.6146 GB, free: 7.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004783/0.5419, allocations: 209.4 kB / 0.6148 GB, free: 7.449 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.985e-05/0.542, allocations: 93 kB / 0.6149 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.542, allocations: 0 / 0.6149 GB, free: 7.352 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.542, allocations: 3.938 kB / 0.6149 GB, free: 7.348 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001653/0.5422, allocations: 43.95 kB / 0.6149 GB, free: 7.305 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.5422, allocations: 4 kB / 0.6149 GB, free: 7.301 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000146/0.5423, allocations: 39.88 kB / 0.615 GB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.066e-05/0.5424, allocations: 0.5469 kB / 0.615 GB, free: 7.262 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.446e-06/0.5424, allocations: 4 kB / 0.615 GB, free: 7.258 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002105/0.5426, allocations: 87.97 kB / 0.6151 GB, free: 7.172 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.5426, allocations: 3.984 kB / 0.6151 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.146e-06/0.5426, allocations: 0 / 0.6151 GB, free: 7.168 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.401e-05/0.5427, allocations: 27.92 kB / 0.6151 GB, free: 7.141 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-06/0.5427, allocations: 7.953 kB / 0.6151 GB, free: 7.133 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.053e-05/0.5428, allocations: 11.98 kB / 0.6151 GB, free: 7.121 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.718e-06/0.5428, allocations: 4 kB / 0.6151 GB, free: 7.117 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.0001411/0.543, allocations: 193.1 kB / 0.6153 GB, free: 6.918 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.409e-05/0.543, allocations: 15.81 kB / 0.6153 GB, free: 6.902 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.406e-05/0.5431, allocations: 16.7 kB / 0.6153 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.618e-06/0.5431, allocations: 0 / 0.6153 GB, free: 6.891 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/0.5431, allocations: 15.89 kB / 0.6154 GB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5431, allocations: 0 / 0.6154 GB, free: 6.875 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.5434, allocations: 229.5 kB / 0.6156 GB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5434, allocations: 0 / 0.6156 GB, free: 6.602 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.5435, allocations: 35.97 kB / 0.6156 GB, free: 6.566 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.5436, allocations: 0 / 0.6156 GB, free: 6.566 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.5436, allocations: 8 kB / 0.6156 GB, free: 6.559 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.5436, allocations: 3.984 kB / 0.6156 GB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.5436, allocations: 0 / 0.6156 GB, free: 6.555 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000746/0.5443, allocations: 391.2 kB / 0.616 GB, free: 6.156 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.147e-05/0.5444, allocations: 88.95 kB / 0.6161 GB, free: 6.051 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.5444, allocations: 4 kB / 0.6161 GB, free: 6.047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002785/0.5447, allocations: 52.02 kB / 0.6161 GB, free: 5.996 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.131e-05/0.5448, allocations: 11.92 kB / 0.6161 GB, free: 5.984 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.5448, allocations: 4 kB / 0.6161 GB, free: 5.98 MB / 426.7 MB Notification: Performance of sorting global known variables: time 8.43e-05/0.5449, allocations: 121 kB / 0.6163 GB, free: 5.863 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5449, allocations: 0 / 0.6163 GB, free: 5.863 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0003132/0.5452, allocations: 43.94 kB / 0.6163 GB, free: 5.82 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.001033/0.5462, allocations: 0.927 MB / 0.6172 GB, free: 4.867 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005656/0.5468, allocations: 219.8 kB / 0.6174 GB, free: 4.652 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5468, allocations: 4 kB / 0.6174 GB, free: 4.648 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.5471, allocations: 87.88 kB / 0.6175 GB, free: 4.562 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003153/0.5474, allocations: 31.97 kB / 0.6175 GB, free: 4.531 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001847/0.5493, allocations: 0.9578 MB / 0.6185 GB, free: 3.527 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.5496, allocations: 0.7006 MB / 0.6192 GB, free: 2.801 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001037/0.5497, allocations: 25.16 kB / 0.6192 GB, free: 2.777 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.203e-05/0.5498, allocations: 39.42 kB / 0.6192 GB, free: 2.738 MB / 426.7 MB Notification: Performance of SimCode: time 3.3e-07/0.5498, allocations: 3.938 kB / 0.6192 GB, free: 2.734 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01597/0.5658, allocations: 3.161 MB / 0.6223 GB, free: 15.71 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002253/0.5661, allocations: 160.8 kB / 0.6225 GB, free: 15.48 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.652/2.218, allocations: 7.625 kB / 0.6225 GB, free: 15.47 MB / 442.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Limiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat