Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.LimPID,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_LimPID",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001489/0.001489, allocations: 202.1 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.533/1.533, allocations: 225.6 MB / 234.8 MB, free: 3.234 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008263/0.0008266, allocations: 97.53 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2642/0.2642, allocations: 45.15 MB / 383.8 MB, free: 264 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.737e-05/1.739e-05, allocations: 0 / 453.3 MB, free: 75.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1091, allocations: 63.25 MB / 0.5044 GB, free: 12.54 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4289/0.538, allocations: 90.4 MB / 0.5927 GB, free: 11.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002494/0.5383, allocations: 64.16 kB / 0.5928 GB, free: 11.86 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03866/0.577, allocations: 15.27 MB / 0.6077 GB, free: 15.24 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.5771, allocations: 1.094 kB / 0.6077 GB, free: 15.24 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.55e-05/0.5771, allocations: 23.56 kB / 0.6077 GB, free: 15.22 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.001613/0.5788, allocations: 1.049 MB / 0.6087 GB, free: 14.18 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5788, allocations: 12.03 kB / 0.6088 GB, free: 14.17 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.579, allocations: 114.6 kB / 0.6089 GB, free: 14.06 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009796/0.58, allocations: 0.6153 MB / 0.6095 GB, free: 13.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.709e-05/0.58, allocations: 20 kB / 0.6095 GB, free: 13.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.094e-05/0.5801, allocations: 51.86 kB / 0.6095 GB, free: 13.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007476/0.5809, allocations: 392.7 kB / 0.6099 GB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000915/0.5818, allocations: 0.5879 MB / 0.6105 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.665e-05/0.5818, allocations: 0 / 0.6105 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.764e-05/0.5819, allocations: 4 kB / 0.6105 GB, free: 12.71 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.5819, allocations: 16 kB / 0.6105 GB, free: 12.69 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003233/0.5851, allocations: 2.647 MB / 0.6131 GB, free: 10.38 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009091/0.5861, allocations: 0.5318 MB / 0.6136 GB, free: 9.988 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002753/0.5864, allocations: 209.1 kB / 0.6138 GB, free: 9.852 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.237e-05/0.5864, allocations: 4 kB / 0.6138 GB, free: 9.848 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.5865, allocations: 42.48 kB / 0.6138 GB, free: 9.801 MB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 2.575e-06/0.5865, allocations: 0 / 0.6138 GB, free: 9.801 MB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.000766/0.5872, allocations: 455.1 kB / 0.6143 GB, free: 9.473 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.057e-05/0.5873, allocations: 251.3 kB / 0.6145 GB, free: 9.172 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005169/0.5879, allocations: 0.5098 MB / 0.615 GB, free: 8.773 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.849e-05/0.5879, allocations: 29.7 kB / 0.615 GB, free: 8.738 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002464/0.5882, allocations: 428.6 kB / 0.6155 GB, free: 8.484 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001422/0.5883, allocations: 186 kB / 0.6156 GB, free: 8.324 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.439e-05/0.5883, allocations: 0 / 0.6156 GB, free: 8.324 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001486/0.5885, allocations: 320.8 kB / 0.6159 GB, free: 8.012 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002489/0.5888, allocations: 153.3 kB / 0.6161 GB, free: 7.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003561/0.5891, allocations: 287.3 kB / 0.6164 GB, free: 7.684 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002781/0.5894, allocations: 178.4 kB / 0.6165 GB, free: 7.578 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.5894, allocations: 4 kB / 0.6165 GB, free: 7.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001793/0.5912, allocations: 0.8421 MB / 0.6174 GB, free: 6.887 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003992/0.5916, allocations: 1.139 MB / 0.6185 GB, free: 5.684 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.5917, allocations: 4 kB / 0.6185 GB, free: 5.68 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008333/0.5925, allocations: 259.4 kB / 0.6187 GB, free: 5.473 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005231/0.593, allocations: 127.4 kB / 0.6188 GB, free: 5.352 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003273/0.5963, allocations: 3.561 MB / 0.6223 GB, free: 1.867 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004707/0.5968, allocations: 75.61 kB / 0.6224 GB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.157e-05/0.5969, allocations: 15.12 kB / 0.6224 GB, free: 1.781 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.959e-06/0.5969, allocations: 4 kB / 0.6224 GB, free: 1.777 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009708/0.5978, allocations: 0.5116 MB / 0.6229 GB, free: 1.402 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.5979, allocations: 4 kB / 0.6229 GB, free: 1.398 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003687/0.5982, allocations: 125.3 kB / 0.623 GB, free: 1.297 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007026/0.599, allocations: 171 kB / 0.6232 GB, free: 1.133 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002894/0.6019, allocations: 3.022 MB / 0.6261 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004488/0.6023, allocations: 55.5 kB / 0.6262 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.6024, allocations: 19.5 kB / 0.6262 GB, free: 14.08 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.000187/0.6026, allocations: 124.9 kB / 0.6263 GB, free: 13.95 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007847/0.6034, allocations: 446.9 kB / 0.6268 GB, free: 13.62 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000192/0.6036, allocations: 86.97 kB / 0.6268 GB, free: 13.54 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002205/0.6038, allocations: 85.47 kB / 0.6269 GB, free: 13.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.125e-06/0.6038, allocations: 8 kB / 0.6269 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.6038, allocations: 0 / 0.6269 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.6038, allocations: 7.969 kB / 0.6269 GB, free: 13.48 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009996/0.6049, allocations: 0.6481 MB / 0.6276 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.6049, allocations: 4 kB / 0.6276 GB, free: 12.96 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005958/0.6055, allocations: 126.7 kB / 0.6277 GB, free: 12.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.147e-05/0.6055, allocations: 4 kB / 0.6277 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.6055, allocations: 0 / 0.6277 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.947e-06/0.6056, allocations: 4 kB / 0.6277 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6056, allocations: 0 / 0.6277 GB, free: 12.83 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.6068, allocations: 1.046 MB / 0.6287 GB, free: 11.98 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002725/0.607, allocations: 207.3 kB / 0.6289 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.716e-05/0.6071, allocations: 3.188 kB / 0.6289 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007263/0.6079, allocations: 47.95 kB / 0.629 GB, free: 11.74 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.608, allocations: 35.16 kB / 0.629 GB, free: 11.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.599e-05/0.6081, allocations: 15.88 kB / 0.629 GB, free: 11.7 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0005972/0.6087, allocations: 401.3 kB / 0.6294 GB, free: 11.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.6087, allocations: 0 / 0.6294 GB, free: 11.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001176/0.6099, allocations: 254.8 kB / 0.6296 GB, free: 11.16 MB / 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.001849/0.6117, allocations: 1.801 MB / 0.6314 GB, free: 9.566 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003283/0.615, allocations: 1.424 MB / 0.6328 GB, free: 8.359 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.6151, allocations: 0 / 0.6328 GB, free: 8.359 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003363/0.6154, allocations: 217.7 kB / 0.633 GB, free: 8.219 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001112/0.6165, allocations: 196.3 kB / 0.6332 GB, free: 8.07 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002567/0.6191, allocations: 1.206 MB / 0.6344 GB, free: 6.922 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007442/0.6199, allocations: 1.002 MB / 0.6353 GB, free: 5.887 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0006922/0.6206, allocations: 143.4 kB / 0.6355 GB, free: 5.742 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004304/0.621, allocations: 313.9 kB / 0.6358 GB, free: 5.68 MB / 426.7 MB Notification: Performance of SimCode: time 1.072e-06/0.621, allocations: 0 / 0.6358 GB, free: 5.68 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.046/0.667, allocations: 17.51 MB / 0.6529 GB, free: 4.234 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002101/0.6673, allocations: 116.7 kB / 0.653 GB, free: 4.043 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.499/3.167, allocations: 0 / 0.653 GB, free: 4.043 MB / 442.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.LimPID_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_LimPID_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_LimPID.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.LimPID.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.LimPID_res.mat does not exist to compare? outputFormat=mat