Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_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_cpp_ModelicaTest_Blocks_StrictLimiters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.StrictLimiters,fileNamePrefix="ModelicaTest_3_2_3_cpp_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.002261/0.002261, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.149/2.149, allocations: 205.3 MB / 214.1 MB, free: 14.13 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001134/0.001133, allocations: 89.69 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2999/0.2999, allocations: 43.48 MB / 353.5 MB, free: 2.262 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.735e-05/2.734e-05, allocations: 8.203 kB / 418.3 MB, free: 40.93 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3955/0.3956, allocations: 58.86 MB / 477.2 MB, free: 5.129 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1744/0.57, allocations: 90.09 MB / 0.554 GB, free: 9.09 MB / 395.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.5704, allocations: 67.97 kB / 0.554 GB, free: 9.023 MB / 395.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.07763/0.648, allocations: 15.7 MB / 0.5694 GB, free: 9.293 MB / 411.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.6481, allocations: 3.938 kB / 0.5694 GB, free: 9.289 MB / 411.1 MB Notification: Performance of Transformations before backend: time 0.0001049/0.6482, allocations: 23.94 kB / 0.5694 GB, free: 9.266 MB / 411.1 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.003453/0.6517, allocations: 1.041 MB / 0.5704 GB, free: 8.18 MB / 411.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.614e-05/0.6517, allocations: 12.03 kB / 0.5704 GB, free: 8.168 MB / 411.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004078/0.6522, allocations: 102.8 kB / 0.5705 GB, free: 8.066 MB / 411.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002114/0.6543, allocations: 0.6135 MB / 0.5711 GB, free: 7.414 MB / 411.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.78e-05/0.6544, allocations: 16 kB / 0.5711 GB, free: 7.398 MB / 411.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001534/0.6546, allocations: 39.84 kB / 0.5712 GB, free: 7.359 MB / 411.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00113/0.6557, allocations: 334.6 kB / 0.5715 GB, free: 7.031 MB / 411.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00131/0.657, allocations: 0.5062 MB / 0.572 GB, free: 6.473 MB / 411.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.92e-05/0.6571, allocations: 4 kB / 0.572 GB, free: 6.469 MB / 411.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-05/0.6572, allocations: 3.984 kB / 0.572 GB, free: 6.465 MB / 411.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.488e-05/0.6573, allocations: 19.94 kB / 0.572 GB, free: 6.445 MB / 411.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005111/0.6624, allocations: 2.196 MB / 0.5742 GB, free: 4.176 MB / 411.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002593/0.665, allocations: 0.7029 MB / 0.5749 GB, free: 3.43 MB / 411.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004955/0.6655, allocations: 177.7 kB / 0.575 GB, free: 3.25 MB / 411.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.58e-05/0.6656, allocations: 8 kB / 0.575 GB, free: 3.242 MB / 411.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.6657, allocations: 34.56 kB / 0.5751 GB, free: 3.199 MB / 411.1 MB Notification: Performance of pre-optimization done (n=46): time 3.206e-06/0.6657, allocations: 0 / 0.5751 GB, free: 3.199 MB / 411.1 MB Notification: Performance of matching and sorting (n=46): time 0.001293/0.667, allocations: 421.6 kB / 0.5755 GB, free: 2.781 MB / 411.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.51e-05/0.6671, allocations: 136.5 kB / 0.5756 GB, free: 2.617 MB / 411.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008459/0.6679, allocations: 459.9 kB / 0.576 GB, free: 2.164 MB / 411.1 MB Notification: Performance of collectPreVariables (initialization): time 7.456e-05/0.668, allocations: 33.64 kB / 0.5761 GB, free: 2.125 MB / 411.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003497/0.6684, allocations: 375.2 kB / 0.5764 GB, free: 1.754 MB / 411.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001989/0.6686, allocations: 153.7 kB / 0.5766 GB, free: 1.602 MB / 411.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.263e-05/0.6687, allocations: 0 / 0.5766 GB, free: 1.602 MB / 411.1 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.6688, allocations: 338.8 kB / 0.5769 GB, free: 1.262 MB / 411.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000459/0.6693, allocations: 141.1 kB / 0.577 GB, free: 1.125 MB / 411.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005429/0.6699, allocations: 251.2 kB / 0.5773 GB, free: 0.8398 MB / 411.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004619/0.6703, allocations: 165.5 kB / 0.5774 GB, free: 0.6836 MB / 411.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.811e-06/0.6704, allocations: 4 kB / 0.5774 GB, free: 0.6797 MB / 411.1 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001222/0.6716, allocations: 439.6 kB / 0.5778 GB, free: 248 kB / 411.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004403/0.672, allocations: 0.8749 MB / 0.5787 GB, free: 15.3 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.6721, allocations: 4 kB / 0.5787 GB, free: 15.3 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.696e-05/0.6721, allocations: 8 kB / 0.5787 GB, free: 15.29 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00189/0.674, allocations: 203.7 kB / 0.5789 GB, free: 15.09 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.512e-05/0.674, allocations: 4 kB / 0.5789 GB, free: 15.09 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001099/0.6752, allocations: 103.6 kB / 0.579 GB, free: 14.98 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.182e-05/0.6752, allocations: 23.98 kB / 0.579 GB, free: 14.96 MB / 427.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.6753, allocations: 8 kB / 0.579 GB, free: 14.95 MB / 427.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001039/0.6763, allocations: 354.2 kB / 0.5794 GB, free: 14.61 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.6763, allocations: 7.984 kB / 0.5794 GB, free: 14.6 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.502e-05/0.6764, allocations: 8.141 kB / 0.5794 GB, free: 14.59 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.6779, allocations: 168 kB / 0.5796 GB, free: 14.43 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.008e-06/0.678, allocations: 8 kB / 0.5796 GB, free: 14.42 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006605/0.6786, allocations: 79.48 kB / 0.5796 GB, free: 14.34 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-05/0.6787, allocations: 27.97 kB / 0.5797 GB, free: 14.31 MB / 427.1 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.0002294/0.679, allocations: 116.8 kB / 0.5798 GB, free: 14.19 MB / 427.1 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001209/0.6802, allocations: 405.4 kB / 0.5802 GB, free: 13.79 MB / 427.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001812/0.6804, allocations: 75.06 kB / 0.5802 GB, free: 13.71 MB / 427.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002564/0.6807, allocations: 79.2 kB / 0.5803 GB, free: 13.64 MB / 427.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.6807, allocations: 7.938 kB / 0.5803 GB, free: 13.63 MB / 427.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.939e-06/0.6807, allocations: 3.953 kB / 0.5803 GB, free: 13.62 MB / 427.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.6807, allocations: 7.922 kB / 0.5803 GB, free: 13.62 MB / 427.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002507/0.6832, allocations: 1.053 MB / 0.5814 GB, free: 12.52 MB / 427.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.865e-06/0.6833, allocations: 4 kB / 0.5814 GB, free: 12.52 MB / 427.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001398/0.6847, allocations: 159.8 kB / 0.5815 GB, free: 12.36 MB / 427.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.28e-05/0.6847, allocations: 4 kB / 0.5815 GB, free: 12.36 MB / 427.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-05/0.6848, allocations: 11.94 kB / 0.5815 GB, free: 12.34 MB / 427.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.103e-06/0.6848, allocations: 3.938 kB / 0.5815 GB, free: 12.34 MB / 427.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.6848, allocations: 0 / 0.5815 GB, free: 12.34 MB / 427.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001875/0.6867, allocations: 0.8255 MB / 0.5823 GB, free: 11.49 MB / 427.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004442/0.6872, allocations: 192 kB / 0.5825 GB, free: 11.28 MB / 427.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000123/0.6873, allocations: 0 / 0.5825 GB, free: 11.28 MB / 427.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.6885, allocations: 91.91 kB / 0.5826 GB, free: 11.19 MB / 427.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.6887, allocations: 39.94 kB / 0.5826 GB, free: 11.15 MB / 427.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.908e-05/0.6888, allocations: 11.98 kB / 0.5827 GB, free: 11.14 MB / 427.1 MB Notification: Performance of sorting global known variables: time 0.0007239/0.6895, allocations: 359.2 kB / 0.583 GB, free: 10.79 MB / 427.1 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6895, allocations: 0 / 0.583 GB, free: 10.79 MB / 427.1 MB Notification: Performance of remove unused functions: time 0.001137/0.6907, allocations: 203.2 kB / 0.5832 GB, free: 10.59 MB / 427.1 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.002196/0.6929, allocations: 1.431 MB / 0.5846 GB, free: 9.133 MB / 427.1 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.6946, allocations: 0.5967 MB / 0.5852 GB, free: 8.539 MB / 427.1 MB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.6946, allocations: 0 / 0.5852 GB, free: 8.539 MB / 427.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005406/0.6952, allocations: 203.8 kB / 0.5854 GB, free: 8.34 MB / 427.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.6967, allocations: 173.9 kB / 0.5855 GB, free: 8.184 MB / 427.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005098/0.7018, allocations: 1.261 MB / 0.5868 GB, free: 6.863 MB / 427.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006564/0.7025, allocations: 0.9376 MB / 0.5877 GB, free: 5.895 MB / 427.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007328/0.7033, allocations: 279.3 kB / 0.5879 GB, free: 5.621 MB / 427.1 MB Notification: Performance of SimCode: time 1.082e-06/0.7033, allocations: 0 / 0.5879 GB, free: 5.621 MB / 427.1 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.653/3.356, allocations: 11.31 MB / 0.599 GB, free: 10.32 MB / 443.1 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_StrictLimiters_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Blocks_StrictLimiters.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Blocks.StrictLimiters_res.mat does not exist to compare? outputFormat=mat