Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001097/0.001097, allocations: 176.5 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.299/1.299, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009112/0.0009112, allocations: 102.8 kB / 292.1 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3867/0.3867, allocations: 44.22 MB / 387.5 MB, free: 38.77 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002953, allocations: 16 kB / 460 MB, free: 1.438 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3093, allocations: 61.89 MB / 0.5096 GB, free: 37.92 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.118/0.4274, allocations: 91.75 MB / 0.5992 GB, free: 3.363 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000231/0.4277, allocations: 75.92 kB / 0.5993 GB, free: 3.293 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04328/0.471, allocations: 15.74 MB / 0.6147 GB, free: 3.527 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.644e-06/0.471, allocations: 0 / 0.6147 GB, free: 3.527 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.425e-05/0.4711, allocations: 27.92 kB / 0.6147 GB, free: 3.5 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.0021/0.4732, allocations: 1.153 MB / 0.6158 GB, free: 2.297 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.4733, allocations: 12.02 kB / 0.6158 GB, free: 2.285 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001337/0.4734, allocations: 90.48 kB / 0.6159 GB, free: 2.188 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001535/0.4736, allocations: 94.88 kB / 0.616 GB, free: 2.094 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.4747, allocations: 0.5976 MB / 0.6166 GB, free: 1.453 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.821e-05/0.4747, allocations: 41 kB / 0.6166 GB, free: 1.41 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.593e-05/0.4748, allocations: 51.91 kB / 0.6167 GB, free: 1.359 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001344/0.4762, allocations: 0.7305 MB / 0.6174 GB, free: 0.5781 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/0.4762, allocations: 4 kB / 0.6174 GB, free: 0.5742 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.549e-05/0.4763, allocations: 27.95 kB / 0.6174 GB, free: 0.5469 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.4763, allocations: 12 kB / 0.6174 GB, free: 0.5352 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001343/0.4776, allocations: 0.6011 MB / 0.618 GB, free: 15.93 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002962/0.4806, allocations: 2.289 MB / 0.6203 GB, free: 13.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002538/0.4832, allocations: 1.054 MB / 0.6213 GB, free: 12.46 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.4832, allocations: 12.06 kB / 0.6213 GB, free: 12.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.4833, allocations: 38.5 kB / 0.6213 GB, free: 12.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 3.537e-06/0.4833, allocations: 4 kB / 0.6213 GB, free: 12.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.002415/0.4857, allocations: 1.029 MB / 0.6223 GB, free: 11.37 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.572e-05/0.4858, allocations: 136.5 kB / 0.6225 GB, free: 11.2 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005171/0.4863, allocations: 0.4918 MB / 0.623 GB, free: 10.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.4864, allocations: 37.7 kB / 0.623 GB, free: 10.66 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.4866, allocations: 356.8 kB / 0.6233 GB, free: 10.31 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000117/0.4867, allocations: 161.6 kB / 0.6235 GB, free: 10.15 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.88e-05/0.4867, allocations: 8 kB / 0.6235 GB, free: 10.14 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4869, allocations: 382.8 kB / 0.6239 GB, free: 9.758 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000779/0.4877, allocations: 316.9 kB / 0.6242 GB, free: 9.449 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008163/0.4885, allocations: 420.1 kB / 0.6246 GB, free: 9 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00075/0.4893, allocations: 332.6 kB / 0.6249 GB, free: 8.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.4893, allocations: 0 / 0.6249 GB, free: 8.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001861/0.4911, allocations: 0.823 MB / 0.6257 GB, free: 7.848 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003735/0.4915, allocations: 0.8809 MB / 0.6265 GB, free: 6.902 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.4916, allocations: 4 kB / 0.6266 GB, free: 6.898 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.586e-05/0.4916, allocations: 7.938 kB / 0.6266 GB, free: 6.891 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009571/0.4925, allocations: 203.8 kB / 0.6268 GB, free: 6.691 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.379e-05/0.4926, allocations: 7.938 kB / 0.6268 GB, free: 6.684 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006135/0.4932, allocations: 123.5 kB / 0.6269 GB, free: 6.562 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.516e-05/0.4933, allocations: 19.98 kB / 0.6269 GB, free: 6.543 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.508e-06/0.4933, allocations: 4 kB / 0.6269 GB, free: 6.539 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001215/0.4945, allocations: 0.5997 MB / 0.6275 GB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.4945, allocations: 0 / 0.6275 GB, free: 5.938 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.712e-06/0.4945, allocations: 4 kB / 0.6275 GB, free: 5.934 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007829/0.4953, allocations: 175.9 kB / 0.6277 GB, free: 5.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.4953, allocations: 4 kB / 0.6277 GB, free: 5.758 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004559/0.4958, allocations: 87.92 kB / 0.6277 GB, free: 5.672 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.4958, allocations: 19.94 kB / 0.6278 GB, free: 5.652 MB / 442.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 () * Number of clocked 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.00037/0.4962, allocations: 277.4 kB / 0.628 GB, free: 5.371 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001316/0.4963, allocations: 79.05 kB / 0.6281 GB, free: 5.293 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001644/0.4965, allocations: 74.97 kB / 0.6282 GB, free: 5.215 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.4e-06/0.4965, allocations: 8 kB / 0.6282 GB, free: 5.207 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4965, allocations: 4 kB / 0.6282 GB, free: 5.203 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.4966, allocations: 3.984 kB / 0.6282 GB, free: 5.199 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002372/0.4989, allocations: 1.397 MB / 0.6296 GB, free: 3.746 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.4989, allocations: 3.984 kB / 0.6296 GB, free: 3.742 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007051/0.4997, allocations: 151.8 kB / 0.6297 GB, free: 3.594 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.061e-06/0.4997, allocations: 0 / 0.6297 GB, free: 3.594 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.387e-05/0.4997, allocations: 15.98 kB / 0.6297 GB, free: 3.578 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.68e-06/0.4997, allocations: 7.953 kB / 0.6297 GB, free: 3.57 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.4997, allocations: 0 / 0.6297 GB, free: 3.57 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002505/0.5023, allocations: 1.313 MB / 0.631 GB, free: 2.23 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002604/0.5025, allocations: 196 kB / 0.6312 GB, free: 2.02 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.794e-05/0.5026, allocations: 11.94 kB / 0.6312 GB, free: 2.008 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005867/0.5032, allocations: 99.86 kB / 0.6313 GB, free: 1.91 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.5033, allocations: 39.94 kB / 0.6313 GB, free: 1.871 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.74e-05/0.5034, allocations: 19.98 kB / 0.6314 GB, free: 1.852 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004382/0.5038, allocations: 387.1 kB / 0.6317 GB, free: 1.48 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5039, allocations: 4 kB / 0.6317 GB, free: 1.477 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007047/0.5046, allocations: 231.2 kB / 0.632 GB, free: 1.25 MB / 442.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 () * Number of clocked 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.002851/0.5074, allocations: 1.941 MB / 0.6338 GB, free: 15.28 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002385/0.5098, allocations: 1.04 MB / 0.6349 GB, free: 14.24 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.409e-06/0.5098, allocations: 4 kB / 0.6349 GB, free: 14.23 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008391/0.5107, allocations: 371.6 kB / 0.6352 GB, free: 13.87 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.5118, allocations: 172.4 kB / 0.6354 GB, free: 13.7 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008582/0.5204, allocations: 5.991 MB / 0.6412 GB, free: 7.617 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.5209, allocations: 0.9339 MB / 0.6421 GB, free: 6.652 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0005709/0.5215, allocations: 97.02 kB / 0.6422 GB, free: 6.555 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/0.5219, allocations: 271.3 kB / 0.6425 GB, free: 6.289 MB / 458.7 MB Notification: Performance of SimCode: time 1.002e-06/0.5219, allocations: 0 / 0.6425 GB, free: 6.289 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.5483, allocations: 13.42 MB / 0.6556 GB, free: 9.062 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/0.5485, allocations: 161.2 kB / 0.6558 GB, free: 8.828 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.183/2.731, allocations: 0 / 0.6558 GB, free: 8.828 MB / 474.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat