Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000954/0.000954, allocations: 174.4 kB / 8.739 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.345/1.345, allocations: 221.5 MB / 230.7 MB, free: 7.578 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008672/0.0008671, allocations: 91.97 kB / 281.6 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2246/0.2246, allocations: 44.14 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 2.024e-05/2.025e-05, allocations: 4.203 kB / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1497/0.1498, allocations: 61.92 MB / 0.4948 GB, free: 1.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4748/0.6246, allocations: 89.34 MB / 0.582 GB, free: 7.047 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.6248, allocations: 63.97 kB / 0.5821 GB, free: 6.984 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04086/0.6657, allocations: 15.26 MB / 0.597 GB, free: 7.688 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.6658, allocations: 0 / 0.597 GB, free: 7.688 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.823e-05/0.6658, allocations: 24 kB / 0.597 GB, free: 7.664 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 156 * Number of variables: 156 Notification: Performance of Generate backend data structure: time 0.001794/0.6676, allocations: 1.051 MB / 0.598 GB, free: 6.566 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.6677, allocations: 11.98 kB / 0.598 GB, free: 6.555 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.6679, allocations: 114.6 kB / 0.5981 GB, free: 6.441 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009509/0.6689, allocations: 0.6133 MB / 0.5987 GB, free: 5.785 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.722e-05/0.6689, allocations: 20 kB / 0.5988 GB, free: 5.766 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.509e-05/0.669, allocations: 39.91 kB / 0.5988 GB, free: 5.727 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006787/0.6697, allocations: 398.6 kB / 0.5992 GB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008737/0.6706, allocations: 0.5802 MB / 0.5997 GB, free: 4.699 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.6706, allocations: 4 kB / 0.5997 GB, free: 4.695 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.071e-05/0.6707, allocations: 8.516 kB / 0.5997 GB, free: 4.688 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.6707, allocations: 16 kB / 0.5998 GB, free: 4.672 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00334/0.674, allocations: 2.651 MB / 0.6024 GB, free: 1.938 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000965/0.675, allocations: 0.5233 MB / 0.6029 GB, free: 1.379 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003078/0.6753, allocations: 222.2 kB / 0.6031 GB, free: 1.152 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.166e-05/0.6754, allocations: 15.92 kB / 0.6031 GB, free: 1.137 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.673e-05/0.6755, allocations: 38.56 kB / 0.6031 GB, free: 1.09 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 2.835e-06/0.6755, allocations: 0 / 0.6031 GB, free: 1.09 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.0008556/0.6763, allocations: 450.3 kB / 0.6036 GB, free: 0.6445 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001376/0.6765, allocations: 243.3 kB / 0.6038 GB, free: 360 kB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006012/0.6771, allocations: 0.5044 MB / 0.6043 GB, free: 15.84 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.368e-05/0.6771, allocations: 25.7 kB / 0.6043 GB, free: 15.81 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.6775, allocations: 436.1 kB / 0.6047 GB, free: 15.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000159/0.6777, allocations: 181.3 kB / 0.6049 GB, free: 15.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.736e-05/0.6777, allocations: 0 / 0.6049 GB, free: 15.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.6779, allocations: 329.9 kB / 0.6052 GB, free: 14.87 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.6781, allocations: 149.1 kB / 0.6054 GB, free: 14.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003808/0.6785, allocations: 283.1 kB / 0.6056 GB, free: 14.4 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002878/0.6788, allocations: 187.5 kB / 0.6058 GB, free: 14.22 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.314e-06/0.6788, allocations: 3.953 kB / 0.6058 GB, free: 14.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001868/0.6807, allocations: 0.8383 MB / 0.6066 GB, free: 13.36 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004727/0.6812, allocations: 1.141 MB / 0.6077 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.6812, allocations: 0 / 0.6077 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008842/0.6821, allocations: 255.3 kB / 0.608 GB, free: 11.87 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005487/0.6827, allocations: 135.8 kB / 0.6081 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003579/0.6862, allocations: 3.546 MB / 0.6116 GB, free: 8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005559/0.6868, allocations: 71.94 kB / 0.6116 GB, free: 7.93 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.6869, allocations: 23.98 kB / 0.6117 GB, free: 7.906 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/0.6869, allocations: 5.25 kB / 0.6117 GB, free: 7.902 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001035/0.6879, allocations: 0.5083 MB / 0.6122 GB, free: 7.391 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.688, allocations: 15.89 kB / 0.6122 GB, free: 7.375 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003976/0.6884, allocations: 121.6 kB / 0.6123 GB, free: 7.25 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007133/0.6891, allocations: 176 kB / 0.6125 GB, free: 7.078 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002618/0.6917, allocations: 3.02 MB / 0.6154 GB, free: 3.824 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004235/0.6922, allocations: 51.64 kB / 0.6155 GB, free: 3.773 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.655e-05/0.6922, allocations: 20 kB / 0.6155 GB, free: 3.754 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 4 (PID4.I.local_reset,PID3.I.local_reset,PID2.I.local_reset,PID1.I.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 49 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 4,1 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001743/0.6924, allocations: 112.9 kB / 0.6156 GB, free: 3.637 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007378/0.6931, allocations: 460.2 kB / 0.616 GB, free: 3.184 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001536/0.6933, allocations: 86.92 kB / 0.6161 GB, free: 3.098 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002054/0.6935, allocations: 86.66 kB / 0.6162 GB, free: 3.008 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.6935, allocations: 15.94 kB / 0.6162 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-06/0.6935, allocations: 0 / 0.6162 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.6935, allocations: 0 / 0.6162 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009743/0.6945, allocations: 0.6497 MB / 0.6168 GB, free: 2.305 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.6945, allocations: 4 kB / 0.6168 GB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005866/0.6951, allocations: 123.9 kB / 0.617 GB, free: 2.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.284e-06/0.6951, allocations: 4 kB / 0.617 GB, free: 2.176 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.729e-05/0.6952, allocations: 7.953 kB / 0.617 GB, free: 2.168 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.825e-06/0.6952, allocations: 7.938 kB / 0.617 GB, free: 2.16 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.6952, allocations: 0 / 0.617 GB, free: 2.16 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001211/0.6964, allocations: 1.039 MB / 0.618 GB, free: 1.078 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002362/0.6967, allocations: 203.9 kB / 0.6182 GB, free: 0.8594 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.124e-05/0.6967, allocations: 4 kB / 0.6182 GB, free: 0.8555 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004911/0.6972, allocations: 48.02 kB / 0.6182 GB, free: 0.8086 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.257e-05/0.6973, allocations: 35.95 kB / 0.6183 GB, free: 0.7734 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.651e-05/0.6974, allocations: 16 kB / 0.6183 GB, free: 0.7578 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004634/0.6978, allocations: 399.1 kB / 0.6187 GB, free: 380 kB / 426.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.6979, allocations: 0 / 0.6187 GB, free: 380 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.001001/0.6989, allocations: 250.8 kB / 0.6189 GB, free: 128 kB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (PID1.I.y,firstOrder1.y,PID2.I.y,firstOrder2.y,PID3.I.y,firstOrder3.y,PID4.I.y,firstOrder4.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * 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.001539/0.7004, allocations: 1.809 MB / 0.6207 GB, free: 14.28 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003216/0.7036, allocations: 1.429 MB / 0.6221 GB, free: 12.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.7037, allocations: 4 kB / 0.6221 GB, free: 12.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003151/0.704, allocations: 211.8 kB / 0.6223 GB, free: 12.61 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.7051, allocations: 197.6 kB / 0.6225 GB, free: 12.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002488/0.7076, allocations: 1.208 MB / 0.6236 GB, free: 11.16 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005627/0.7082, allocations: 0.9979 MB / 0.6246 GB, free: 10.12 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005551/0.7087, allocations: 139.4 kB / 0.6248 GB, free: 9.984 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003977/0.7091, allocations: 319.3 kB / 0.6251 GB, free: 9.672 MB / 442.7 MB Notification: Performance of SimCode: time 1.042e-06/0.7092, allocations: 0 / 0.6251 GB, free: 9.672 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04691/0.7561, allocations: 17.54 MB / 0.6422 GB, free: 8.199 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002387/0.7564, allocations: 113.3 kB / 0.6423 GB, free: 8.008 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.763/3.519, allocations: 0 / 0.6423 GB, free: 8.008 MB / 458.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Blocks_LimPID_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Blocks_LimPID.fmu > ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Blocks.LimPID_res.mat does not exist to compare? outputFormat=mat