Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.ElasticBearing,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009227/0.0009226, allocations: 172.9 kB / 14.1 MB, free: 1.223 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.407/1.407, allocations: 205.2 MB / 219.8 MB, free: 14.2 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009026/0.0009023, allocations: 82.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.542e-05/2.545e-05, allocations: 4 kB / 322.5 MB, free: 17.25 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09214/0.09218, allocations: 47.57 MB / 370.1 MB, free: 1.609 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3304/0.4226, allocations: 77.84 MB / 448 MB, free: 15.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002247/0.4229, allocations: 70.53 kB / 448 MB, free: 15.39 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01144/0.4343, allocations: 4.325 MB / 452.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4344, allocations: 0 / 452.3 MB, free: 11.75 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.647e-05/0.4344, allocations: 8 kB / 452.4 MB, free: 11.74 MB / 330.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.0007057/0.4351, allocations: 499.5 kB / 452.8 MB, free: 11.22 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.311e-05/0.4352, allocations: 12.03 kB / 452.9 MB, free: 11.21 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.14e-05/0.4353, allocations: 64.23 kB / 452.9 MB, free: 11.16 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.498e-05/0.4353, allocations: 27.62 kB / 452.9 MB, free: 11.13 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.4357, allocations: 235.6 kB / 453.2 MB, free: 10.87 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.277e-05/0.4357, allocations: 27.31 kB / 453.2 MB, free: 10.85 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.4357, allocations: 26.5 kB / 453.2 MB, free: 10.83 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.4361, allocations: 204.1 kB / 453.4 MB, free: 10.69 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.979e-05/0.4362, allocations: 7.938 kB / 453.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.119e-05/0.4362, allocations: 12.89 kB / 453.4 MB, free: 10.68 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/0.4362, allocations: 8 kB / 453.5 MB, free: 10.67 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002568/0.4365, allocations: 143.5 kB / 453.6 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001106/0.4376, allocations: 0.7652 MB / 454.4 MB, free: 9.902 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003866/0.438, allocations: 187.8 kB / 454.5 MB, free: 9.773 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.4381, allocations: 113.8 kB / 454.7 MB, free: 9.695 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.009e-05/0.4382, allocations: 7.938 kB / 454.7 MB, free: 9.688 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.4382, allocations: 30.56 kB / 454.7 MB, free: 9.648 MB / 330.7 MB Notification: Performance of pre-optimization done (n=26): time 1.323e-06/0.4382, allocations: 4 kB / 454.7 MB, free: 9.645 MB / 330.7 MB Notification: Performance of matching and sorting (n=28): time 0.001146/0.4394, allocations: 0.8272 MB / 455.5 MB, free: 8.863 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.536e-05/0.4394, allocations: 55.41 kB / 455.6 MB, free: 8.797 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.4395, allocations: 134.4 kB / 455.7 MB, free: 8.668 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.015e-05/0.4396, allocations: 32.95 kB / 455.7 MB, free: 8.633 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.053e-05/0.4397, allocations: 143.3 kB / 455.9 MB, free: 8.508 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.181e-05/0.4397, allocations: 98.86 kB / 456 MB, free: 8.422 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.198e-05/0.4397, allocations: 10.31 kB / 456 MB, free: 8.418 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.793e-05/0.4398, allocations: 329.7 kB / 456.3 MB, free: 8.094 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001039/0.4399, allocations: 63.12 kB / 456.4 MB, free: 8.055 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/0.4401, allocations: 105.8 kB / 456.5 MB, free: 7.965 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000116/0.4402, allocations: 73.28 kB / 456.5 MB, free: 7.918 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.4402, allocations: 0 / 456.5 MB, free: 7.918 MB / 330.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0003121/0.4405, allocations: 239.7 kB / 456.8 MB, free: 7.73 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.4405, allocations: 4 kB / 456.8 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-06/0.4406, allocations: 4.094 kB / 456.8 MB, free: 7.723 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.4406, allocations: 4 kB / 456.8 MB, free: 7.719 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.4409, allocations: 78.95 kB / 456.9 MB, free: 7.645 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.977e-06/0.4409, allocations: 4 kB / 456.9 MB, free: 7.641 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00012/0.441, allocations: 14.67 kB / 456.9 MB, free: 7.629 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.161e-05/0.441, allocations: 15.25 kB / 456.9 MB, free: 7.617 MB / 330.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 7.158e-05/0.4411, allocations: 113.4 kB / 457 MB, free: 7.508 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.214e-05/0.4412, allocations: 27.75 kB / 457 MB, free: 7.48 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.886e-05/0.4412, allocations: 27.81 kB / 457.1 MB, free: 7.473 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4412, allocations: 4 kB / 457.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.338e-06/0.4412, allocations: 0 / 457.1 MB, free: 7.469 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/0.4413, allocations: 3.984 kB / 457.1 MB, free: 7.465 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007453/0.442, allocations: 0.6246 MB / 457.7 MB, free: 6.816 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.442, allocations: 4 kB / 457.7 MB, free: 6.812 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.4423, allocations: 75.89 kB / 457.8 MB, free: 6.738 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.4424, allocations: 4 kB / 457.8 MB, free: 6.734 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.4424, allocations: 7.938 kB / 457.8 MB, free: 6.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.338e-06/0.4424, allocations: 4 kB / 457.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4424, allocations: 0 / 457.8 MB, free: 6.723 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004948/0.4429, allocations: 438.5 kB / 458.2 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.337e-05/0.443, allocations: 96.98 kB / 458.3 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.677e-05/0.443, allocations: 0 / 458.3 MB, free: 6.148 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.4432, allocations: 15.98 kB / 458.3 MB, free: 6.133 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.143e-05/0.4432, allocations: 28.06 kB / 458.4 MB, free: 6.105 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.4432, allocations: 8 kB / 458.4 MB, free: 6.098 MB / 330.7 MB Notification: Performance of sorting global known variables: time 8.725e-05/0.4433, allocations: 115.3 kB / 458.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4433, allocations: 0 / 458.5 MB, free: 5.984 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0002951/0.4436, allocations: 63.98 kB / 458.5 MB, free: 5.922 MB / 330.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.0007844/0.4444, allocations: 1.094 MB / 459.6 MB, free: 4.785 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002831/0.4447, allocations: 179.9 kB / 459.8 MB, free: 4.609 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.4447, allocations: 0 / 459.8 MB, free: 4.609 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001306/0.4449, allocations: 92.12 kB / 459.9 MB, free: 4.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003074/0.4452, allocations: 37.59 kB / 459.9 MB, free: 4.484 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001266/0.4465, allocations: 0.7528 MB / 460.7 MB, free: 3.684 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002984/0.4468, allocations: 0.7561 MB / 461.4 MB, free: 2.895 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 8.236e-05/0.4469, allocations: 26.05 kB / 461.5 MB, free: 2.871 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.447, allocations: 72.61 kB / 461.5 MB, free: 2.805 MB / 330.7 MB Notification: Performance of SimCode: time 3.4e-07/0.447, allocations: 0 / 461.5 MB, free: 2.805 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01475/0.4617, allocations: 4.021 MB / 465.6 MB, free: 14.79 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000223/0.462, allocations: 159.8 kB / 465.7 MB, free: 14.56 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/2.093, allocations: 3.938 kB / 465.7 MB, free: 14.56 MB / 346.7 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_Rotational_Examples_ElasticBearing.fmu > Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Mechanics.Rotational.Examples.ElasticBearing_res.mat does not exist to compare? outputFormat=mat