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.001012/0.001012, allocations: 170.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.426/1.426, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009498/0.0009496, allocations: 92.47 kB / 281.6 MB, free: 5.324 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.2089/0.2089, allocations: 44.14 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.777e-05/1.78e-05, allocations: 4.219 kB / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1267, allocations: 61.91 MB / 0.4948 GB, free: 1.168 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4106/0.5373, allocations: 91.02 MB / 0.5836 GB, free: 5.34 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.5376, allocations: 63.97 kB / 0.5837 GB, free: 5.277 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04466/0.5823, allocations: 15.59 MB / 0.5989 GB, free: 5.664 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5823, allocations: 0 / 0.5989 GB, free: 5.664 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.935e-05/0.5824, allocations: 35.86 kB / 0.599 GB, free: 5.629 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.001881/0.5843, allocations: 1.033 MB / 0.6 GB, free: 4.551 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/0.5843, allocations: 15.98 kB / 0.6 GB, free: 4.535 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001669/0.5845, allocations: 102.8 kB / 0.6001 GB, free: 4.434 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001139/0.5857, allocations: 0.594 MB / 0.6007 GB, free: 3.801 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.49e-05/0.5857, allocations: 16 kB / 0.6007 GB, free: 3.785 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.533e-05/0.5858, allocations: 39.91 kB / 0.6007 GB, free: 3.746 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006103/0.5864, allocations: 326.6 kB / 0.601 GB, free: 3.426 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000775/0.5872, allocations: 0.5141 MB / 0.6015 GB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.5872, allocations: 0 / 0.6015 GB, free: 2.859 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.015e-05/0.5873, allocations: 3.953 kB / 0.6015 GB, free: 2.855 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.5873, allocations: 12 kB / 0.6016 GB, free: 2.844 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002982/0.5903, allocations: 2.199 MB / 0.6037 GB, free: 0.5703 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/0.5918, allocations: 0.6836 MB / 0.6044 GB, free: 15.84 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002833/0.5921, allocations: 189.6 kB / 0.6045 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.435e-05/0.5921, allocations: 4 kB / 0.6046 GB, free: 15.65 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.864e-05/0.5922, allocations: 42.55 kB / 0.6046 GB, free: 15.6 MB / 426.7 MB Notification: Performance of pre-optimization done (n=46): time 1.903e-06/0.5922, allocations: 4 kB / 0.6046 GB, free: 15.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007451/0.5929, allocations: 409.7 kB / 0.605 GB, free: 15.19 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.552e-05/0.593, allocations: 136.5 kB / 0.6051 GB, free: 15.02 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005126/0.5935, allocations: 451.8 kB / 0.6055 GB, free: 14.58 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.157e-05/0.5936, allocations: 25.7 kB / 0.6056 GB, free: 14.55 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002485/0.5938, allocations: 356.7 kB / 0.6059 GB, free: 14.19 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001334/0.594, allocations: 161.6 kB / 0.6061 GB, free: 14.03 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.635e-05/0.594, allocations: 0 / 0.6061 GB, free: 14.03 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001676/0.5942, allocations: 382.8 kB / 0.6064 GB, free: 13.65 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002398/0.5944, allocations: 149.1 kB / 0.6066 GB, free: 13.5 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003285/0.5948, allocations: 243.2 kB / 0.6068 GB, free: 13.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002667/0.595, allocations: 160.7 kB / 0.607 GB, free: 13.07 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.5951, allocations: 0 / 0.607 GB, free: 13.07 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0007505/0.5958, allocations: 495.2 kB / 0.6074 GB, free: 12.58 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000369/0.5962, allocations: 0.8752 MB / 0.6083 GB, free: 11.64 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.5962, allocations: 7.953 kB / 0.6083 GB, free: 11.63 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.5962, allocations: 4 kB / 0.6083 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009745/0.5972, allocations: 199.8 kB / 0.6085 GB, free: 11.43 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.5972, allocations: 7.938 kB / 0.6085 GB, free: 11.42 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006042/0.5979, allocations: 115.5 kB / 0.6086 GB, free: 11.31 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.589e-05/0.5979, allocations: 23.98 kB / 0.6086 GB, free: 11.29 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.025e-06/0.5979, allocations: 4 kB / 0.6086 GB, free: 11.28 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005711/0.5985, allocations: 358.2 kB / 0.609 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.086e-06/0.5985, allocations: 0 / 0.609 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.864e-06/0.5985, allocations: 8.25 kB / 0.609 GB, free: 10.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007757/0.5993, allocations: 167.8 kB / 0.6091 GB, free: 10.76 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.5993, allocations: 15.92 kB / 0.6092 GB, free: 10.75 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004034/0.5997, allocations: 75.64 kB / 0.6092 GB, free: 10.67 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.5998, allocations: 20 kB / 0.6092 GB, free: 10.65 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.0001441/0.5999, allocations: 120.9 kB / 0.6094 GB, free: 10.53 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006643/0.6006, allocations: 405.3 kB / 0.6097 GB, free: 10.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001122/0.6007, allocations: 71.16 kB / 0.6098 GB, free: 10.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001694/0.6009, allocations: 70.88 kB / 0.6099 GB, free: 9.984 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.965e-06/0.6009, allocations: 8 kB / 0.6099 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.6009, allocations: 0 / 0.6099 GB, free: 9.977 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/0.6009, allocations: 3.984 kB / 0.6099 GB, free: 9.973 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001617/0.6026, allocations: 1.065 MB / 0.6109 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6026, allocations: 0 / 0.6109 GB, free: 8.863 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007269/0.6033, allocations: 159.8 kB / 0.6111 GB, free: 8.707 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.234e-06/0.6033, allocations: 4 kB / 0.6111 GB, free: 8.703 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.568e-05/0.6034, allocations: 3.984 kB / 0.6111 GB, free: 8.699 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.062e-06/0.6034, allocations: 7.953 kB / 0.6111 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.6034, allocations: 0 / 0.6111 GB, free: 8.691 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001102/0.6045, allocations: 0.8172 MB / 0.6119 GB, free: 7.848 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002208/0.6047, allocations: 184.1 kB / 0.6121 GB, free: 7.648 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.42e-05/0.6048, allocations: 7.953 kB / 0.6121 GB, free: 7.641 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005721/0.6054, allocations: 83.92 kB / 0.6122 GB, free: 7.559 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.6055, allocations: 47.92 kB / 0.6122 GB, free: 7.512 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.324e-05/0.6056, allocations: 16 kB / 0.6122 GB, free: 7.496 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003817/0.6059, allocations: 343.2 kB / 0.6126 GB, free: 7.164 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.606, allocations: 0 / 0.6126 GB, free: 7.164 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007017/0.6067, allocations: 199.2 kB / 0.6127 GB, free: 6.969 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.001484/0.6082, allocations: 1.455 MB / 0.6142 GB, free: 5.48 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001032/0.6092, allocations: 0.6086 MB / 0.6148 GB, free: 4.871 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6092, allocations: 0 / 0.6148 GB, free: 4.871 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003291/0.6095, allocations: 208.8 kB / 0.615 GB, free: 4.668 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009216/0.6105, allocations: 179.4 kB / 0.6151 GB, free: 4.5 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003381/0.6139, allocations: 1.212 MB / 0.6163 GB, free: 3.242 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005302/0.6144, allocations: 0.9349 MB / 0.6172 GB, free: 2.277 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006066/0.615, allocations: 135 kB / 0.6174 GB, free: 2.141 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003802/0.6154, allocations: 263.3 kB / 0.6176 GB, free: 1.883 MB / 426.7 MB Notification: Performance of SimCode: time 5.51e-07/0.6154, allocations: 0 / 0.6176 GB, free: 1.883 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03755/0.653, allocations: 13.52 MB / 0.6308 GB, free: 4.445 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.6532, allocations: 123 kB / 0.6309 GB, free: 4.254 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/3.099, allocations: 0 / 0.6309 GB, free: 4.254 MB / 442.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