Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.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) 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(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002193/0.002193, 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.553/1.553, allocations: 225.4 MB / 240.1 MB, free: 15.07 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009244/0.0009245, allocations: 92.89 kB / 292.1 MB, free: 5.988 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.887e-05/3.89e-05, allocations: 4 kB / 350.6 MB, free: 2.449 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1395, allocations: 51.49 MB / 402.1 MB, free: 14.91 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4175/0.557, allocations: 79.51 MB / 481.6 MB, free: 9.906 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001805/0.5572, allocations: 72.66 kB / 481.7 MB, free: 9.871 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01084/0.5681, allocations: 4.492 MB / 486.2 MB, free: 6.156 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.053e-06/0.5682, allocations: 0 / 486.2 MB, free: 6.156 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.481e-05/0.5682, allocations: 4 kB / 486.2 MB, free: 6.152 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 63 * Number of variables: 63 Notification: Performance of Generate backend data structure: time 0.0006859/0.5689, allocations: 493 kB / 486.7 MB, free: 5.648 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.746e-05/0.5689, allocations: 12.22 kB / 486.7 MB, free: 5.637 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.117e-05/0.569, allocations: 68.09 kB / 486.8 MB, free: 5.578 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.5691, allocations: 27.62 kB / 486.8 MB, free: 5.551 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002211/0.5693, allocations: 234.5 kB / 487 MB, free: 5.297 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.5693, allocations: 18.73 kB / 487 MB, free: 5.289 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.246e-05/0.5694, allocations: 31.44 kB / 487.1 MB, free: 5.27 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003473/0.5697, allocations: 206.5 kB / 487.3 MB, free: 5.121 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.5698, allocations: 7.625 kB / 487.3 MB, free: 5.117 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.284e-05/0.5698, allocations: 11.38 kB / 487.3 MB, free: 5.113 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.374e-06/0.5698, allocations: 8 kB / 487.3 MB, free: 5.105 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002376/0.57, allocations: 146.2 kB / 487.4 MB, free: 5.008 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009936/0.571, allocations: 0.7517 MB / 488.2 MB, free: 4.348 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003862/0.5714, allocations: 198.9 kB / 488.4 MB, free: 4.211 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001367/0.5716, allocations: 101.5 kB / 488.5 MB, free: 4.145 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.825e-05/0.5716, allocations: 4 kB / 488.5 MB, free: 4.141 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.716e-05/0.5716, allocations: 34.56 kB / 488.5 MB, free: 4.098 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.452e-06/0.5716, allocations: 0 / 488.5 MB, free: 4.098 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.001107/0.5728, allocations: 0.8435 MB / 489.4 MB, free: 3.305 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.81e-05/0.5728, allocations: 54.47 kB / 489.4 MB, free: 3.242 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/0.5729, allocations: 139.9 kB / 489.5 MB, free: 3.109 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.5729, allocations: 37.33 kB / 489.6 MB, free: 3.07 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.573, allocations: 138.5 kB / 489.7 MB, free: 2.949 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.106e-05/0.5731, allocations: 97.36 kB / 489.8 MB, free: 2.863 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.798e-06/0.5731, allocations: 7.25 kB / 489.8 MB, free: 2.863 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 7.717e-05/0.5732, allocations: 334.1 kB / 490.1 MB, free: 2.535 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.209e-05/0.5733, allocations: 57.75 kB / 490.2 MB, free: 2.5 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.5734, allocations: 98.67 kB / 490.3 MB, free: 2.422 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001096/0.5735, allocations: 73.61 kB / 490.4 MB, free: 2.371 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.51e-07/0.5735, allocations: 0 / 490.4 MB, free: 2.371 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002824/0.5738, allocations: 238 kB / 490.6 MB, free: 2.191 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/0.5738, allocations: 4 kB / 490.6 MB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.715e-06/0.5738, allocations: 0 / 490.6 MB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.5739, allocations: 7.984 kB / 490.6 MB, free: 2.18 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002733/0.5741, allocations: 79.81 kB / 490.7 MB, free: 2.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.5742, allocations: 4 kB / 490.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.5743, allocations: 15.48 kB / 490.7 MB, free: 2.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.5743, allocations: 7.562 kB / 490.7 MB, free: 2.086 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 35 * 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 6.935e-05/0.5744, allocations: 120.2 kB / 490.8 MB, free: 1.969 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.159e-05/0.5744, allocations: 23.77 kB / 490.9 MB, free: 1.945 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.108e-05/0.5745, allocations: 32.17 kB / 490.9 MB, free: 1.938 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.517e-06/0.5745, allocations: 4 kB / 490.9 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.5745, allocations: 0.5625 kB / 490.9 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.5745, allocations: 0 / 490.9 MB, free: 1.934 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006806/0.5752, allocations: 0.6248 MB / 491.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.5752, allocations: 5.625 kB / 491.5 MB, free: 1.355 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003071/0.5756, allocations: 78.52 kB / 491.6 MB, free: 1.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-06/0.5756, allocations: 7.938 kB / 491.6 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.663e-05/0.5756, allocations: 2.5 kB / 491.6 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.5756, allocations: 7.594 kB / 491.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5756, allocations: 0 / 491.6 MB, free: 1.27 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004355/0.5761, allocations: 434.2 kB / 492 MB, free: 0.8633 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.971e-05/0.5761, allocations: 92.92 kB / 492.1 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.797e-05/0.5761, allocations: 4.062 kB / 492.1 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.5763, allocations: 15.98 kB / 492.2 MB, free: 0.7344 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.613e-05/0.5763, allocations: 19.92 kB / 492.2 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.369e-05/0.5764, allocations: 13.38 kB / 492.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.607e-05/0.5764, allocations: 123.5 kB / 492.3 MB, free: 0.582 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5764, allocations: 0 / 492.3 MB, free: 0.582 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002949/0.5767, allocations: 56 kB / 492.4 MB, free: 0.5273 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 6 (shaft.phi,shaft.w,load.phi,load.w,springDamper.phi_rel,springDamper.w_rel) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 28 * 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.0008603/0.5776, allocations: 1.099 MB / 493.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00033/0.578, allocations: 181 kB / 493.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.578, allocations: 0 / 493.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001474/0.5781, allocations: 96.95 kB / 493.7 MB, free: 15.12 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003485/0.5785, allocations: 33.61 kB / 493.8 MB, free: 15.09 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001583/0.5801, allocations: 0.7478 MB / 494.5 MB, free: 14.31 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006785/0.5808, allocations: 0.76 MB / 495.3 MB, free: 13.52 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001006/0.5809, allocations: 22.02 kB / 495.3 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001486/0.581, allocations: 75.41 kB / 495.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of SimCode: time 5.05e-06/0.581, allocations: 0 / 495.4 MB, free: 13.42 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01768/0.5987, allocations: 4.017 MB / 499.4 MB, free: 9.637 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002128/0.599, allocations: 156.2 kB / 499.5 MB, free: 9.414 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.354, allocations: 3.422 kB / 499.5 MB, free: 9.414 MB / 362.7 MB (rm -f Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_Rotational_Examples_ElasticBearing.fmu > Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat