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.001488/0.001488, allocations: 186.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.438/1.438, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.000808/0.0008081, allocations: 90.86 kB / 270.2 MB, free: 13.36 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.201/0.201, allocations: 43.57 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 12 kB / 431.5 MB, free: 19.52 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1237, allocations: 58.85 MB / 490.3 MB, free: 8.594 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3707/0.4944, allocations: 90.85 MB / 0.5676 GB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003299/0.4948, allocations: 69.5 kB / 0.5676 GB, free: 8.82 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04657/0.5414, allocations: 15.84 MB / 0.5831 GB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.338e-06/0.5415, allocations: 4 kB / 0.5831 GB, free: 11.39 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001086/0.5416, allocations: 35.86 kB / 0.5831 GB, free: 11.35 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: 121 * Number of variables: 121 Notification: Performance of Generate backend data structure: time 0.003043/0.5447, allocations: 1.162 MB / 0.5843 GB, free: 10.2 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.63e-05/0.5447, allocations: 12.02 kB / 0.5843 GB, free: 10.18 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002665/0.545, allocations: 85.22 kB / 0.5844 GB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003304/0.5454, allocations: 94.88 kB / 0.5845 GB, free: 10.03 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.5469, allocations: 0.6269 MB / 0.5851 GB, free: 9.441 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-05/0.547, allocations: 43.38 kB / 0.5851 GB, free: 9.414 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001197/0.5471, allocations: 56.53 kB / 0.5852 GB, free: 9.375 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/0.5487, allocations: 0.7368 MB / 0.5859 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.422e-05/0.5487, allocations: 0 / 0.5859 GB, free: 8.75 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.74e-05/0.5488, allocations: 22.25 kB / 0.5859 GB, free: 8.742 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.654e-05/0.5488, allocations: 12 kB / 0.5859 GB, free: 8.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001527/0.5504, allocations: 0.5994 MB / 0.5865 GB, free: 8.262 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0037/0.5541, allocations: 2.285 MB / 0.5887 GB, free: 6.273 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.5567, allocations: 1.057 MB / 0.5898 GB, free: 5.332 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.667e-05/0.5568, allocations: 12.06 kB / 0.5898 GB, free: 5.32 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.5568, allocations: 45.5 kB / 0.5898 GB, free: 5.273 MB / 394.7 MB Notification: Performance of pre-optimization done (n=46): time 2.965e-06/0.5569, allocations: 3.938 kB / 0.5898 GB, free: 5.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=46): time 0.002626/0.5595, allocations: 1.035 MB / 0.5908 GB, free: 4.406 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.212e-05/0.5596, allocations: 136.5 kB / 0.591 GB, free: 4.242 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006928/0.5603, allocations: 0.5033 MB / 0.5915 GB, free: 3.836 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 5.735e-05/0.5604, allocations: 36.64 kB / 0.5915 GB, free: 3.801 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002533/0.5606, allocations: 364.5 kB / 0.5918 GB, free: 3.586 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001393/0.5608, allocations: 157.7 kB / 0.592 GB, free: 3.449 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-05/0.5608, allocations: 14.38 kB / 0.592 GB, free: 3.445 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000123/0.5609, allocations: 328.2 kB / 0.5923 GB, free: 3.125 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007701/0.5617, allocations: 315.8 kB / 0.5926 GB, free: 2.883 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008365/0.5626, allocations: 416.6 kB / 0.593 GB, free: 2.516 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007851/0.5634, allocations: 330.6 kB / 0.5933 GB, free: 2.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.5634, allocations: 4 kB / 0.5933 GB, free: 2.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=62) (initialization): time 0.001816/0.5652, allocations: 0.8282 MB / 0.5941 GB, free: 1.586 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003923/0.5656, allocations: 0.8827 MB / 0.595 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.094e-05/0.5656, allocations: 4 kB / 0.595 GB, free: 0.6523 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.5656, allocations: 7.984 kB / 0.595 GB, free: 0.6445 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009346/0.5666, allocations: 199.2 kB / 0.5952 GB, free: 464 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.657e-05/0.5666, allocations: 7.938 kB / 0.5952 GB, free: 456 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006108/0.5672, allocations: 122.2 kB / 0.5953 GB, free: 340 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.98e-05/0.5673, allocations: 19.73 kB / 0.5953 GB, free: 324 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.321e-05/0.5673, allocations: 4 kB / 0.5954 GB, free: 320 kB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001218/0.5685, allocations: 0.5963 MB / 0.5959 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.5686, allocations: 0 / 0.5959 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.888e-06/0.5686, allocations: 8 kB / 0.5959 GB, free: 15.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007351/0.5693, allocations: 167.1 kB / 0.5961 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.5693, allocations: 4 kB / 0.5961 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/0.5699, allocations: 94.64 kB / 0.5962 GB, free: 15.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.084e-05/0.5699, allocations: 15.75 kB / 0.5962 GB, free: 15.6 MB / 410.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.0004494/0.5704, allocations: 277.5 kB / 0.5965 GB, free: 15.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001717/0.5705, allocations: 75.06 kB / 0.5965 GB, free: 15.29 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002199/0.5708, allocations: 84.52 kB / 0.5966 GB, free: 15.24 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.5708, allocations: 4 kB / 0.5966 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.118e-05/0.5708, allocations: 7.938 kB / 0.5966 GB, free: 15.23 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.5708, allocations: 7.938 kB / 0.5966 GB, free: 15.22 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.5734, allocations: 1.399 MB / 0.598 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.5734, allocations: 0 / 0.598 GB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007047/0.5741, allocations: 170.5 kB / 0.5982 GB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.098e-05/0.5741, allocations: 7.953 kB / 0.5982 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.307e-05/0.5742, allocations: 13.44 kB / 0.5982 GB, free: 13.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.529e-06/0.5742, allocations: 3.984 kB / 0.5982 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.453e-06/0.5742, allocations: 0 / 0.5982 GB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00255/0.5768, allocations: 1.325 MB / 0.5995 GB, free: 12.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002715/0.577, allocations: 195.7 kB / 0.5997 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.428e-05/0.5772, allocations: 15.31 kB / 0.5997 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000657/0.5778, allocations: 91.17 kB / 0.5998 GB, free: 12.52 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001168/0.578, allocations: 39.5 kB / 0.5998 GB, free: 12.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.04e-05/0.578, allocations: 14.92 kB / 0.5998 GB, free: 12.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005224/0.5785, allocations: 404.8 kB / 0.6002 GB, free: 12.18 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.5785, allocations: 0 / 0.6002 GB, free: 12.18 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008158/0.5794, allocations: 229.9 kB / 0.6004 GB, free: 11.97 MB / 410.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.002985/0.5824, allocations: 1.941 MB / 0.6023 GB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002409/0.5848, allocations: 1.034 MB / 0.6033 GB, free: 9.414 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.5848, allocations: 0 / 0.6033 GB, free: 9.414 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008423/0.5856, allocations: 376.8 kB / 0.6037 GB, free: 9.113 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001003/0.5867, allocations: 165.5 kB / 0.6039 GB, free: 8.988 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009716/0.5964, allocations: 6.07 MB / 0.6098 GB, free: 3.48 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005512/0.597, allocations: 0.9379 MB / 0.6107 GB, free: 2.512 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000589/0.5976, allocations: 97.42 kB / 0.6108 GB, free: 2.418 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004063/0.598, allocations: 283 kB / 0.6111 GB, free: 2.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.092e-06/0.598, allocations: 0 / 0.6111 GB, free: 2.34 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03331/0.6314, allocations: 13.66 MB / 0.6244 GB, free: 4.723 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002494/0.6317, allocations: 166.2 kB / 0.6246 GB, free: 4.48 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/2.791, allocations: 0 / 0.6246 GB, free: 4.48 MB / 426.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