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.001056/0.001056, allocations: 197.2 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.303/1.303, allocations: 225.4 MB / 240.1 MB, free: 15.11 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000846/0.0008461, allocations: 87 kB / 292.1 MB, free: 5.949 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1886/0.1886, allocations: 45.15 MB / 389.3 MB, free: 11.86 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.503e-05/3.506e-05, allocations: 7.984 kB / 460.5 MB, free: 69.93 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1005/0.1005, allocations: 63.24 MB / 0.5114 GB, free: 6.707 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3894/0.4899, allocations: 91.07 MB / 0.6004 GB, free: 2.785 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001827/0.4902, allocations: 61.67 kB / 0.6004 GB, free: 2.758 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0386/0.5288, allocations: 15.38 MB / 0.6155 GB, free: 5.875 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5288, allocations: 0 / 0.6155 GB, free: 5.875 MB / 410.7 MB Notification: Performance of Transformations before backend: time 6.735e-05/0.5289, allocations: 31.92 kB / 0.6155 GB, free: 5.844 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.001526/0.5304, allocations: 1.046 MB / 0.6165 GB, free: 4.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.169e-05/0.5305, allocations: 15.97 kB / 0.6165 GB, free: 4.797 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001085/0.5306, allocations: 104.1 kB / 0.6166 GB, free: 4.723 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000149/0.5308, allocations: 114.8 kB / 0.6167 GB, free: 4.609 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000874/0.5316, allocations: 0.6189 MB / 0.6173 GB, free: 4.039 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.262e-05/0.5317, allocations: 51.7 kB / 0.6174 GB, free: 4.008 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.123e-05/0.5318, allocations: 71.78 kB / 0.6175 GB, free: 3.961 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009692/0.5328, allocations: 0.6703 MB / 0.6181 GB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.5328, allocations: 0 / 0.6181 GB, free: 3.438 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.09e-05/0.5328, allocations: 26.06 kB / 0.6181 GB, free: 3.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.489e-05/0.5329, allocations: 16 kB / 0.6181 GB, free: 3.414 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006582/0.5335, allocations: 440.4 kB / 0.6186 GB, free: 3.145 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003158/0.5367, allocations: 2.773 MB / 0.6213 GB, free: 0.7344 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008589/0.5376, allocations: 0.5573 MB / 0.6218 GB, free: 328 kB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002801/0.5379, allocations: 229.6 kB / 0.622 GB, free: 172 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.577e-05/0.5379, allocations: 5 kB / 0.622 GB, free: 168 kB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.698e-05/0.5379, allocations: 41.5 kB / 0.6221 GB, free: 124 kB / 410.7 MB Notification: Performance of pre-optimization done (n=52): time 1.824e-06/0.538, allocations: 4 kB / 0.6221 GB, free: 120 kB / 410.7 MB Notification: Performance of matching and sorting (n=52): time 0.0007664/0.5387, allocations: 493.1 kB / 0.6226 GB, free: 15.76 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.904e-05/0.5388, allocations: 249.9 kB / 0.6228 GB, free: 15.46 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005805/0.5394, allocations: 0.5903 MB / 0.6234 GB, free: 15 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.048e-05/0.5395, allocations: 37.2 kB / 0.6234 GB, free: 14.96 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002212/0.5397, allocations: 428.3 kB / 0.6238 GB, free: 14.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001108/0.5398, allocations: 184.4 kB / 0.624 GB, free: 14.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.393e-05/0.5398, allocations: 11.5 kB / 0.624 GB, free: 14.55 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.383e-05/0.5399, allocations: 333.5 kB / 0.6243 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002627/0.5402, allocations: 158.2 kB / 0.6245 GB, free: 14.15 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003121/0.5405, allocations: 301.4 kB / 0.6248 GB, free: 13.88 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.5408, allocations: 199.2 kB / 0.625 GB, free: 13.76 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.5408, allocations: 0 / 0.625 GB, free: 13.76 MB / 426.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001696/0.5425, allocations: 0.8952 MB / 0.6258 GB, free: 13.04 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003369/0.5429, allocations: 1.137 MB / 0.6269 GB, free: 11.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.5429, allocations: 7.938 kB / 0.6269 GB, free: 11.83 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000816/0.5437, allocations: 267.3 kB / 0.6272 GB, free: 11.62 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005074/0.5442, allocations: 127.6 kB / 0.6273 GB, free: 11.5 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002986/0.5472, allocations: 3.582 MB / 0.6308 GB, free: 7.969 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004346/0.5477, allocations: 92.02 kB / 0.6309 GB, free: 7.887 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.756e-05/0.5477, allocations: 22.81 kB / 0.6309 GB, free: 7.871 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.835e-06/0.5477, allocations: 5.094 kB / 0.6309 GB, free: 7.867 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001002/0.5487, allocations: 0.5654 MB / 0.6315 GB, free: 7.465 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.5488, allocations: 4.281 kB / 0.6315 GB, free: 7.461 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003576/0.5491, allocations: 129.2 kB / 0.6316 GB, free: 7.355 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006744/0.5498, allocations: 179.2 kB / 0.6318 GB, free: 7.184 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.5524, allocations: 3.13 MB / 0.6348 GB, free: 4.074 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/0.5528, allocations: 69.17 kB / 0.6349 GB, free: 4.016 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.26e-05/0.5528, allocations: 23.06 kB / 0.6349 GB, free: 3.996 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.0001372/0.553, allocations: 134 kB / 0.6351 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/0.5531, allocations: 94.86 kB / 0.6351 GB, free: 3.781 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001872/0.5533, allocations: 101.6 kB / 0.6352 GB, free: 3.727 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.79e-06/0.5533, allocations: 8 kB / 0.6352 GB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.5533, allocations: 0 / 0.6352 GB, free: 3.719 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.5534, allocations: 3.953 kB / 0.6353 GB, free: 3.715 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008522/0.5542, allocations: 0.735 MB / 0.636 GB, free: 3.125 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.5542, allocations: 4 kB / 0.636 GB, free: 3.121 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005379/0.5548, allocations: 122.8 kB / 0.6361 GB, free: 3.004 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.877e-06/0.5548, allocations: 0 / 0.6361 GB, free: 3.004 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.51e-05/0.5548, allocations: 15.23 kB / 0.6361 GB, free: 2.996 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.278e-06/0.5548, allocations: 4 kB / 0.6361 GB, free: 2.992 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5548, allocations: 4 kB / 0.6361 GB, free: 2.988 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.5559, allocations: 1.075 MB / 0.6372 GB, free: 2.125 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002201/0.5561, allocations: 220.7 kB / 0.6374 GB, free: 1.922 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.842e-05/0.5562, allocations: 9.938 kB / 0.6374 GB, free: 1.918 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.5567, allocations: 55.83 kB / 0.6374 GB, free: 1.871 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.409e-05/0.5568, allocations: 39.33 kB / 0.6375 GB, free: 1.836 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.844e-05/0.5568, allocations: 11.38 kB / 0.6375 GB, free: 1.828 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00045/0.5572, allocations: 478.6 kB / 0.6379 GB, free: 1.48 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.9e-07/0.5573, allocations: 3.938 kB / 0.6379 GB, free: 1.477 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007434/0.558, allocations: 273.1 kB / 0.6382 GB, free: 1.234 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.001357/0.5594, allocations: 1.847 MB / 0.64 GB, free: 15.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.002916/0.5623, allocations: 1.513 MB / 0.6415 GB, free: 14.32 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.5623, allocations: 3.938 kB / 0.6415 GB, free: 14.32 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002999/0.5626, allocations: 219.5 kB / 0.6417 GB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009615/0.5636, allocations: 203.7 kB / 0.6419 GB, free: 14.02 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.5658, allocations: 1.264 MB / 0.6431 GB, free: 12.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004477/0.5662, allocations: 1.006 MB / 0.6441 GB, free: 11.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005069/0.5667, allocations: 139.8 kB / 0.6442 GB, free: 11.68 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003184/0.5671, allocations: 321.2 kB / 0.6446 GB, free: 11.61 MB / 442.7 MB Notification: Performance of SimCode: time 1.743e-06/0.5671, allocations: 0 / 0.6446 GB, free: 11.61 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03525/0.6023, allocations: 19.28 MB / 0.6634 GB, free: 8.492 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000191/0.6025, allocations: 171.4 kB / 0.6635 GB, free: 8.262 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.326/2.928, allocations: 0 / 0.6635 GB, free: 8.262 MB / 458.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