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.001645/0.001645, allocations: 202 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.629/1.629, allocations: 227.2 MB / 245 MB, free: 5.891 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009292/0.0009292, allocations: 97.34 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4116/0.4116, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003137/0.0003138, allocations: 8 kB / 468.5 MB, free: 7.617 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3756/0.376, allocations: 63.25 MB / 0.5193 GB, free: 37.25 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1421/0.5181, allocations: 92.8 MB / 0.6099 GB, free: 10.61 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002351/0.5184, allocations: 79.92 kB / 0.61 GB, free: 10.54 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04388/0.5623, allocations: 15.72 MB / 0.6253 GB, free: 10.79 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.5623, allocations: 0 / 0.6253 GB, free: 10.79 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.745e-05/0.5624, allocations: 20 kB / 0.6253 GB, free: 10.77 MB / 442.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.002339/0.5647, allocations: 1.155 MB / 0.6265 GB, free: 9.562 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.5648, allocations: 8.031 kB / 0.6265 GB, free: 9.555 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001293/0.5649, allocations: 94.52 kB / 0.6266 GB, free: 9.453 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000531/0.5655, allocations: 154.8 kB / 0.6267 GB, free: 9.301 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.5667, allocations: 0.5936 MB / 0.6273 GB, free: 8.664 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.051e-05/0.5667, allocations: 44.95 kB / 0.6273 GB, free: 8.617 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-05/0.5668, allocations: 59.89 kB / 0.6274 GB, free: 8.559 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001455/0.5683, allocations: 0.7228 MB / 0.6281 GB, free: 7.789 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.416e-05/0.5683, allocations: 3.938 kB / 0.6281 GB, free: 7.785 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001127/0.5684, allocations: 24 kB / 0.6281 GB, free: 7.762 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.823e-05/0.5685, allocations: 12 kB / 0.6281 GB, free: 7.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.5699, allocations: 0.6011 MB / 0.6287 GB, free: 7.145 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.5731, allocations: 2.297 MB / 0.631 GB, free: 4.766 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002631/0.5757, allocations: 1.054 MB / 0.632 GB, free: 3.668 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.076e-05/0.5758, allocations: 8.062 kB / 0.632 GB, free: 3.66 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.478e-05/0.5758, allocations: 38.56 kB / 0.632 GB, free: 3.613 MB / 442.7 MB Notification: Performance of pre-optimization done (n=46): time 2.114e-06/0.5758, allocations: 0 / 0.632 GB, free: 3.613 MB / 442.7 MB Notification: Performance of matching and sorting (n=46): time 0.002654/0.5785, allocations: 1.028 MB / 0.633 GB, free: 2.578 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.5786, allocations: 144.5 kB / 0.6332 GB, free: 2.406 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006445/0.5793, allocations: 495.6 kB / 0.6337 GB, free: 1.914 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.818e-05/0.5793, allocations: 41.7 kB / 0.6337 GB, free: 1.867 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003289/0.5797, allocations: 356.8 kB / 0.634 GB, free: 1.516 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.5798, allocations: 165.5 kB / 0.6342 GB, free: 1.352 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.5799, allocations: 8 kB / 0.6342 GB, free: 1.344 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.00022/0.5801, allocations: 378.8 kB / 0.6346 GB, free: 0.9648 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000813/0.5809, allocations: 320.8 kB / 0.6349 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009577/0.5819, allocations: 424.1 kB / 0.6353 GB, free: 204 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008644/0.5828, allocations: 324.8 kB / 0.6356 GB, free: 15.88 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.736e-06/0.5828, allocations: 0 / 0.6356 GB, free: 15.88 MB / 458.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001866/0.5847, allocations: 0.8269 MB / 0.6364 GB, free: 15.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005087/0.5852, allocations: 0.8792 MB / 0.6372 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/0.5852, allocations: 0 / 0.6372 GB, free: 14.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.657e-05/0.5852, allocations: 8 kB / 0.6373 GB, free: 14.09 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000997/0.5862, allocations: 203.7 kB / 0.6375 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.249e-05/0.5863, allocations: 4 kB / 0.6375 GB, free: 13.89 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006009/0.5869, allocations: 119.5 kB / 0.6376 GB, free: 13.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.654e-05/0.5869, allocations: 23.98 kB / 0.6376 GB, free: 13.75 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.5869, allocations: 4 kB / 0.6376 GB, free: 13.74 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001321/0.5883, allocations: 0.5959 MB / 0.6382 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.5883, allocations: 7.938 kB / 0.6382 GB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.484e-06/0.5883, allocations: 8 kB / 0.6382 GB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008298/0.5891, allocations: 176 kB / 0.6384 GB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.459e-05/0.5892, allocations: 7.938 kB / 0.6384 GB, free: 12.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004745/0.5897, allocations: 91.55 kB / 0.6385 GB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.975e-05/0.5897, allocations: 19.98 kB / 0.6385 GB, free: 12.84 MB / 458.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.00048/0.5902, allocations: 272.9 kB / 0.6387 GB, free: 12.56 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001723/0.5904, allocations: 67.16 kB / 0.6388 GB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002908/0.5907, allocations: 82.92 kB / 0.6389 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.995e-06/0.5907, allocations: 4 kB / 0.6389 GB, free: 12.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.197e-05/0.5907, allocations: 4 kB / 0.6389 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.937e-06/0.5907, allocations: 3.984 kB / 0.6389 GB, free: 12.4 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003077/0.5938, allocations: 1.406 MB / 0.6403 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.5938, allocations: 0 / 0.6403 GB, free: 10.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007265/0.5946, allocations: 159.8 kB / 0.6404 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.39e-06/0.5946, allocations: 4 kB / 0.6404 GB, free: 10.78 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/0.5946, allocations: 12 kB / 0.6404 GB, free: 10.77 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.5946, allocations: 4 kB / 0.6404 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/0.5947, allocations: 3.984 kB / 0.6404 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002875/0.5975, allocations: 1.305 MB / 0.6417 GB, free: 9.43 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.5978, allocations: 196 kB / 0.6419 GB, free: 9.219 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.43e-05/0.5979, allocations: 8 kB / 0.6419 GB, free: 9.211 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005943/0.5985, allocations: 95.92 kB / 0.642 GB, free: 9.117 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.5987, allocations: 35.94 kB / 0.642 GB, free: 9.082 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.892e-05/0.5987, allocations: 15.98 kB / 0.642 GB, free: 9.066 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000547/0.5993, allocations: 391.1 kB / 0.6424 GB, free: 8.691 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5993, allocations: 3.938 kB / 0.6424 GB, free: 8.688 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008016/0.6001, allocations: 231.2 kB / 0.6426 GB, free: 8.461 MB / 458.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.003868/0.604, allocations: 1.951 MB / 0.6446 GB, free: 6.477 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003217/0.6072, allocations: 1.04 MB / 0.6456 GB, free: 5.434 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6072, allocations: 0 / 0.6456 GB, free: 5.434 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008702/0.6081, allocations: 363.7 kB / 0.6459 GB, free: 5.078 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009924/0.6091, allocations: 169.8 kB / 0.6461 GB, free: 4.914 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/0.62, allocations: 5.994 MB / 0.6519 GB, free: 14.82 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007404/0.6208, allocations: 0.93 MB / 0.6528 GB, free: 13.86 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005719/0.6214, allocations: 93.03 kB / 0.6529 GB, free: 13.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005139/0.6219, allocations: 271.3 kB / 0.6532 GB, free: 13.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.302e-06/0.6219, allocations: 0 / 0.6532 GB, free: 13.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03609/0.658, allocations: 13.41 MB / 0.6663 GB, free: 256 kB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003026/0.6584, allocations: 172.5 kB / 0.6664 GB, free: 4 kB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.405/3.064, allocations: 0 / 0.6664 GB, free: 4 kB / 474.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