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.001108/0.001108, allocations: 198.7 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.43/1.43, allocations: 227.2 MB / 245 MB, free: 7.629 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009058/0.000906, allocations: 96.44 kB / 297.3 MB, free: 6.207 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4308/0.4308, allocations: 45.22 MB / 394.6 MB, free: 31.69 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002948, allocations: 8 kB / 468.5 MB, free: 7.66 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4271, allocations: 63.25 MB / 0.5193 GB, free: 43.19 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1264/0.5536, allocations: 91.13 MB / 0.6083 GB, free: 14.39 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000183/0.5539, allocations: 69.59 kB / 0.6083 GB, free: 14.33 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04056/0.5944, allocations: 15.43 MB / 0.6234 GB, free: 14.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5945, allocations: 0 / 0.6234 GB, free: 14.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.769e-05/0.5946, allocations: 23.94 kB / 0.6234 GB, free: 14.86 MB / 442.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.002493/0.5971, allocations: 1.187 MB / 0.6246 GB, free: 13.62 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.5971, allocations: 12.03 kB / 0.6246 GB, free: 13.61 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002335/0.5974, allocations: 102.5 kB / 0.6247 GB, free: 13.5 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002428/0.5976, allocations: 114.6 kB / 0.6248 GB, free: 13.39 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001114/0.5988, allocations: 0.6209 MB / 0.6254 GB, free: 12.73 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.519e-05/0.5988, allocations: 53.27 kB / 0.6254 GB, free: 12.67 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000118/0.5989, allocations: 63.98 kB / 0.6255 GB, free: 12.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001473/0.6004, allocations: 0.7524 MB / 0.6262 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.6005, allocations: 3.938 kB / 0.6262 GB, free: 11.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.263e-05/0.6005, allocations: 28 kB / 0.6263 GB, free: 11.77 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.6006, allocations: 16.33 kB / 0.6263 GB, free: 11.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001327/0.6019, allocations: 0.5867 MB / 0.6269 GB, free: 11.17 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004082/0.606, allocations: 2.774 MB / 0.6296 GB, free: 8.297 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001589/0.6076, allocations: 0.7391 MB / 0.6303 GB, free: 7.523 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.462e-05/0.6077, allocations: 15.98 kB / 0.6303 GB, free: 7.508 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.6077, allocations: 38.56 kB / 0.6303 GB, free: 7.461 MB / 442.7 MB Notification: Performance of pre-optimization done (n=52): time 2.826e-06/0.6077, allocations: 0 / 0.6303 GB, free: 7.461 MB / 442.7 MB Notification: Performance of matching and sorting (n=52): time 0.00194/0.6097, allocations: 0.8698 MB / 0.6312 GB, free: 6.59 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001248/0.6098, allocations: 243.3 kB / 0.6314 GB, free: 6.297 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000847/0.6107, allocations: 0.61 MB / 0.632 GB, free: 5.68 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 5.978e-05/0.6107, allocations: 33.7 kB / 0.6321 GB, free: 5.641 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004/0.6112, allocations: 428.5 kB / 0.6325 GB, free: 5.215 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002028/0.6114, allocations: 185.2 kB / 0.6326 GB, free: 5.031 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.798e-05/0.6114, allocations: 16 kB / 0.6327 GB, free: 5.016 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001991/0.6116, allocations: 326 kB / 0.633 GB, free: 4.691 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005583/0.6122, allocations: 248.9 kB / 0.6332 GB, free: 4.449 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006544/0.6129, allocations: 376.1 kB / 0.6336 GB, free: 4.027 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005897/0.6135, allocations: 275.4 kB / 0.6338 GB, free: 3.762 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.151e-06/0.6135, allocations: 4 kB / 0.6338 GB, free: 3.758 MB / 442.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002574/0.6161, allocations: 1.104 MB / 0.6349 GB, free: 2.637 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006045/0.6167, allocations: 1.138 MB / 0.636 GB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.888e-05/0.6167, allocations: 3.953 kB / 0.636 GB, free: 1.406 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001368/0.6181, allocations: 367.1 kB / 0.6364 GB, free: 1.035 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005594/0.6186, allocations: 127.8 kB / 0.6365 GB, free: 0.9102 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004134/0.6228, allocations: 3.848 MB / 0.6403 GB, free: 12.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005574/0.6234, allocations: 91.48 kB / 0.6403 GB, free: 12.75 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.581e-05/0.6234, allocations: 20.06 kB / 0.6404 GB, free: 12.73 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.6234, allocations: 8 kB / 0.6404 GB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001371/0.6248, allocations: 0.6642 MB / 0.641 GB, free: 12.06 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.6248, allocations: 4 kB / 0.641 GB, free: 12.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004962/0.6253, allocations: 153.8 kB / 0.6412 GB, free: 11.9 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007345/0.6261, allocations: 175.8 kB / 0.6413 GB, free: 11.73 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003362/0.6295, allocations: 3.308 MB / 0.6446 GB, free: 8.148 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004766/0.63, allocations: 75.52 kB / 0.6446 GB, free: 8.074 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.134e-05/0.63, allocations: 20 kB / 0.6447 GB, free: 8.055 MB / 458.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 () * Number of clocked 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.0004149/0.6304, allocations: 285 kB / 0.6449 GB, free: 7.766 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.6306, allocations: 90.88 kB / 0.645 GB, free: 7.676 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002029/0.6308, allocations: 99.16 kB / 0.6451 GB, free: 7.578 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.614e-06/0.6309, allocations: 7.984 kB / 0.6451 GB, free: 7.57 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.6309, allocations: 8 kB / 0.6451 GB, free: 7.562 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.271e-06/0.6309, allocations: 3.953 kB / 0.6451 GB, free: 7.559 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.6319, allocations: 0.7349 MB / 0.6458 GB, free: 6.777 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.6319, allocations: 0 / 0.6458 GB, free: 6.777 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005679/0.6325, allocations: 116.2 kB / 0.646 GB, free: 6.664 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.6325, allocations: 8 kB / 0.646 GB, free: 6.656 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.903e-05/0.6326, allocations: 11.98 kB / 0.646 GB, free: 6.645 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.164e-06/0.6326, allocations: 11.94 kB / 0.646 GB, free: 6.633 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.6326, allocations: 0 / 0.646 GB, free: 6.633 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001843/0.6344, allocations: 1.312 MB / 0.6473 GB, free: 5.277 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002815/0.6347, allocations: 219.7 kB / 0.6475 GB, free: 5.043 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.465e-05/0.6348, allocations: 15.94 kB / 0.6475 GB, free: 5.027 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000514/0.6353, allocations: 55.97 kB / 0.6475 GB, free: 4.973 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.6354, allocations: 35.89 kB / 0.6476 GB, free: 4.938 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.963e-05/0.6355, allocations: 19.98 kB / 0.6476 GB, free: 4.918 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005654/0.6361, allocations: 483 kB / 0.6481 GB, free: 4.453 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6361, allocations: 4 kB / 0.6481 GB, free: 4.449 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0008725/0.6369, allocations: 263.1 kB / 0.6483 GB, free: 4.191 MB / 458.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 () * Number of clocked 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.002282/0.6392, allocations: 2.086 MB / 0.6504 GB, free: 2.066 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.003732/0.643, allocations: 1.683 MB / 0.652 GB, free: 356 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.643, allocations: 0 / 0.652 GB, free: 356 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005666/0.6436, allocations: 303.7 kB / 0.6523 GB, free: 52 kB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001033/0.6446, allocations: 212.1 kB / 0.6525 GB, free: 15.85 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009083/0.6537, allocations: 7.063 MB / 0.6594 GB, free: 8.531 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005974/0.6543, allocations: 1.003 MB / 0.6604 GB, free: 7.508 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004121/0.6548, allocations: 89.11 kB / 0.6604 GB, free: 7.418 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004197/0.6552, allocations: 327.3 kB / 0.6608 GB, free: 7.098 MB / 474.7 MB Notification: Performance of SimCode: time 7.81e-07/0.6552, allocations: 0 / 0.6608 GB, free: 7.098 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03967/0.6949, allocations: 17.83 MB / 0.6782 GB, free: 5.465 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001614/0.6951, allocations: 189.4 kB / 0.6784 GB, free: 5.223 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.566/3.261, allocations: 0 / 0.6784 GB, free: 5.223 MB / 490.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