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.001319/0.001319, allocations: 183.2 kB / 15.76 MB, free: 6.367 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.385/1.385, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008926/0.0008924, allocations: 90.86 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.203/0.203, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003095/0.0003096, allocations: 12 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1154/0.1157, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3824/0.4981, allocations: 87.57 MB / 0.5644 GB, free: 12.12 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001755/0.4984, allocations: 64.09 kB / 0.5644 GB, free: 12.09 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01333/0.5117, allocations: 4.587 MB / 0.5689 GB, free: 8.203 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5118, allocations: 3.938 kB / 0.5689 GB, free: 8.199 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.955e-05/0.5118, allocations: 4 kB / 0.5689 GB, free: 8.195 MB / 378.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.0006851/0.5125, allocations: 466.8 kB / 0.5694 GB, free: 7.699 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.5125, allocations: 11.97 kB / 0.5694 GB, free: 7.688 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.41e-05/0.5126, allocations: 41.94 kB / 0.5694 GB, free: 7.645 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.269e-05/0.5126, allocations: 15.81 kB / 0.5694 GB, free: 7.629 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.5129, allocations: 221.5 kB / 0.5696 GB, free: 7.383 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.513, allocations: 8 kB / 0.5696 GB, free: 7.375 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.354e-05/0.513, allocations: 15.53 kB / 0.5697 GB, free: 7.363 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000432/0.5134, allocations: 190.5 kB / 0.5698 GB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.453e-05/0.5135, allocations: 0 / 0.5698 GB, free: 7.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.109e-05/0.5135, allocations: 11.12 kB / 0.5698 GB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.5135, allocations: 0 / 0.5698 GB, free: 7.184 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003992/0.5139, allocations: 163.3 kB / 0.57 GB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008123/0.5147, allocations: 460.6 kB / 0.5704 GB, free: 6.594 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007997/0.5155, allocations: 333.5 kB / 0.5708 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.926e-05/0.5156, allocations: 0 / 0.5708 GB, free: 6.281 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.743e-05/0.5156, allocations: 33 kB / 0.5708 GB, free: 6.242 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.5156, allocations: 3.938 kB / 0.5708 GB, free: 6.238 MB / 378.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007138/0.5163, allocations: 289.9 kB / 0.5711 GB, free: 5.973 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.794e-05/0.5164, allocations: 106.8 kB / 0.5712 GB, free: 5.844 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.5165, allocations: 149.4 kB / 0.5713 GB, free: 5.703 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.5166, allocations: 29.7 kB / 0.5713 GB, free: 5.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.5166, allocations: 114.4 kB / 0.5715 GB, free: 5.566 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.527e-05/0.5167, allocations: 25.94 kB / 0.5715 GB, free: 5.543 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.766e-06/0.5167, allocations: 2.625 kB / 0.5715 GB, free: 5.543 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.5169, allocations: 322.3 kB / 0.5718 GB, free: 5.223 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002138/0.5171, allocations: 82.41 kB / 0.5719 GB, free: 5.152 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002475/0.5174, allocations: 106.7 kB / 0.572 GB, free: 5.051 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.5176, allocations: 80.8 kB / 0.572 GB, free: 4.984 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5176, allocations: 0 / 0.572 GB, free: 4.984 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0004571/0.518, allocations: 212 kB / 0.5722 GB, free: 4.789 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.312e-05/0.5181, allocations: 96.31 kB / 0.5723 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.5181, allocations: 0 / 0.5723 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/0.5182, allocations: 0 / 0.5723 GB, free: 4.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001639/0.5183, allocations: 47.95 kB / 0.5724 GB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.5183, allocations: 0 / 0.5724 GB, free: 4.645 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001404/0.5185, allocations: 35.88 kB / 0.5724 GB, free: 4.609 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.277e-05/0.5185, allocations: 8 kB / 0.5724 GB, free: 4.602 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.945e-06/0.5185, allocations: 4 kB / 0.5724 GB, free: 4.598 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0002079/0.5187, allocations: 85.75 kB / 0.5725 GB, free: 4.531 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.845e-06/0.5187, allocations: 3.984 kB / 0.5725 GB, free: 4.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.296e-06/0.5187, allocations: 4 kB / 0.5725 GB, free: 4.523 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.416e-05/0.5188, allocations: 23.92 kB / 0.5725 GB, free: 4.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.026e-06/0.5189, allocations: 3.953 kB / 0.5725 GB, free: 4.496 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.108e-05/0.5189, allocations: 23.86 kB / 0.5726 GB, free: 4.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.498e-06/0.519, allocations: 0 / 0.5726 GB, free: 4.473 MB / 378.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 () * Number of clocked 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 0.0001378/0.5191, allocations: 200.3 kB / 0.5728 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.142e-05/0.5191, allocations: 15.81 kB / 0.5728 GB, free: 4.258 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.028e-05/0.5192, allocations: 20.45 kB / 0.5728 GB, free: 4.234 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.5192, allocations: 4 kB / 0.5728 GB, free: 4.23 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.5192, allocations: 3.953 kB / 0.5728 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.5192, allocations: 0 / 0.5728 GB, free: 4.227 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002476/0.5195, allocations: 223.3 kB / 0.573 GB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.5195, allocations: 0 / 0.573 GB, free: 3.98 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.5197, allocations: 43.95 kB / 0.5731 GB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.5197, allocations: 0 / 0.5731 GB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.461e-05/0.5197, allocations: 3.438 kB / 0.5731 GB, free: 3.938 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/0.5197, allocations: 4 kB / 0.5731 GB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.021e-06/0.5197, allocations: 0 / 0.5731 GB, free: 3.934 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007403/0.5205, allocations: 405.4 kB / 0.5734 GB, free: 3.555 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.5205, allocations: 88.95 kB / 0.5735 GB, free: 3.449 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.663e-05/0.5205, allocations: 7.484 kB / 0.5735 GB, free: 3.445 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002767/0.5208, allocations: 52.02 kB / 0.5736 GB, free: 3.395 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.636e-05/0.5209, allocations: 7.062 kB / 0.5736 GB, free: 3.391 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.317e-05/0.5209, allocations: 3.984 kB / 0.5736 GB, free: 3.387 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.061e-05/0.521, allocations: 124 kB / 0.5737 GB, free: 3.277 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.521, allocations: 0 / 0.5737 GB, free: 3.277 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003239/0.5213, allocations: 43 kB / 0.5738 GB, free: 3.238 MB / 378.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 () * Number of clocked 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.001043/0.5224, allocations: 0.9249 MB / 0.5747 GB, free: 2.324 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0005784/0.523, allocations: 221 kB / 0.5749 GB, free: 2.133 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.523, allocations: 4 kB / 0.5749 GB, free: 2.129 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002102/0.5232, allocations: 85.19 kB / 0.575 GB, free: 2.055 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000321/0.5235, allocations: 26.36 kB / 0.575 GB, free: 2.035 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00189/0.5254, allocations: 0.9897 MB / 0.576 GB, free: 1.102 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003052/0.5258, allocations: 0.7126 MB / 0.5766 GB, free: 372 kB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001175/0.5259, allocations: 16.53 kB / 0.5767 GB, free: 356 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.014e-05/0.526, allocations: 42.67 kB / 0.5767 GB, free: 332 kB / 378.7 MB Notification: Performance of SimCode: time 5.61e-07/0.526, allocations: 0 / 0.5767 GB, free: 332 kB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01511/0.5411, allocations: 3.244 MB / 0.5799 GB, free: 13.12 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002635/0.5414, allocations: 151.3 kB / 0.58 GB, free: 12.89 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.591/2.132, allocations: 0 / 0.58 GB, free: 12.89 MB / 394.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