Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.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.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Blocks_StrictLimiters",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.001037/0.001037, allocations: 177.6 kB / 8.002 MB, free: 1.07 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.649/1.649, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001068/0.001068, allocations: 82.69 kB / 261.7 MB, free: 1.684 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.2069/0.2069, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.08e-05/2.081e-05, allocations: 4 kB / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1126, allocations: 58.85 MB / 477.2 MB, free: 1.555 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4246/0.5372, allocations: 90.11 MB / 0.554 GB, free: 5.059 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/0.5376, allocations: 65 kB / 0.5541 GB, free: 5.031 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06242/0.6, allocations: 15.7 MB / 0.5694 GB, free: 7.926 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.6001, allocations: 0 / 0.5694 GB, free: 7.926 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.366e-05/0.6002, allocations: 27.88 kB / 0.5694 GB, free: 7.898 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.002909/0.6031, allocations: 1.051 MB / 0.5705 GB, free: 6.852 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.302e-05/0.6032, allocations: 8.031 kB / 0.5705 GB, free: 6.844 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003387/0.6035, allocations: 98.78 kB / 0.5706 GB, free: 6.746 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001863/0.6054, allocations: 0.617 MB / 0.5712 GB, free: 6.176 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/0.6055, allocations: 19.94 kB / 0.5712 GB, free: 6.156 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.6056, allocations: 39.22 kB / 0.5712 GB, free: 6.121 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009642/0.6066, allocations: 329.9 kB / 0.5715 GB, free: 5.926 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001241/0.6078, allocations: 0.5135 MB / 0.572 GB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.41e-05/0.6079, allocations: 0 / 0.572 GB, free: 5.48 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.344e-05/0.608, allocations: 4 kB / 0.572 GB, free: 5.477 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.608, allocations: 12 kB / 0.572 GB, free: 5.465 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004658/0.6127, allocations: 2.199 MB / 0.5742 GB, free: 3.543 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/0.615, allocations: 0.6893 MB / 0.5749 GB, free: 2.969 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004506/0.6155, allocations: 186.3 kB / 0.575 GB, free: 2.852 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.238e-05/0.6156, allocations: 8.078 kB / 0.5751 GB, free: 2.844 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.091e-05/0.6156, allocations: 42.06 kB / 0.5751 GB, free: 2.801 MB / 378.7 MB Notification: Performance of pre-optimization done (n=46): time 3.556e-06/0.6157, allocations: 0 / 0.5751 GB, free: 2.801 MB / 378.7 MB Notification: Performance of matching and sorting (n=46): time 0.001234/0.6169, allocations: 417.2 kB / 0.5755 GB, free: 2.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001144/0.617, allocations: 132.5 kB / 0.5756 GB, free: 2.332 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007732/0.6178, allocations: 475.4 kB / 0.5761 GB, free: 1.965 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.366e-05/0.6179, allocations: 25.7 kB / 0.5761 GB, free: 1.934 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003601/0.6183, allocations: 362.5 kB / 0.5764 GB, free: 1.715 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002066/0.6185, allocations: 154.4 kB / 0.5766 GB, free: 1.582 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.095e-05/0.6185, allocations: 0 / 0.5766 GB, free: 1.582 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001972/0.6187, allocations: 327.4 kB / 0.5769 GB, free: 1.266 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003885/0.6191, allocations: 149.7 kB / 0.577 GB, free: 1.184 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005005/0.6197, allocations: 245.3 kB / 0.5773 GB, free: 0.9805 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000395/0.6201, allocations: 175.7 kB / 0.5774 GB, free: 0.875 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/0.6201, allocations: 0 / 0.5774 GB, free: 0.875 MB / 378.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001234/0.6213, allocations: 490.1 kB / 0.5779 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005397/0.6219, allocations: 0.8756 MB / 0.5788 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.124e-05/0.6219, allocations: 0 / 0.5788 GB, free: 15.58 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.913e-05/0.6219, allocations: 8 kB / 0.5788 GB, free: 15.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.6234, allocations: 207.2 kB / 0.579 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/0.6235, allocations: 7.984 kB / 0.579 GB, free: 15.37 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008747/0.6244, allocations: 107.5 kB / 0.5791 GB, free: 15.26 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.886e-05/0.6244, allocations: 19.44 kB / 0.5791 GB, free: 15.25 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.6245, allocations: 0 / 0.5791 GB, free: 15.25 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009375/0.6254, allocations: 361.6 kB / 0.5794 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/0.6254, allocations: 4 kB / 0.5794 GB, free: 15 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/0.6255, allocations: 4 kB / 0.5795 GB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001223/0.6267, allocations: 175.6 kB / 0.5796 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.534e-06/0.6267, allocations: 7.938 kB / 0.5796 GB, free: 14.82 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006648/0.6274, allocations: 79.58 kB / 0.5797 GB, free: 14.74 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.6275, allocations: 15.88 kB / 0.5797 GB, free: 14.73 MB / 394.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.0002351/0.6277, allocations: 123.9 kB / 0.5798 GB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001063/0.6288, allocations: 403.4 kB / 0.5802 GB, free: 14.3 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.629, allocations: 78.94 kB / 0.5803 GB, free: 14.23 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002742/0.6293, allocations: 74.78 kB / 0.5804 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.036e-05/0.6293, allocations: 4 kB / 0.5804 GB, free: 14.18 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.6293, allocations: 7.891 kB / 0.5804 GB, free: 14.17 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.6294, allocations: 7.922 kB / 0.5804 GB, free: 14.16 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.6317, allocations: 1.055 MB / 0.5814 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.868e-06/0.6317, allocations: 0 / 0.5814 GB, free: 13.36 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001091/0.6328, allocations: 163.1 kB / 0.5816 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.6329, allocations: 0 / 0.5816 GB, free: 13.2 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.87e-05/0.6329, allocations: 15.88 kB / 0.5816 GB, free: 13.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.396e-06/0.633, allocations: 7.984 kB / 0.5816 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.911e-06/0.633, allocations: 3.938 kB / 0.5816 GB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001645/0.6346, allocations: 0.8132 MB / 0.5824 GB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/0.635, allocations: 196.9 kB / 0.5826 GB, free: 12.37 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001244/0.6351, allocations: 9.625 kB / 0.5826 GB, free: 12.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008989/0.636, allocations: 83.92 kB / 0.5827 GB, free: 12.28 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001532/0.6362, allocations: 36.75 kB / 0.5827 GB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.095e-05/0.6363, allocations: 19.42 kB / 0.5827 GB, free: 12.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006176/0.6369, allocations: 353 kB / 0.5831 GB, free: 11.97 MB / 394.7 MB Notification: Performance of sort global known variables: time 2e-07/0.6369, allocations: 0 / 0.5831 GB, free: 11.97 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001234/0.6382, allocations: 203.2 kB / 0.5833 GB, free: 11.77 MB / 394.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.002131/0.6403, allocations: 1.442 MB / 0.5847 GB, free: 10.52 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001628/0.642, allocations: 0.6212 MB / 0.5853 GB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.642, allocations: 0 / 0.5853 GB, free: 10.12 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004913/0.6425, allocations: 198.2 kB / 0.5855 GB, free: 9.988 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001388/0.6439, allocations: 175.1 kB / 0.5856 GB, free: 9.859 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00465/0.6485, allocations: 1.232 MB / 0.5868 GB, free: 8.684 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007446/0.6493, allocations: 0.9351 MB / 0.5877 GB, free: 7.719 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001037/0.6504, allocations: 143.7 kB / 0.5879 GB, free: 7.574 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005118/0.6509, allocations: 271.2 kB / 0.5881 GB, free: 7.508 MB / 394.7 MB Notification: Performance of SimCode: time 1.353e-06/0.6509, allocations: 0 / 0.5881 GB, free: 7.508 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05053/0.7015, allocations: 13.77 MB / 0.6016 GB, free: 9.785 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000229/0.7017, allocations: 130.7 kB / 0.6017 GB, free: 9.586 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/3.29, allocations: 0 / 0.6017 GB, free: 9.586 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Blocks_StrictLimiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat