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.002856/0.002856, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.35/1.35, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008106/0.0008106, allocations: 89.64 kB / 286.7 MB, free: 5.258 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.22e-05/2.228e-05, allocations: 4 kB / 343.8 MB, free: 8.176 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1124/0.1124, allocations: 51.47 MB / 395.3 MB, free: 4.656 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3407/0.4532, allocations: 78.84 MB / 474.1 MB, free: 12.81 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/0.4534, allocations: 66.44 kB / 474.2 MB, free: 12.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01103/0.4645, allocations: 4.461 MB / 478.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.4645, allocations: 0 / 478.6 MB, free: 10.25 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.573e-05/0.4645, allocations: 14.81 kB / 478.6 MB, free: 10.24 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.0005622/0.4651, allocations: 496.3 kB / 479.1 MB, free: 9.766 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.4651, allocations: 12.03 kB / 479.1 MB, free: 9.754 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.4652, allocations: 27.62 kB / 479.2 MB, free: 9.727 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002017/0.4654, allocations: 236.5 kB / 479.4 MB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.4654, allocations: 13.02 kB / 479.4 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.643e-05/0.4655, allocations: 16 kB / 479.4 MB, free: 9.457 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002354/0.4657, allocations: 135 kB / 479.6 MB, free: 9.379 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002769/0.466, allocations: 168.1 kB / 479.7 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.68e-05/0.466, allocations: 1.359 kB / 479.7 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/0.4661, allocations: 0 / 479.7 MB, free: 9.266 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.173e-06/0.4661, allocations: 12 kB / 479.7 MB, free: 9.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008661/0.4669, allocations: 0.6917 MB / 480.4 MB, free: 8.676 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003052/0.4673, allocations: 186 kB / 480.6 MB, free: 8.551 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000112/0.4674, allocations: 89.3 kB / 480.7 MB, free: 8.492 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.655e-05/0.4674, allocations: 7.938 kB / 480.7 MB, free: 8.484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.435e-05/0.4674, allocations: 46.05 kB / 480.7 MB, free: 8.438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=26): time 1.233e-06/0.4674, allocations: 0 / 480.7 MB, free: 8.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009137/0.4684, allocations: 0.7712 MB / 481.5 MB, free: 7.688 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.78e-05/0.4684, allocations: 51.41 kB / 481.6 MB, free: 7.625 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.4685, allocations: 125.6 kB / 481.7 MB, free: 7.508 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.255e-05/0.4685, allocations: 29.7 kB / 481.7 MB, free: 7.473 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.411e-05/0.4686, allocations: 145.9 kB / 481.9 MB, free: 7.34 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.236e-05/0.4686, allocations: 96.38 kB / 482 MB, free: 7.258 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.286e-06/0.4686, allocations: 4 kB / 482 MB, free: 7.254 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.4687, allocations: 325.6 kB / 482.3 MB, free: 6.934 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.066e-05/0.4688, allocations: 55.56 kB / 482.3 MB, free: 6.902 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.332e-05/0.4689, allocations: 86.05 kB / 482.4 MB, free: 6.832 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.527e-05/0.469, allocations: 73.09 kB / 482.5 MB, free: 6.785 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-06/0.469, allocations: 5.781 kB / 482.5 MB, free: 6.781 MB / 346.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0002444/0.4692, allocations: 212.6 kB / 482.7 MB, free: 6.617 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.4693, allocations: 5.875 kB / 482.7 MB, free: 6.613 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.4693, allocations: 7.953 kB / 482.7 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.4693, allocations: 0 / 482.7 MB, free: 6.605 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002741/0.4696, allocations: 83.97 kB / 482.8 MB, free: 6.523 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/0.4696, allocations: 4 kB / 482.8 MB, free: 6.52 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000116/0.4697, allocations: 11.98 kB / 482.8 MB, free: 6.508 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.511e-05/0.4697, allocations: 11.88 kB / 482.8 MB, free: 6.5 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 5.858e-05/0.4698, allocations: 105.2 kB / 482.9 MB, free: 6.391 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002103/0.47, allocations: 175.4 kB / 483.1 MB, free: 6.25 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.253e-05/0.47, allocations: 19.77 kB / 483.1 MB, free: 6.23 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.343e-05/0.4701, allocations: 30.7 kB / 483.1 MB, free: 6.215 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/0.4701, allocations: 4 kB / 483.1 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.4701, allocations: 0 / 483.1 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.4701, allocations: 0 / 483.1 MB, free: 6.211 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/0.4707, allocations: 0.5621 MB / 483.7 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.4707, allocations: 0 / 483.7 MB, free: 5.695 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003081/0.471, allocations: 79.95 kB / 483.8 MB, free: 5.617 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.471, allocations: 9.719 kB / 483.8 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.554e-05/0.4711, allocations: 2.688 kB / 483.8 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.4711, allocations: 0 / 483.8 MB, free: 5.609 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/0.4711, allocations: 4 kB / 483.8 MB, free: 5.605 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000351/0.4714, allocations: 395.8 kB / 484.2 MB, free: 5.258 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.4715, allocations: 96.91 kB / 484.3 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.78e-05/0.4715, allocations: 3.688 kB / 484.3 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.4716, allocations: 8 kB / 484.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.965e-05/0.4717, allocations: 23.09 kB / 484.3 MB, free: 5.117 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.11e-05/0.4717, allocations: 7.953 kB / 484.3 MB, free: 5.109 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.441e-05/0.4718, allocations: 111.8 kB / 484.4 MB, free: 5.012 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4718, allocations: 0 / 484.4 MB, free: 5.012 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002783/0.4721, allocations: 52 kB / 484.5 MB, free: 4.961 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.0005279/0.4726, allocations: 1.066 MB / 485.6 MB, free: 3.934 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0002202/0.4728, allocations: 160.8 kB / 485.7 MB, free: 3.824 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.4728, allocations: 5.812 kB / 485.7 MB, free: 3.82 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 9.916e-05/0.4729, allocations: 83.19 kB / 485.8 MB, free: 3.762 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003217/0.4733, allocations: 32.19 kB / 485.8 MB, free: 3.738 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001076/0.4744, allocations: 0.7324 MB / 486.6 MB, free: 3.008 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001598/0.4745, allocations: 0.7598 MB / 487.3 MB, free: 2.219 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 7.948e-05/0.4746, allocations: 18.06 kB / 487.3 MB, free: 2.203 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.68e-05/0.4747, allocations: 72.47 kB / 487.4 MB, free: 2.176 MB / 346.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4747, allocations: 0 / 487.4 MB, free: 2.176 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02324/0.498, allocations: 3.543 MB / 491 MB, free: 14.7 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002499/0.4983, allocations: 148.4 kB / 491.1 MB, free: 14.51 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.707/2.205, allocations: 3.938 kB / 491.1 MB, free: 14.5 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