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.001437/0.001437, allocations: 180.5 kB / 14.15 MB, free: 1.176 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.508/1.508, allocations: 221.4 MB / 236 MB, free: 3 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.001007/0.001007, allocations: 102.4 kB / 287 MB, free: 272 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2211/0.2211, allocations: 44.16 MB / 382 MB, free: 14.71 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.916e-05/3.919e-05, allocations: 224 / 451.9 MB, free: 9.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1544, allocations: 61.93 MB / 0.5018 GB, free: 11.38 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4782/0.6326, allocations: 91.67 MB / 0.5913 GB, free: 13.6 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.6329, allocations: 67.97 kB / 0.5914 GB, free: 13.53 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04682/0.6798, allocations: 15.71 MB / 0.6067 GB, free: 13.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.834e-06/0.6798, allocations: 0 / 0.6067 GB, free: 13.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 6.481e-05/0.6799, allocations: 20 kB / 0.6067 GB, free: 13.79 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.002085/0.682, allocations: 1.036 MB / 0.6078 GB, free: 12.7 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.157e-05/0.6821, allocations: 12.03 kB / 0.6078 GB, free: 12.69 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001195/0.6822, allocations: 94.41 kB / 0.6079 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000175/0.6824, allocations: 94.88 kB / 0.6079 GB, free: 12.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.6836, allocations: 0.5937 MB / 0.6085 GB, free: 11.86 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.939e-05/0.6836, allocations: 40.94 kB / 0.6086 GB, free: 11.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.273e-05/0.6837, allocations: 59.89 kB / 0.6086 GB, free: 11.76 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009702/0.6847, allocations: 0.5629 MB / 0.6092 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.895e-05/0.6847, allocations: 3.938 kB / 0.6092 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.487e-05/0.6848, allocations: 27.95 kB / 0.6092 GB, free: 11.11 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/0.6848, allocations: 12 kB / 0.6092 GB, free: 11.1 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006496/0.6855, allocations: 367.8 kB / 0.6096 GB, free: 10.74 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003273/0.6888, allocations: 2.282 MB / 0.6118 GB, free: 8.375 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001599/0.6904, allocations: 0.7111 MB / 0.6125 GB, free: 7.621 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003219/0.6907, allocations: 197.6 kB / 0.6127 GB, free: 7.422 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.688e-05/0.6908, allocations: 8.062 kB / 0.6127 GB, free: 7.414 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.777e-05/0.6908, allocations: 42.5 kB / 0.6127 GB, free: 7.363 MB / 426.7 MB Notification: Performance of pre-optimization done (n=46): time 2.154e-06/0.6908, allocations: 0 / 0.6127 GB, free: 7.363 MB / 426.7 MB Notification: Performance of matching and sorting (n=46): time 0.0008373/0.6917, allocations: 433.6 kB / 0.6131 GB, free: 6.934 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.736e-05/0.6918, allocations: 144.5 kB / 0.6133 GB, free: 6.762 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005997/0.6924, allocations: 491.8 kB / 0.6137 GB, free: 6.273 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.6924, allocations: 33.7 kB / 0.6138 GB, free: 6.234 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002801/0.6927, allocations: 356.8 kB / 0.6141 GB, free: 5.883 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001507/0.6929, allocations: 157.6 kB / 0.6143 GB, free: 5.727 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.158e-05/0.6929, allocations: 12 kB / 0.6143 GB, free: 5.715 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001942/0.6931, allocations: 386.7 kB / 0.6147 GB, free: 5.328 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002966/0.6934, allocations: 157.1 kB / 0.6148 GB, free: 5.176 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003831/0.6938, allocations: 256.3 kB / 0.615 GB, free: 4.887 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.6941, allocations: 169.8 kB / 0.6152 GB, free: 4.723 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.6942, allocations: 0 / 0.6152 GB, free: 4.723 MB / 426.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.0008802/0.695, allocations: 0.511 MB / 0.6157 GB, free: 4.203 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004431/0.6955, allocations: 0.8834 MB / 0.6166 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.002e-05/0.6955, allocations: 4 kB / 0.6166 GB, free: 3.25 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.6955, allocations: 4 kB / 0.6166 GB, free: 3.246 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001054/0.6966, allocations: 199.8 kB / 0.6168 GB, free: 3.051 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.762e-05/0.6966, allocations: 15.92 kB / 0.6168 GB, free: 3.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005924/0.6972, allocations: 123.5 kB / 0.6169 GB, free: 2.914 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.6973, allocations: 20 kB / 0.6169 GB, free: 2.895 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.6973, allocations: 4 kB / 0.6169 GB, free: 2.891 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006934/0.698, allocations: 406.2 kB / 0.6173 GB, free: 2.492 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.905e-06/0.698, allocations: 0 / 0.6173 GB, free: 2.492 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.081e-06/0.698, allocations: 4 kB / 0.6173 GB, free: 2.488 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008222/0.6989, allocations: 176 kB / 0.6175 GB, free: 2.316 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.6989, allocations: 4 kB / 0.6175 GB, free: 2.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004552/0.6993, allocations: 87.64 kB / 0.6176 GB, free: 2.227 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.818e-05/0.6994, allocations: 23.94 kB / 0.6176 GB, free: 2.203 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.000186/0.6996, allocations: 138.8 kB / 0.6177 GB, free: 2.062 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/0.6997, allocations: 79 kB / 0.6178 GB, free: 1.984 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002231/0.6999, allocations: 78.75 kB / 0.6179 GB, free: 1.902 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.7, allocations: 4 kB / 0.6179 GB, free: 1.898 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.505e-06/0.7, allocations: 3.938 kB / 0.6179 GB, free: 1.895 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.256e-06/0.7, allocations: 3.984 kB / 0.6179 GB, free: 1.891 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001787/0.7018, allocations: 1.154 MB / 0.619 GB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.396e-06/0.7018, allocations: 4 kB / 0.619 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007227/0.7025, allocations: 155.8 kB / 0.6192 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.491e-06/0.7025, allocations: 0 / 0.6192 GB, free: 0.5234 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.673e-05/0.7026, allocations: 15.98 kB / 0.6192 GB, free: 0.5078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.312e-06/0.7026, allocations: 7.953 kB / 0.6192 GB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.7026, allocations: 0 / 0.6192 GB, free: 0.5 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001145/0.7038, allocations: 0.8519 MB / 0.62 GB, free: 15.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002355/0.704, allocations: 192 kB / 0.6202 GB, free: 15.42 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.911e-05/0.7041, allocations: 19.95 kB / 0.6202 GB, free: 15.4 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006074/0.7047, allocations: 99.91 kB / 0.6203 GB, free: 15.3 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.7048, allocations: 35.94 kB / 0.6204 GB, free: 15.27 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.71e-05/0.7049, allocations: 15.98 kB / 0.6204 GB, free: 15.25 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0004587/0.7053, allocations: 387.2 kB / 0.6207 GB, free: 14.88 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/0.7054, allocations: 0 / 0.6207 GB, free: 14.88 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0007299/0.7061, allocations: 231.3 kB / 0.621 GB, free: 14.65 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 () * 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.001623/0.7077, allocations: 1.478 MB / 0.6224 GB, free: 13.14 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.709, allocations: 0.6533 MB / 0.623 GB, free: 12.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.7091, allocations: 3.938 kB / 0.623 GB, free: 12.48 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003465/0.7094, allocations: 208.1 kB / 0.6232 GB, free: 12.28 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009626/0.7104, allocations: 170.1 kB / 0.6234 GB, free: 12.12 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003185/0.7136, allocations: 1.252 MB / 0.6246 GB, free: 10.82 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005885/0.7142, allocations: 0.9353 MB / 0.6255 GB, free: 9.855 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006613/0.7149, allocations: 139.4 kB / 0.6257 GB, free: 9.719 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004148/0.7153, allocations: 263.3 kB / 0.6259 GB, free: 9.461 MB / 442.7 MB Notification: Performance of SimCode: time 7.72e-07/0.7153, allocations: 3.938 kB / 0.6259 GB, free: 9.457 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03285/0.7481, allocations: 14.49 MB / 0.6401 GB, free: 11.11 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003158/0.7485, allocations: 143.5 kB / 0.6402 GB, free: 10.88 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.261, allocations: 0 / 0.6402 GB, free: 10.88 MB / 458.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