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.001024/0.001024, allocations: 180.3 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.599/1.599, allocations: 221.3 MB / 236 MB, free: 2.969 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.0009413/0.0009415, allocations: 87.75 kB / 287 MB, free: 236 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1956/0.1956, allocations: 44.17 MB / 382 MB, free: 14.66 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.203e-05/4.271e-05, allocations: 224 / 451.9 MB, free: 9.328 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1396, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4002/0.5398, allocations: 90 MB / 0.5897 GB, free: 15.24 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001928/0.5401, allocations: 67.97 kB / 0.5898 GB, free: 15.17 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04069/0.5808, allocations: 15.37 MB / 0.6048 GB, free: 15.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5808, allocations: 0 / 0.6048 GB, free: 15.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.104e-05/0.5809, allocations: 24 kB / 0.6048 GB, free: 15.75 MB / 426.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.001717/0.5827, allocations: 1.051 MB / 0.6058 GB, free: 14.65 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.5827, allocations: 8.031 kB / 0.6058 GB, free: 14.64 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.5828, allocations: 102.5 kB / 0.6059 GB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001774/0.583, allocations: 118.6 kB / 0.606 GB, free: 14.41 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009881/0.584, allocations: 0.617 MB / 0.6066 GB, free: 13.75 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.943e-05/0.5841, allocations: 45.31 kB / 0.6067 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.812e-05/0.5842, allocations: 71.89 kB / 0.6067 GB, free: 13.64 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001096/0.5853, allocations: 0.6687 MB / 0.6074 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/0.5853, allocations: 4 kB / 0.6074 GB, free: 12.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.146e-05/0.5854, allocations: 31.95 kB / 0.6074 GB, free: 12.88 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.901e-05/0.5854, allocations: 16 kB / 0.6074 GB, free: 12.86 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007414/0.5862, allocations: 443.4 kB / 0.6079 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003759/0.5899, allocations: 2.772 MB / 0.6106 GB, free: 9.559 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001097/0.591, allocations: 0.562 MB / 0.6111 GB, free: 8.961 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003483/0.5914, allocations: 223.4 kB / 0.6113 GB, free: 8.73 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.825e-05/0.5915, allocations: 11.98 kB / 0.6113 GB, free: 8.719 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.618e-05/0.5915, allocations: 46.48 kB / 0.6114 GB, free: 8.664 MB / 426.7 MB Notification: Performance of pre-optimization done (n=52): time 2.715e-06/0.5915, allocations: 0 / 0.6114 GB, free: 8.664 MB / 426.7 MB Notification: Performance of matching and sorting (n=52): time 0.0008907/0.5924, allocations: 486.1 kB / 0.6119 GB, free: 8.188 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001236/0.5926, allocations: 243.3 kB / 0.6121 GB, free: 7.895 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007288/0.5933, allocations: 0.5947 MB / 0.6127 GB, free: 7.293 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/0.5934, allocations: 33.7 kB / 0.6127 GB, free: 7.254 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.5937, allocations: 432.4 kB / 0.6131 GB, free: 6.824 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001496/0.5938, allocations: 181.3 kB / 0.6133 GB, free: 6.645 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.069e-05/0.5939, allocations: 12 kB / 0.6133 GB, free: 6.633 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001256/0.594, allocations: 329.9 kB / 0.6136 GB, free: 6.305 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002758/0.5943, allocations: 161.1 kB / 0.6138 GB, free: 6.148 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004201/0.5947, allocations: 300.1 kB / 0.614 GB, free: 5.805 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003444/0.5951, allocations: 202.2 kB / 0.6142 GB, free: 5.613 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.29e-06/0.5951, allocations: 0 / 0.6142 GB, free: 5.613 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002007/0.5971, allocations: 0.8939 MB / 0.6151 GB, free: 4.703 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004074/0.5975, allocations: 1.145 MB / 0.6162 GB, free: 3.473 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.388e-06/0.5975, allocations: 4 kB / 0.6162 GB, free: 3.469 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009096/0.5985, allocations: 255.2 kB / 0.6165 GB, free: 3.207 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000569/0.599, allocations: 127.8 kB / 0.6166 GB, free: 3.082 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00357/0.6026, allocations: 3.586 MB / 0.6201 GB, free: 15.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006466/0.6033, allocations: 95.45 kB / 0.6202 GB, free: 15.18 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.639e-05/0.6033, allocations: 20 kB / 0.6202 GB, free: 15.16 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.126e-05/0.6034, allocations: 4 kB / 0.6202 GB, free: 15.16 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001163/0.6045, allocations: 0.57 MB / 0.6208 GB, free: 14.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.6046, allocations: 7.938 kB / 0.6208 GB, free: 14.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004178/0.605, allocations: 121.9 kB / 0.6209 GB, free: 14.45 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007276/0.6057, allocations: 172 kB / 0.6211 GB, free: 14.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002915/0.6086, allocations: 3.143 MB / 0.6241 GB, free: 10.88 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005409/0.6092, allocations: 67.5 kB / 0.6242 GB, free: 10.81 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.6093, allocations: 20 kB / 0.6242 GB, free: 10.79 MB / 442.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.0001965/0.6095, allocations: 146.9 kB / 0.6244 GB, free: 10.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001932/0.6097, allocations: 90.88 kB / 0.6244 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002444/0.6099, allocations: 107.2 kB / 0.6245 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.172e-06/0.6099, allocations: 7.984 kB / 0.6246 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6099, allocations: 0 / 0.6246 GB, free: 10.44 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.697e-06/0.61, allocations: 7.984 kB / 0.6246 GB, free: 10.43 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001007/0.611, allocations: 0.7428 MB / 0.6253 GB, free: 9.637 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.611, allocations: 0 / 0.6253 GB, free: 9.637 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000576/0.6116, allocations: 119.9 kB / 0.6254 GB, free: 9.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.663e-06/0.6116, allocations: 4 kB / 0.6254 GB, free: 9.516 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.651e-05/0.6116, allocations: 12 kB / 0.6254 GB, free: 9.504 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.6116, allocations: 4 kB / 0.6254 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.352e-06/0.6116, allocations: 0 / 0.6254 GB, free: 9.5 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00117/0.6128, allocations: 1.078 MB / 0.6265 GB, free: 8.379 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.6131, allocations: 215.8 kB / 0.6267 GB, free: 8.148 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.378e-05/0.6131, allocations: 16 kB / 0.6267 GB, free: 8.133 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004969/0.6136, allocations: 51.95 kB / 0.6267 GB, free: 8.082 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.515e-05/0.6138, allocations: 39.91 kB / 0.6268 GB, free: 8.043 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.932e-05/0.6138, allocations: 12 kB / 0.6268 GB, free: 8.031 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0005201/0.6143, allocations: 475.2 kB / 0.6272 GB, free: 7.574 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.6143, allocations: 0 / 0.6272 GB, free: 7.574 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0008732/0.6152, allocations: 271.1 kB / 0.6275 GB, free: 7.309 MB / 442.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.001552/0.6168, allocations: 1.855 MB / 0.6293 GB, free: 5.414 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.003604/0.6204, allocations: 1.506 MB / 0.6308 GB, free: 3.875 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.6204, allocations: 0 / 0.6308 GB, free: 3.875 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000395/0.6208, allocations: 223.8 kB / 0.631 GB, free: 3.656 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/0.6224, allocations: 216.5 kB / 0.6312 GB, free: 3.449 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00446/0.6269, allocations: 1.261 MB / 0.6324 GB, free: 2.129 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000802/0.6278, allocations: 1.006 MB / 0.6334 GB, free: 1.094 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0008194/0.6286, allocations: 143.7 kB / 0.6336 GB, free: 0.9531 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004776/0.6291, allocations: 319.3 kB / 0.6339 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of SimCode: time 1.472e-06/0.6291, allocations: 0 / 0.6339 GB, free: 0.6406 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04166/0.6708, allocations: 19.3 MB / 0.6527 GB, free: 13.48 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.671, allocations: 165.1 kB / 0.6529 GB, free: 13.26 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.68/3.351, allocations: 0 / 0.6529 GB, free: 13.26 MB / 474.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