Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Limiters,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_Limiters",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001076/0.001076, allocations: 184.6 kB / 8.008 MB, free: 1.039 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.642/1.642, allocations: 205.3 MB / 213.7 MB, free: 13.7 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00132/0.00132, allocations: 96.64 kB / 261.7 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2313/0.2313, allocations: 43.49 MB / 353.2 MB, free: 1.836 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.898e-05/1.9e-05, allocations: 0 / 418.4 MB, free: 40.14 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3593, allocations: 58.85 MB / 477.2 MB, free: 5.176 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.4911, allocations: 86.81 MB / 0.5508 GB, free: 11.91 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.4915, allocations: 71.47 kB / 0.5509 GB, free: 11.84 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01372/0.5052, allocations: 4.56 MB / 0.5553 GB, free: 7.285 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5053, allocations: 0 / 0.5553 GB, free: 7.285 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.821e-05/0.5053, allocations: 4 kB / 0.5553 GB, free: 7.281 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006359/0.5059, allocations: 446.1 kB / 0.5557 GB, free: 6.801 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.506, allocations: 12.03 kB / 0.5558 GB, free: 6.789 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.122e-05/0.506, allocations: 15.81 kB / 0.5558 GB, free: 6.773 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003514/0.5064, allocations: 229.6 kB / 0.556 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.5064, allocations: 0 / 0.556 GB, free: 6.512 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.072e-05/0.5065, allocations: 8 kB / 0.556 GB, free: 6.504 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001554/0.5066, allocations: 59.89 kB / 0.5561 GB, free: 6.445 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002221/0.5069, allocations: 116.2 kB / 0.5562 GB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/0.5069, allocations: 3.984 kB / 0.5562 GB, free: 6.312 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.5069, allocations: 4 kB / 0.5562 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.5069, allocations: 0 / 0.5562 GB, free: 6.309 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008181/0.5077, allocations: 432.8 kB / 0.5566 GB, free: 5.848 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004643/0.5082, allocations: 166.6 kB / 0.5567 GB, free: 5.676 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.502e-05/0.5083, allocations: 32.86 kB / 0.5568 GB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.953e-05/0.5083, allocations: 8.094 kB / 0.5568 GB, free: 5.633 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.411e-05/0.5084, allocations: 34.56 kB / 0.5568 GB, free: 5.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.5084, allocations: 0 / 0.5568 GB, free: 5.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0002247/0.5086, allocations: 81.75 kB / 0.5569 GB, free: 5.504 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.784e-05/0.5087, allocations: 106.8 kB / 0.557 GB, free: 5.375 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001267/0.5088, allocations: 137.3 kB / 0.5571 GB, free: 5.234 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.335e-05/0.5088, allocations: 25.7 kB / 0.5571 GB, free: 5.203 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.703e-05/0.5089, allocations: 112 kB / 0.5573 GB, free: 5.09 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.306e-05/0.509, allocations: 23.62 kB / 0.5573 GB, free: 5.066 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.073e-06/0.509, allocations: 0 / 0.5573 GB, free: 5.066 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.5091, allocations: 324 kB / 0.5576 GB, free: 4.742 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.57e-05/0.5092, allocations: 27.88 kB / 0.5576 GB, free: 4.715 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.513e-05/0.5093, allocations: 50.56 kB / 0.5577 GB, free: 4.656 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.966e-05/0.5093, allocations: 23.98 kB / 0.5577 GB, free: 4.633 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5093, allocations: 0 / 0.5577 GB, free: 4.633 MB / 394.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001493/0.5095, allocations: 89.58 kB / 0.5578 GB, free: 4.539 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.485e-05/0.5096, allocations: 101 kB / 0.5579 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.561e-06/0.5096, allocations: 0 / 0.5579 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5096, allocations: 32 / 0.5579 GB, free: 4.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001724/0.5098, allocations: 43.97 kB / 0.5579 GB, free: 4.391 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.802e-06/0.5098, allocations: 3.938 kB / 0.5579 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.5099, allocations: 39.91 kB / 0.5579 GB, free: 4.348 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.51, allocations: 7.984 kB / 0.558 GB, free: 4.34 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.344e-06/0.51, allocations: 4 kB / 0.558 GB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 7.719e-05/0.51, allocations: 36 kB / 0.558 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.92e-07/0.5101, allocations: 0 / 0.558 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-06/0.5101, allocations: 0 / 0.558 GB, free: 4.301 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.615e-05/0.5102, allocations: 19.98 kB / 0.558 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.5102, allocations: 3.984 kB / 0.558 GB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.973e-05/0.5103, allocations: 19.95 kB / 0.558 GB, free: 4.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.568e-06/0.5103, allocations: 3.938 kB / 0.558 GB, free: 4.254 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 8.234e-05/0.5104, allocations: 112.9 kB / 0.5581 GB, free: 4.137 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000146/0.5105, allocations: 85.89 kB / 0.5582 GB, free: 4.047 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.374e-05/0.5105, allocations: 11.91 kB / 0.5582 GB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.986e-05/0.5106, allocations: 8.625 kB / 0.5583 GB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.641e-06/0.5106, allocations: 7.953 kB / 0.5583 GB, free: 4.023 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.5106, allocations: 4 kB / 0.5583 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.5106, allocations: 0 / 0.5583 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002081/0.5108, allocations: 198.1 kB / 0.5585 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.5108, allocations: 0 / 0.5585 GB, free: 3.789 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001664/0.511, allocations: 35.97 kB / 0.5585 GB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.511, allocations: 0 / 0.5585 GB, free: 3.754 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.305e-05/0.5111, allocations: 11.98 kB / 0.5585 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5111, allocations: 0 / 0.5585 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5111, allocations: 0 / 0.5585 GB, free: 3.742 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002436/0.5113, allocations: 223.3 kB / 0.5587 GB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.077e-05/0.5114, allocations: 85.05 kB / 0.5588 GB, free: 3.406 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.487e-05/0.5114, allocations: 3.984 kB / 0.5588 GB, free: 3.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002701/0.5117, allocations: 52.02 kB / 0.5588 GB, free: 3.352 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.205e-05/0.5117, allocations: 4 kB / 0.5588 GB, free: 3.348 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.5117, allocations: 7.984 kB / 0.5589 GB, free: 3.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 6.645e-05/0.5118, allocations: 116.1 kB / 0.559 GB, free: 3.227 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5118, allocations: 4 kB / 0.559 GB, free: 3.223 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003173/0.5121, allocations: 43.73 kB / 0.559 GB, free: 3.18 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (slewRateLimiter.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0005523/0.5127, allocations: 0.7514 MB / 0.5597 GB, free: 2.398 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.5129, allocations: 80.78 kB / 0.5598 GB, free: 2.32 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.5129, allocations: 64 / 0.5598 GB, free: 2.32 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.444e-05/0.513, allocations: 35.92 kB / 0.5599 GB, free: 2.285 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003333/0.5133, allocations: 27.64 kB / 0.5599 GB, free: 2.262 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005442/0.5139, allocations: 200.5 kB / 0.5601 GB, free: 2.023 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003149/0.5142, allocations: 0.7087 MB / 0.5608 GB, free: 1.289 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0001179/0.5143, allocations: 28.98 kB / 0.5608 GB, free: 1.262 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.726e-05/0.5144, allocations: 35.42 kB / 0.5608 GB, free: 1.227 MB / 394.7 MB Notification: Performance of SimCode: time 2.6e-07/0.5144, allocations: 0 / 0.5608 GB, free: 1.227 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02227/0.5367, allocations: 2.873 MB / 0.5636 GB, free: 14.37 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002478/0.537, allocations: 127.3 kB / 0.5638 GB, free: 14.17 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.662/2.199, allocations: 0 / 0.5638 GB, free: 14.17 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_Limiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_Limiters.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.Limiters_res.mat does not exist to compare? outputFormat=mat