Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001601/0.001601, allocations: 196.9 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.271/1.271, allocations: 225.4 MB / 240.1 MB, free: 15.15 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008426/0.0008425, allocations: 88.09 kB / 292.1 MB, free: 5.906 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1809/0.1809, allocations: 45.15 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.01e-05/3.013e-05, allocations: 4 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09023/0.09028, allocations: 63.25 MB / 0.5115 GB, free: 6.699 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3693/0.4596, allocations: 92.73 MB / 0.602 GB, free: 1.191 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001676/0.4599, allocations: 64.47 kB / 0.6021 GB, free: 1.16 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04311/0.503, allocations: 15.68 MB / 0.6174 GB, free: 3.848 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.503, allocations: 3.938 kB / 0.6174 GB, free: 3.844 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.77e-05/0.5031, allocations: 27.92 kB / 0.6174 GB, free: 3.816 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.001924/0.505, allocations: 1.031 MB / 0.6184 GB, free: 2.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5051, allocations: 11.97 kB / 0.6184 GB, free: 2.773 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001067/0.5052, allocations: 93.52 kB / 0.6185 GB, free: 2.703 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000525/0.5057, allocations: 158.3 kB / 0.6187 GB, free: 2.551 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.5068, allocations: 0.5887 MB / 0.6192 GB, free: 2 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.101e-05/0.5069, allocations: 45.95 kB / 0.6193 GB, free: 1.973 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.024e-05/0.507, allocations: 53.47 kB / 0.6193 GB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008408/0.5078, allocations: 0.5844 MB / 0.6199 GB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.746e-05/0.5079, allocations: 0 / 0.6199 GB, free: 1.465 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.19e-05/0.5079, allocations: 18.5 kB / 0.6199 GB, free: 1.461 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.5079, allocations: 12 kB / 0.6199 GB, free: 1.449 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005807/0.5085, allocations: 360.8 kB / 0.6203 GB, free: 1.223 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002901/0.5114, allocations: 2.288 MB / 0.6225 GB, free: 15.23 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001439/0.5129, allocations: 0.7082 MB / 0.6232 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002836/0.5132, allocations: 195.4 kB / 0.6234 GB, free: 14.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.5132, allocations: 8 kB / 0.6234 GB, free: 14.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.5133, allocations: 53.8 kB / 0.6235 GB, free: 14.45 MB / 426.7 MB Notification: Performance of pre-optimization done (n=46): time 1.784e-06/0.5133, allocations: 0 / 0.6235 GB, free: 14.45 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007515/0.514, allocations: 429.3 kB / 0.6239 GB, free: 14.14 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.5141, allocations: 136.5 kB / 0.624 GB, free: 13.97 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000517/0.5146, allocations: 498.5 kB / 0.6245 GB, free: 13.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/0.5147, allocations: 35.58 kB / 0.6245 GB, free: 13.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002088/0.5149, allocations: 349.7 kB / 0.6248 GB, free: 13.34 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001299/0.515, allocations: 174 kB / 0.625 GB, free: 13.19 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.789e-05/0.5151, allocations: 14.31 kB / 0.625 GB, free: 13.18 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001508/0.5152, allocations: 376 kB / 0.6254 GB, free: 12.84 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002609/0.5155, allocations: 153.5 kB / 0.6255 GB, free: 12.75 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003305/0.5158, allocations: 259.9 kB / 0.6258 GB, free: 12.53 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.5161, allocations: 165 kB / 0.6259 GB, free: 12.43 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.5161, allocations: 4.031 kB / 0.6259 GB, free: 12.42 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007606/0.5169, allocations: 0.5052 MB / 0.6264 GB, free: 12.05 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003647/0.5173, allocations: 0.8857 MB / 0.6273 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.917e-06/0.5173, allocations: 4 kB / 0.6273 GB, free: 11.11 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.5173, allocations: 4 kB / 0.6273 GB, free: 11.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/0.5183, allocations: 209.2 kB / 0.6275 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.15e-05/0.5183, allocations: 4 kB / 0.6275 GB, free: 10.9 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000537/0.5188, allocations: 122.5 kB / 0.6276 GB, free: 10.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.224e-05/0.5189, allocations: 19.42 kB / 0.6276 GB, free: 10.77 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.296e-06/0.5189, allocations: 4 kB / 0.6276 GB, free: 10.77 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006178/0.5195, allocations: 419.6 kB / 0.628 GB, free: 10.49 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.5195, allocations: 11.89 kB / 0.6281 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.941e-06/0.5196, allocations: 4 kB / 0.6281 GB, free: 10.48 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007675/0.5203, allocations: 171.5 kB / 0.6282 GB, free: 10.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.5203, allocations: 7.984 kB / 0.6282 GB, free: 10.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004283/0.5208, allocations: 86.77 kB / 0.6283 GB, free: 10.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.5208, allocations: 15.5 kB / 0.6283 GB, free: 10.21 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 4 (PID2.I.local_reset,PID1.I.local_reset,limIntegrator2.local_reset,limIntegrator1.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (62): * Single equations (assignments): 62 * 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.0001429/0.521, allocations: 135.1 kB / 0.6285 GB, free: 10.09 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001498/0.5211, allocations: 71.06 kB / 0.6285 GB, free: 10.02 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001851/0.5213, allocations: 85.94 kB / 0.6286 GB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.169e-06/0.5213, allocations: 4 kB / 0.6286 GB, free: 9.969 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.5214, allocations: 8 kB / 0.6286 GB, free: 9.961 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.5214, allocations: 3.984 kB / 0.6286 GB, free: 9.957 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00152/0.5229, allocations: 1.152 MB / 0.6297 GB, free: 9.066 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.5229, allocations: 4 kB / 0.6297 GB, free: 9.062 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006875/0.5236, allocations: 155.2 kB / 0.6299 GB, free: 8.914 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.321e-06/0.5236, allocations: 4 kB / 0.6299 GB, free: 8.91 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.92e-05/0.5237, allocations: 22.86 kB / 0.6299 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5237, allocations: 0 / 0.6299 GB, free: 8.895 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.5237, allocations: 7.938 kB / 0.6299 GB, free: 8.887 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.5247, allocations: 0.86 MB / 0.6308 GB, free: 8.234 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001921/0.5249, allocations: 190.2 kB / 0.6309 GB, free: 8.055 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.602e-05/0.525, allocations: 11.25 kB / 0.631 GB, free: 8.051 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006894/0.5257, allocations: 91.3 kB / 0.631 GB, free: 7.965 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/0.5259, allocations: 42.36 kB / 0.6311 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-05/0.5259, allocations: 15.12 kB / 0.6311 GB, free: 7.918 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0006139/0.5266, allocations: 383.9 kB / 0.6315 GB, free: 7.633 MB / 426.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.5266, allocations: 0 / 0.6315 GB, free: 7.633 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000987/0.5276, allocations: 225.4 kB / 0.6317 GB, free: 7.434 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (slewRateLimiter1.y,slewRateLimiter2.y,limIntegrator1.y,limIntegrator2.y,PID1.I.y,PID1.D.x,PID2.I.y,PID2.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 46 * 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.001307/0.5289, allocations: 1.492 MB / 0.6331 GB, free: 6.148 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009528/0.5299, allocations: 0.6507 MB / 0.6338 GB, free: 5.707 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.5299, allocations: 0 / 0.6338 GB, free: 5.707 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002929/0.5302, allocations: 212 kB / 0.634 GB, free: 5.566 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007953/0.531, allocations: 174.6 kB / 0.6341 GB, free: 5.434 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/0.5336, allocations: 1.234 MB / 0.6353 GB, free: 4.285 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004113/0.5341, allocations: 0.9314 MB / 0.6363 GB, free: 3.324 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005588/0.5346, allocations: 139.6 kB / 0.6364 GB, free: 3.188 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002981/0.5349, allocations: 270.8 kB / 0.6367 GB, free: 3.117 MB / 426.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5349, allocations: 0 / 0.6367 GB, free: 3.117 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02682/0.5618, allocations: 14.47 MB / 0.6508 GB, free: 4.801 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/0.562, allocations: 145.7 kB / 0.6509 GB, free: 4.574 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.255/2.816, allocations: 0 / 0.6509 GB, free: 4.574 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat