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.001448/0.001448, allocations: 200.7 kB / 8.765 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.429/1.429, allocations: 225.6 MB / 234.8 MB, free: 3.293 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009286/0.0009283, allocations: 99.61 kB / 286.7 MB, free: 5.227 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.215/0.215, allocations: 45.15 MB / 383.8 MB, free: 316 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.854e-05/1.858e-05, allocations: 4 kB / 453.3 MB, free: 75.74 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.1179, allocations: 63.25 MB / 0.5045 GB, free: 12.55 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4544/0.5724, allocations: 92.07 MB / 0.5944 GB, free: 10.23 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002316/0.5727, allocations: 62.41 kB / 0.5944 GB, free: 10.2 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04513/0.6178, allocations: 15.58 MB / 0.6096 GB, free: 13.16 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.6179, allocations: 3.938 kB / 0.6096 GB, free: 13.16 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.416e-05/0.6179, allocations: 20 kB / 0.6097 GB, free: 13.14 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.002214/0.6202, allocations: 1.038 MB / 0.6107 GB, free: 12.11 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.6202, allocations: 8.031 kB / 0.6107 GB, free: 12.1 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006717/0.6209, allocations: 154.8 kB / 0.6108 GB, free: 11.95 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001228/0.6222, allocations: 0.5929 MB / 0.6114 GB, free: 11.39 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.138e-05/0.6222, allocations: 19.88 kB / 0.6114 GB, free: 11.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.962e-05/0.6223, allocations: 47.86 kB / 0.6115 GB, free: 11.33 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006525/0.623, allocations: 326.3 kB / 0.6118 GB, free: 11.14 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009195/0.6239, allocations: 0.5064 MB / 0.6123 GB, free: 10.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.261e-05/0.624, allocations: 3.938 kB / 0.6123 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.158e-05/0.624, allocations: 0.8438 kB / 0.6123 GB, free: 10.7 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.465e-05/0.624, allocations: 12 kB / 0.6123 GB, free: 10.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003131/0.6272, allocations: 2.203 MB / 0.6144 GB, free: 8.766 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00143/0.6286, allocations: 0.6895 MB / 0.6151 GB, free: 8.191 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002749/0.6289, allocations: 184.4 kB / 0.6153 GB, free: 8.078 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.962e-05/0.629, allocations: 8.062 kB / 0.6153 GB, free: 8.07 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.629, allocations: 50.42 kB / 0.6154 GB, free: 8.016 MB / 410.7 MB Notification: Performance of pre-optimization done (n=46): time 1.994e-06/0.629, allocations: 0 / 0.6154 GB, free: 8.016 MB / 410.7 MB Notification: Performance of matching and sorting (n=46): time 0.0007405/0.6298, allocations: 405.1 kB / 0.6157 GB, free: 7.719 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.169e-05/0.6299, allocations: 140.5 kB / 0.6159 GB, free: 7.551 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004761/0.6303, allocations: 449.7 kB / 0.6163 GB, free: 7.207 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.313e-05/0.6304, allocations: 25.7 kB / 0.6163 GB, free: 7.176 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.6307, allocations: 352.8 kB / 0.6167 GB, free: 6.961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.6308, allocations: 165.2 kB / 0.6168 GB, free: 6.816 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.701e-05/0.6308, allocations: 4 kB / 0.6168 GB, free: 6.812 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001822/0.631, allocations: 385.2 kB / 0.6172 GB, free: 6.457 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002286/0.6313, allocations: 148.1 kB / 0.6173 GB, free: 6.379 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003022/0.6316, allocations: 253.6 kB / 0.6176 GB, free: 6.168 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002381/0.6318, allocations: 153.6 kB / 0.6177 GB, free: 6.074 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6318, allocations: 0 / 0.6177 GB, free: 6.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.000697/0.6325, allocations: 491.1 kB / 0.6182 GB, free: 5.711 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003266/0.6329, allocations: 0.8788 MB / 0.619 GB, free: 4.781 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.266e-06/0.6329, allocations: 4 kB / 0.619 GB, free: 4.777 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.6329, allocations: 4.094 kB / 0.6191 GB, free: 4.773 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009507/0.6338, allocations: 202.4 kB / 0.6192 GB, free: 4.578 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.847e-06/0.6339, allocations: 8 kB / 0.6193 GB, free: 4.57 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005421/0.6344, allocations: 111.5 kB / 0.6194 GB, free: 4.461 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.42e-05/0.6345, allocations: 23.17 kB / 0.6194 GB, free: 4.441 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.097e-06/0.6345, allocations: 4 kB / 0.6194 GB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006039/0.6351, allocations: 356.1 kB / 0.6197 GB, free: 4.199 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.337e-06/0.6351, allocations: 4.25 kB / 0.6197 GB, free: 4.195 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.6351, allocations: 8 kB / 0.6197 GB, free: 4.188 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007791/0.6359, allocations: 170.1 kB / 0.6199 GB, free: 4.027 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/0.6359, allocations: 15.94 kB / 0.6199 GB, free: 4.012 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004316/0.6364, allocations: 79.58 kB / 0.62 GB, free: 3.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.6364, allocations: 14.69 kB / 0.62 GB, free: 3.922 MB / 410.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.0001625/0.6366, allocations: 116.4 kB / 0.6201 GB, free: 3.805 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006792/0.6373, allocations: 404.4 kB / 0.6205 GB, free: 3.504 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001228/0.6374, allocations: 71.16 kB / 0.6206 GB, free: 3.434 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001997/0.6376, allocations: 72.14 kB / 0.6206 GB, free: 3.395 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/0.6376, allocations: 8 kB / 0.6206 GB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.6376, allocations: 0 / 0.6206 GB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.216e-06/0.6377, allocations: 7.984 kB / 0.6207 GB, free: 3.379 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.6392, allocations: 1.06 MB / 0.6217 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.926e-06/0.6392, allocations: 0 / 0.6217 GB, free: 2.562 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000697/0.6399, allocations: 163.3 kB / 0.6218 GB, free: 2.406 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.186e-06/0.64, allocations: 4 kB / 0.6218 GB, free: 2.402 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.687e-05/0.64, allocations: 7.734 kB / 0.6219 GB, free: 2.398 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.64, allocations: 4 kB / 0.6219 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.64, allocations: 4 kB / 0.6219 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009995/0.641, allocations: 0.8127 MB / 0.6227 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.6412, allocations: 192.7 kB / 0.6228 GB, free: 1.594 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.52e-05/0.6413, allocations: 4 kB / 0.6228 GB, free: 1.59 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005539/0.6419, allocations: 87.92 kB / 0.6229 GB, free: 1.504 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.818e-05/0.642, allocations: 46.98 kB / 0.623 GB, free: 1.465 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.64e-05/0.642, allocations: 15.44 kB / 0.623 GB, free: 1.453 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003654/0.6424, allocations: 344.1 kB / 0.6233 GB, free: 1.199 MB / 410.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.6424, allocations: 0 / 0.6233 GB, free: 1.199 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000802/0.6432, allocations: 195.2 kB / 0.6235 GB, free: 1.008 MB / 410.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.001758/0.645, allocations: 1.45 MB / 0.6249 GB, free: 15.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001104/0.6461, allocations: 0.6149 MB / 0.6255 GB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.6461, allocations: 0 / 0.6255 GB, free: 15.34 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003169/0.6465, allocations: 207 kB / 0.6257 GB, free: 15.21 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009759/0.6474, allocations: 167.7 kB / 0.6259 GB, free: 15.08 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003218/0.6507, allocations: 1.207 MB / 0.6271 GB, free: 13.94 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005192/0.6512, allocations: 0.9388 MB / 0.628 GB, free: 12.97 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006287/0.6518, allocations: 134.9 kB / 0.6281 GB, free: 12.83 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003591/0.6522, allocations: 265 kB / 0.6284 GB, free: 12.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.082e-06/0.6522, allocations: 0 / 0.6284 GB, free: 12.77 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03515/0.6874, allocations: 13.5 MB / 0.6415 GB, free: 15.33 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001779/0.6876, allocations: 126.8 kB / 0.6417 GB, free: 15.13 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.382/3.07, allocations: 0 / 0.6417 GB, free: 15.13 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