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.001652/0.001652, allocations: 201.5 kB / 17.08 MB, free: 5.062 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.567/1.567, allocations: 227.2 MB / 245 MB, free: 7.625 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00108/0.00108, allocations: 95.72 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4302/0.4302, allocations: 45.23 MB / 394.7 MB, free: 31.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003263/0.0003263, allocations: 8.219 kB / 468.5 MB, free: 7.648 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4742, allocations: 63.24 MB / 0.5193 GB, free: 43.71 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1467/0.621, allocations: 97.61 MB / 0.6146 GB, free: 8 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.6213, allocations: 71.94 kB / 0.6146 GB, free: 7.934 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0478/0.6692, allocations: 14.8 MB / 0.6291 GB, free: 9.137 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.637e-06/0.6692, allocations: 0 / 0.6291 GB, free: 9.137 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001648/0.6694, allocations: 20 kB / 0.6291 GB, free: 9.117 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: 110 * Number of variables: 110 Notification: Performance of Generate backend data structure: time 0.003528/0.673, allocations: 1.098 MB / 0.6302 GB, free: 7.969 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.465e-05/0.673, allocations: 11.97 kB / 0.6302 GB, free: 7.957 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003053/0.6733, allocations: 82.53 kB / 0.6303 GB, free: 7.867 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005894/0.6739, allocations: 107 kB / 0.6304 GB, free: 7.762 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001813/0.6758, allocations: 0.5821 MB / 0.631 GB, free: 7.137 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.987e-05/0.6759, allocations: 37 kB / 0.631 GB, free: 7.098 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001572/0.676, allocations: 59.91 kB / 0.631 GB, free: 7.039 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.6774, allocations: 0.6329 MB / 0.6317 GB, free: 6.359 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.986e-05/0.6775, allocations: 0 / 0.6317 GB, free: 6.359 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.492e-05/0.6776, allocations: 23.95 kB / 0.6317 GB, free: 6.336 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.556e-05/0.6776, allocations: 12 kB / 0.6317 GB, free: 6.324 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001291/0.6789, allocations: 0.4939 MB / 0.6322 GB, free: 5.832 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005274/0.6842, allocations: 2.71 MB / 0.6348 GB, free: 3.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/0.6856, allocations: 0.5896 MB / 0.6354 GB, free: 2.402 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.194e-05/0.6857, allocations: 4.062 kB / 0.6354 GB, free: 2.398 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.015e-05/0.6857, allocations: 42.52 kB / 0.6355 GB, free: 2.348 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 4.398e-06/0.6857, allocations: 0 / 0.6355 GB, free: 2.348 MB / 442.7 MB Notification: Performance of matching and sorting (n=44): time 0.003249/0.689, allocations: 1.196 MB / 0.6366 GB, free: 1.141 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001173/0.6891, allocations: 132.5 kB / 0.6367 GB, free: 0.9805 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001134/0.6903, allocations: 0.5817 MB / 0.6373 GB, free: 400 kB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.71e-05/0.6904, allocations: 33.7 kB / 0.6373 GB, free: 360 kB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.6907, allocations: 356 kB / 0.6377 GB, free: 0 / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.691, allocations: 165.7 kB / 0.6378 GB, free: 15.83 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.691, allocations: 19.84 kB / 0.6379 GB, free: 15.82 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001696/0.6912, allocations: 326 kB / 0.6382 GB, free: 15.49 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007024/0.6919, allocations: 297.1 kB / 0.6385 GB, free: 15.2 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008084/0.6927, allocations: 443.3 kB / 0.6389 GB, free: 14.7 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007439/0.6935, allocations: 326.2 kB / 0.6392 GB, free: 14.38 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.343e-06/0.6935, allocations: 8 kB / 0.6392 GB, free: 14.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001828/0.6953, allocations: 0.8421 MB / 0.64 GB, free: 13.53 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001026/0.6964, allocations: 1.746 MB / 0.6417 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/0.6964, allocations: 4 kB / 0.6417 GB, free: 11.64 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.468e-05/0.6965, allocations: 15.97 kB / 0.6417 GB, free: 11.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007335/0.6972, allocations: 163.8 kB / 0.6419 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.565e-05/0.6972, allocations: 8 kB / 0.6419 GB, free: 11.46 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006775/0.6979, allocations: 99.5 kB / 0.642 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.153e-05/0.698, allocations: 27.98 kB / 0.642 GB, free: 11.33 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.735e-05/0.698, allocations: 4 kB / 0.642 GB, free: 11.33 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001566/0.6996, allocations: 0.7142 MB / 0.6427 GB, free: 10.61 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/0.6996, allocations: 11.95 kB / 0.6427 GB, free: 10.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.6996, allocations: 8 kB / 0.6428 GB, free: 10.59 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006618/0.7003, allocations: 155.8 kB / 0.6429 GB, free: 10.44 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.601e-05/0.7003, allocations: 8 kB / 0.6429 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006371/0.701, allocations: 87.69 kB / 0.643 GB, free: 10.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.739e-05/0.7011, allocations: 23.94 kB / 0.643 GB, free: 10.32 MB / 458.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.0005374/0.7016, allocations: 281 kB / 0.6433 GB, free: 10.04 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002541/0.7019, allocations: 87.05 kB / 0.6434 GB, free: 9.953 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002626/0.7021, allocations: 86.17 kB / 0.6434 GB, free: 9.863 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.7022, allocations: 4 kB / 0.6434 GB, free: 9.859 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.823e-05/0.7022, allocations: 4 kB / 0.6435 GB, free: 9.855 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.205e-05/0.7022, allocations: 3.984 kB / 0.6435 GB, free: 9.852 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001992/0.7042, allocations: 0.8453 MB / 0.6443 GB, free: 8.949 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.7042, allocations: 3.953 kB / 0.6443 GB, free: 8.945 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007049/0.7049, allocations: 111.9 kB / 0.6444 GB, free: 8.836 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-05/0.705, allocations: 8 kB / 0.6444 GB, free: 8.828 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.165e-05/0.705, allocations: 12 kB / 0.6444 GB, free: 8.816 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.498e-06/0.7051, allocations: 4 kB / 0.6444 GB, free: 8.812 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.635e-06/0.7051, allocations: 0 / 0.6444 GB, free: 8.812 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002531/0.7076, allocations: 1.23 MB / 0.6456 GB, free: 7.555 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003864/0.708, allocations: 196.3 kB / 0.6458 GB, free: 7.344 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001264/0.7081, allocations: 16 kB / 0.6458 GB, free: 7.328 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006503/0.7088, allocations: 67.94 kB / 0.6459 GB, free: 7.262 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/0.709, allocations: 39.88 kB / 0.6459 GB, free: 7.223 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.814e-05/0.709, allocations: 15.98 kB / 0.6459 GB, free: 7.207 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0009318/0.71, allocations: 459 kB / 0.6464 GB, free: 6.766 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.71, allocations: 0 / 0.6464 GB, free: 6.766 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.001177/0.7112, allocations: 207.9 kB / 0.6466 GB, free: 6.562 MB / 458.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.003199/0.7144, allocations: 1.935 MB / 0.6485 GB, free: 4.586 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002716/0.7171, allocations: 1.026 MB / 0.6495 GB, free: 3.562 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.043e-05/0.7171, allocations: 128 / 0.6495 GB, free: 3.562 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007369/0.7179, allocations: 308.8 kB / 0.6498 GB, free: 3.262 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001129/0.719, allocations: 169.3 kB / 0.6499 GB, free: 3.098 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.7321, allocations: 7.733 MB / 0.6575 GB, free: 11.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008838/0.7331, allocations: 0.9653 MB / 0.6584 GB, free: 10.17 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0007048/0.7338, allocations: 156.7 kB / 0.6586 GB, free: 10.02 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004781/0.7343, allocations: 259.3 kB / 0.6588 GB, free: 9.762 MB / 474.7 MB Notification: Performance of SimCode: time 2.255e-06/0.7343, allocations: 0 / 0.6588 GB, free: 9.762 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03627/0.7706, allocations: 13.44 MB / 0.6719 GB, free: 12.48 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002605/0.7709, allocations: 168.2 kB / 0.6721 GB, free: 12.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.612/3.383, allocations: 0 / 0.6721 GB, free: 12.23 MB / 490.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