Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.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.Continuous,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001057/0.001058, allocations: 197 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.243/1.243, 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.0008281/0.0008281, allocations: 91.11 kB / 292.1 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1872/0.1872, allocations: 45.15 MB / 389.3 MB, free: 11.89 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.369e-05/2.372e-05, allocations: 4 kB / 460.5 MB, free: 69.95 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09764/0.09768, allocations: 63.25 MB / 0.5115 GB, free: 6.715 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.412/0.5098, allocations: 97.54 MB / 0.6067 GB, free: 12.45 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002691/0.5101, allocations: 59.67 kB / 0.6068 GB, free: 12.42 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05771/0.5678, allocations: 14.77 MB / 0.6212 GB, free: 15.92 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.5678, allocations: 4 kB / 0.6212 GB, free: 15.91 MB / 426.7 MB Notification: Performance of Transformations before backend: time 7.957e-05/0.5679, allocations: 20 kB / 0.6212 GB, free: 15.89 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.001934/0.5699, allocations: 0.9567 MB / 0.6221 GB, free: 14.94 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.5699, allocations: 15.97 kB / 0.6222 GB, free: 14.93 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001544/0.5701, allocations: 82.33 kB / 0.6222 GB, free: 14.86 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003971/0.5705, allocations: 114.9 kB / 0.6223 GB, free: 14.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001124/0.5716, allocations: 0.5467 MB / 0.6229 GB, free: 14.23 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.387e-05/0.5717, allocations: 43.17 kB / 0.6229 GB, free: 14.2 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.752e-05/0.5718, allocations: 57.34 kB / 0.623 GB, free: 14.17 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008517/0.5727, allocations: 0.5508 MB / 0.6235 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.936e-05/0.5727, allocations: 3.625 kB / 0.6235 GB, free: 13.71 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.748e-05/0.5727, allocations: 18.52 kB / 0.6235 GB, free: 13.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.009e-05/0.5728, allocations: 12 kB / 0.6235 GB, free: 13.69 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006094/0.5734, allocations: 374.8 kB / 0.6239 GB, free: 13.44 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/0.5769, allocations: 2.702 MB / 0.6265 GB, free: 11.03 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007188/0.5777, allocations: 484.8 kB / 0.627 GB, free: 10.67 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002837/0.578, allocations: 198.1 kB / 0.6272 GB, free: 10.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.091e-05/0.578, allocations: 4 kB / 0.6272 GB, free: 10.53 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.578, allocations: 49.8 kB / 0.6272 GB, free: 10.48 MB / 426.7 MB Notification: Performance of pre-optimization done (n=43): time 1.963e-06/0.5781, allocations: 3.938 kB / 0.6272 GB, free: 10.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=44): time 0.001269/0.5793, allocations: 0.7994 MB / 0.628 GB, free: 9.785 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.546e-05/0.5794, allocations: 132.5 kB / 0.6282 GB, free: 9.625 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/0.58, allocations: 0.5459 MB / 0.6287 GB, free: 9.188 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 4.115e-05/0.5801, allocations: 36.2 kB / 0.6287 GB, free: 9.152 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001965/0.5803, allocations: 353.8 kB / 0.6291 GB, free: 8.941 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001241/0.5804, allocations: 173 kB / 0.6292 GB, free: 8.793 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.857e-05/0.5805, allocations: 13.62 kB / 0.6292 GB, free: 8.789 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001132/0.5806, allocations: 334.9 kB / 0.6296 GB, free: 8.469 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.5809, allocations: 199.8 kB / 0.6297 GB, free: 8.344 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004134/0.5813, allocations: 369.9 kB / 0.6301 GB, free: 7.996 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000361/0.5817, allocations: 242.8 kB / 0.6303 GB, free: 7.836 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.629e-06/0.5817, allocations: 4 kB / 0.6303 GB, free: 7.832 MB / 426.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.0009486/0.5826, allocations: 0.6842 MB / 0.631 GB, free: 7.305 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0006141/0.5833, allocations: 1.745 MB / 0.6327 GB, free: 5.457 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.246e-06/0.5833, allocations: 4 kB / 0.6327 GB, free: 5.453 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.5833, allocations: 8 kB / 0.6327 GB, free: 5.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000681/0.584, allocations: 166.9 kB / 0.6329 GB, free: 5.285 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.584, allocations: 11.98 kB / 0.6329 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005285/0.5846, allocations: 94.81 kB / 0.633 GB, free: 5.191 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.5846, allocations: 22.06 kB / 0.633 GB, free: 5.176 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.343e-06/0.5846, allocations: 4.625 kB / 0.633 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008358/0.5855, allocations: 0.5797 MB / 0.6336 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.5855, allocations: 4 kB / 0.6336 GB, free: 4.754 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.5855, allocations: 8 kB / 0.6336 GB, free: 4.746 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005869/0.5861, allocations: 159.8 kB / 0.6337 GB, free: 4.594 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.055e-06/0.5861, allocations: 8 kB / 0.6337 GB, free: 4.586 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004781/0.5866, allocations: 83.12 kB / 0.6338 GB, free: 4.516 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.022e-05/0.5866, allocations: 27.44 kB / 0.6338 GB, free: 4.492 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 4 (limPID.I.local_reset,pID.I.local_reset,limIntegrator.local_reset,integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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 prepare postOptimizeDAE: time 0.0001245/0.5868, allocations: 142.4 kB / 0.634 GB, free: 4.363 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001378/0.5869, allocations: 75.06 kB / 0.6341 GB, free: 4.289 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.5871, allocations: 95 kB / 0.6341 GB, free: 4.234 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.693e-06/0.5871, allocations: 4 kB / 0.6341 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.5871, allocations: 0 / 0.6341 GB, free: 4.23 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.5871, allocations: 3.984 kB / 0.6342 GB, free: 4.227 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001047/0.5882, allocations: 0.8131 MB / 0.6349 GB, free: 3.539 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.556e-06/0.5882, allocations: 3.953 kB / 0.635 GB, free: 3.535 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006269/0.5888, allocations: 118.5 kB / 0.6351 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.5889, allocations: 0 / 0.6351 GB, free: 3.422 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.994e-05/0.5889, allocations: 18.36 kB / 0.6351 GB, free: 3.41 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.549e-06/0.5889, allocations: 8 kB / 0.6351 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.5889, allocations: 0 / 0.6351 GB, free: 3.402 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.59, allocations: 0.9851 MB / 0.6361 GB, free: 2.598 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002398/0.5903, allocations: 200.3 kB / 0.6362 GB, free: 2.406 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.507e-05/0.5903, allocations: 21.23 kB / 0.6363 GB, free: 2.395 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005416/0.5909, allocations: 63.86 kB / 0.6363 GB, free: 2.336 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.479e-05/0.591, allocations: 41.83 kB / 0.6364 GB, free: 2.301 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.361e-05/0.591, allocations: 18.61 kB / 0.6364 GB, free: 2.285 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0004398/0.5915, allocations: 434.5 kB / 0.6368 GB, free: 1.965 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5915, allocations: 0 / 0.6368 GB, free: 1.965 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0007072/0.5922, allocations: 194.9 kB / 0.637 GB, free: 1.797 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 18 (limPID.I.y,limPID.D.x,transferFunction.x_scaled[1],stateSpace.x[1],stateSpace.x[2],lowpassButterworth.x1[1],lowpassButterworth.x2[1],criticalDamping.x[1],criticalDamping.x[2],integrator.y,limIntegrator.y,derivative.x,firstOrder.y,secondOrder.y,secondOrder.yd,pI.x,pID.I.y,pID.D.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 44 * 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.001433/0.5936, allocations: 1.703 MB / 0.6386 GB, free: 288 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001203/0.5949, allocations: 0.8204 MB / 0.6394 GB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.5949, allocations: 0 / 0.6394 GB, free: 15.7 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003213/0.5952, allocations: 220.8 kB / 0.6397 GB, free: 15.54 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008089/0.596, allocations: 167.6 kB / 0.6398 GB, free: 15.42 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002318/0.5983, allocations: 1.37 MB / 0.6412 GB, free: 14.14 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004529/0.5988, allocations: 0.9742 MB / 0.6421 GB, free: 13.14 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0006727/0.5995, allocations: 203.2 kB / 0.6423 GB, free: 12.95 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000304/0.5998, allocations: 246.4 kB / 0.6425 GB, free: 12.89 MB / 442.7 MB Notification: Performance of SimCode: time 1.803e-06/0.5998, allocations: 4 kB / 0.6425 GB, free: 12.88 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02629/0.6261, allocations: 14.58 MB / 0.6568 GB, free: 14.44 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000178/0.6263, allocations: 139.1 kB / 0.6569 GB, free: 14.21 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/2.947, allocations: 0 / 0.6569 GB, free: 14.21 MB / 458.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_res.mat does not exist to compare? outputFormat=mat