Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.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_InitialState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.Continuous_InitialState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00178/0.00178, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.466/1.466, allocations: 227.2 MB / 245 MB, free: 5.949 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00123/0.00123, allocations: 95.33 kB / 297.2 MB, free: 5.977 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4199/0.4199, allocations: 45.24 MB / 394.7 MB, free: 31.75 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002854/0.0002854, allocations: 11.98 kB / 468.5 MB, free: 7.629 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4148/0.4151, allocations: 63.24 MB / 0.5193 GB, free: 37.51 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1617/0.5769, allocations: 98.02 MB / 0.615 GB, free: 5.402 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002243/0.5772, allocations: 71.94 kB / 0.6151 GB, free: 5.336 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08383/0.661, allocations: 28.01 MB / 0.6424 GB, free: 9.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.6611, allocations: 0 / 0.6424 GB, free: 9.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001122/0.6612, allocations: 23.98 kB / 0.6424 GB, free: 9.207 MB / 458.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.003039/0.6642, allocations: 1.094 MB / 0.6435 GB, free: 8.062 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.6643, allocations: 8.031 kB / 0.6435 GB, free: 8.055 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002474/0.6646, allocations: 86.52 kB / 0.6436 GB, free: 7.961 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005177/0.6651, allocations: 107 kB / 0.6437 GB, free: 7.855 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00153/0.6666, allocations: 0.5859 MB / 0.6443 GB, free: 7.223 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.376e-05/0.6667, allocations: 37 kB / 0.6443 GB, free: 7.188 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.6668, allocations: 59.95 kB / 0.6444 GB, free: 7.129 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00133/0.6682, allocations: 0.6291 MB / 0.645 GB, free: 6.445 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.68e-05/0.6682, allocations: 3.906 kB / 0.645 GB, free: 6.441 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.799e-05/0.6683, allocations: 20 kB / 0.645 GB, free: 6.422 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.563e-05/0.6683, allocations: 12 kB / 0.645 GB, free: 6.41 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.6695, allocations: 0.4939 MB / 0.6455 GB, free: 5.918 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004513/0.674, allocations: 2.706 MB / 0.6481 GB, free: 3.109 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001294/0.6753, allocations: 0.5878 MB / 0.6487 GB, free: 2.496 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.069e-05/0.6754, allocations: 4.062 kB / 0.6487 GB, free: 2.492 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.6755, allocations: 42.59 kB / 0.6487 GB, free: 2.441 MB / 458.7 MB Notification: Performance of pre-optimization done (n=43): time 3.015e-06/0.6755, allocations: 0 / 0.6487 GB, free: 2.441 MB / 458.7 MB Notification: Performance of matching and sorting (n=44): time 0.002844/0.6783, allocations: 1.207 MB / 0.6499 GB, free: 1.223 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.809e-05/0.6784, allocations: 136.5 kB / 0.6501 GB, free: 1.059 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001068/0.6795, allocations: 0.5779 MB / 0.6506 GB, free: 484 kB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 5.391e-05/0.6796, allocations: 33.7 kB / 0.6507 GB, free: 444 kB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000295/0.6799, allocations: 352.1 kB / 0.651 GB, free: 84 kB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002024/0.6801, allocations: 173.5 kB / 0.6512 GB, free: 15.91 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.024e-05/0.6801, allocations: 16 kB / 0.6512 GB, free: 15.89 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.6803, allocations: 326 kB / 0.6515 GB, free: 15.57 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006748/0.6809, allocations: 285.1 kB / 0.6517 GB, free: 15.29 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007922/0.6818, allocations: 449.8 kB / 0.6522 GB, free: 14.78 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007414/0.6825, allocations: 329.8 kB / 0.6525 GB, free: 14.46 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.6825, allocations: 7.953 kB / 0.6525 GB, free: 14.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001888/0.6844, allocations: 0.8422 MB / 0.6533 GB, free: 13.61 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007965/0.6852, allocations: 1.75 MB / 0.655 GB, free: 11.72 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.6853, allocations: 7.938 kB / 0.655 GB, free: 11.71 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.74e-05/0.6853, allocations: 8 kB / 0.655 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007544/0.6861, allocations: 159.8 kB / 0.6552 GB, free: 11.55 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.159e-05/0.6861, allocations: 15.95 kB / 0.6552 GB, free: 11.53 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007242/0.6868, allocations: 91.5 kB / 0.6553 GB, free: 11.44 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.909e-05/0.6869, allocations: 32 kB / 0.6553 GB, free: 11.41 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.6869, allocations: 4 kB / 0.6553 GB, free: 11.41 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00159/0.6885, allocations: 0.7099 MB / 0.656 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.398e-05/0.6885, allocations: 8.516 kB / 0.656 GB, free: 10.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.6886, allocations: 12 kB / 0.656 GB, free: 10.68 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/0.6892, allocations: 151.8 kB / 0.6562 GB, free: 10.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.449e-05/0.6893, allocations: 15.88 kB / 0.6562 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006652/0.6899, allocations: 91.53 kB / 0.6563 GB, free: 10.42 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.583e-05/0.69, allocations: 20 kB / 0.6563 GB, free: 10.4 MB / 474.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 () * Number of clocked 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.0004904/0.6905, allocations: 291.2 kB / 0.6566 GB, free: 10.11 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.6907, allocations: 75.06 kB / 0.6567 GB, free: 10.04 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002505/0.691, allocations: 90.22 kB / 0.6568 GB, free: 9.945 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.337e-06/0.691, allocations: 7.984 kB / 0.6568 GB, free: 9.938 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.337e-05/0.691, allocations: 4 kB / 0.6568 GB, free: 9.934 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.691, allocations: 0 / 0.6568 GB, free: 9.934 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.6926, allocations: 0.8414 MB / 0.6576 GB, free: 9.035 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.6927, allocations: 4 kB / 0.6576 GB, free: 9.031 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000724/0.6934, allocations: 111.9 kB / 0.6577 GB, free: 8.922 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.075e-06/0.6934, allocations: 4 kB / 0.6577 GB, free: 8.918 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.408e-05/0.6935, allocations: 23.98 kB / 0.6577 GB, free: 8.895 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.6935, allocations: 0 / 0.6577 GB, free: 8.895 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.6935, allocations: 4 kB / 0.6577 GB, free: 8.891 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002303/0.6958, allocations: 1.234 MB / 0.6589 GB, free: 7.629 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003444/0.6962, allocations: 204.2 kB / 0.6591 GB, free: 7.41 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.6963, allocations: 11.98 kB / 0.6591 GB, free: 7.398 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006492/0.697, allocations: 67.94 kB / 0.6592 GB, free: 7.332 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001393/0.6971, allocations: 43.83 kB / 0.6592 GB, free: 7.289 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.6971, allocations: 12 kB / 0.6593 GB, free: 7.277 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0008459/0.698, allocations: 455 kB / 0.6597 GB, free: 6.84 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.698, allocations: 0 / 0.6597 GB, free: 6.84 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0009535/0.699, allocations: 212 kB / 0.6599 GB, free: 6.633 MB / 474.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 () * Number of clocked 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.002726/0.7017, allocations: 1.917 MB / 0.6618 GB, free: 4.676 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.002345/0.7041, allocations: 1.024 MB / 0.6628 GB, free: 3.656 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.7041, allocations: 0 / 0.6628 GB, free: 3.656 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006824/0.7048, allocations: 312.5 kB / 0.6631 GB, free: 3.352 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001005/0.7058, allocations: 165.3 kB / 0.6632 GB, free: 3.191 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01139/0.7172, allocations: 7.738 MB / 0.6708 GB, free: 11.24 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006681/0.7179, allocations: 0.9653 MB / 0.6717 GB, free: 10.25 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006461/0.7186, allocations: 148.8 kB / 0.6719 GB, free: 10.11 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004343/0.719, allocations: 263.3 kB / 0.6721 GB, free: 9.848 MB / 490.7 MB Notification: Performance of SimCode: time 2.144e-06/0.719, allocations: 0 / 0.6721 GB, free: 9.848 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3375/1.057, allocations: 13.45 MB / 0.6852 GB, free: 125.9 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001915/1.057, allocations: 177.9 kB / 0.6854 GB, free: 125.7 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.596/3.653, allocations: 0 / 0.6854 GB, free: 125.7 MB / 490.7 MB (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState_fmu --startTime=0 --stopTime=1.1 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_Continuous_InitialState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_trunk_ModelicaTest.Blocks.Continuous_InitialState_res.mat does not exist to compare? outputFormat=mat