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.0009733/0.0009733, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.247/1.247, allocations: 227.2 MB / 245 MB, free: 5.906 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007968/0.0007967, allocations: 101.1 kB / 297.3 MB, free: 5.969 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002156/0.0002156, allocations: 4 kB / 358 MB, free: 9.223 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2006, allocations: 51.47 MB / 409.5 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.099/0.2997, allocations: 79.57 MB / 489.1 MB, free: 11.02 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002571/0.3, allocations: 75.95 kB / 489.1 MB, free: 10.95 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0118/0.3118, allocations: 4.5 MB / 493.6 MB, free: 6.43 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.3118, allocations: 0 / 493.6 MB, free: 6.43 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.864e-05/0.3119, allocations: 12 kB / 493.7 MB, free: 6.418 MB / 362.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.0007162/0.3126, allocations: 0.5031 MB / 494.2 MB, free: 5.863 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.3126, allocations: 12.03 kB / 494.2 MB, free: 5.852 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.122e-05/0.3127, allocations: 62.53 kB / 494.2 MB, free: 5.781 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.3127, allocations: 27.62 kB / 494.3 MB, free: 5.754 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002287/0.313, allocations: 238.2 kB / 494.5 MB, free: 5.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.085e-05/0.313, allocations: 20.5 kB / 494.5 MB, free: 5.461 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.238e-05/0.3131, allocations: 28 kB / 494.5 MB, free: 5.434 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004218/0.3135, allocations: 228.8 kB / 494.8 MB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.3135, allocations: 0 / 494.8 MB, free: 5.203 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.58e-05/0.3136, allocations: 23.97 kB / 494.8 MB, free: 5.18 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.3136, allocations: 4 kB / 494.8 MB, free: 5.176 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003687/0.3139, allocations: 182.1 kB / 495 MB, free: 5 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001038/0.315, allocations: 0.75 MB / 495.7 MB, free: 4.191 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004595/0.3155, allocations: 229.7 kB / 495.9 MB, free: 3.961 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.003e-05/0.3155, allocations: 7.953 kB / 495.9 MB, free: 3.953 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.3155, allocations: 34.56 kB / 496 MB, free: 3.91 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.483e-06/0.3155, allocations: 0 / 496 MB, free: 3.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.001657/0.3172, allocations: 0.9963 MB / 497 MB, free: 2.824 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.141e-05/0.3172, allocations: 51.41 kB / 497 MB, free: 2.762 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001368/0.3174, allocations: 147.5 kB / 497.2 MB, free: 2.609 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.139e-05/0.3174, allocations: 29.7 kB / 497.2 MB, free: 2.574 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.182e-05/0.3175, allocations: 144.5 kB / 497.3 MB, free: 2.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.645e-05/0.3176, allocations: 98.53 kB / 497.4 MB, free: 2.332 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.133e-05/0.3176, allocations: 11.94 kB / 497.4 MB, free: 2.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001229/0.3177, allocations: 326.8 kB / 497.8 MB, free: 1.992 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.3179, allocations: 87.81 kB / 497.9 MB, free: 1.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001963/0.3181, allocations: 124.2 kB / 498 MB, free: 1.773 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001893/0.3183, allocations: 88.17 kB / 498.1 MB, free: 1.688 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3183, allocations: 0 / 498.1 MB, free: 1.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004461/0.3188, allocations: 273.2 kB / 498.3 MB, free: 1.414 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3188, allocations: 4 kB / 498.3 MB, free: 1.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3188, allocations: 4.094 kB / 498.3 MB, free: 1.406 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.3188, allocations: 7.984 kB / 498.3 MB, free: 1.398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00028/0.3191, allocations: 75.91 kB / 498.4 MB, free: 1.324 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.3191, allocations: 4 kB / 498.4 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.3193, allocations: 15.98 kB / 498.4 MB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.539e-05/0.3193, allocations: 8 kB / 498.4 MB, free: 1.297 MB / 362.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 () * Number of clocked 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 0.0001361/0.3194, allocations: 141.8 kB / 498.6 MB, free: 1.148 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.286e-05/0.3195, allocations: 19.77 kB / 498.6 MB, free: 1.129 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.449e-05/0.3196, allocations: 30.55 kB / 498.6 MB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.3196, allocations: 4 kB / 498.6 MB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.3196, allocations: 0 / 498.6 MB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.3196, allocations: 0 / 498.6 MB, free: 1.094 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009038/0.3205, allocations: 0.6659 MB / 499.3 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.3205, allocations: 0 / 499.3 MB, free: 376 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.3208, allocations: 79.83 kB / 499.4 MB, free: 296 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.3209, allocations: 8.062 kB / 499.4 MB, free: 288 kB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.989e-05/0.3209, allocations: 8 kB / 499.4 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3209, allocations: 0 / 499.4 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.3209, allocations: 0 / 499.4 MB, free: 280 kB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006878/0.3216, allocations: 486.7 kB / 499.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.3217, allocations: 96.81 kB / 500 MB, free: 15.65 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.347e-05/0.3217, allocations: 8.062 kB / 500 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001419/0.3218, allocations: 16 kB / 500 MB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.164e-05/0.3219, allocations: 19.97 kB / 0.4883 GB, free: 15.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/0.3219, allocations: 7.953 kB / 0.4883 GB, free: 15.6 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.848e-05/0.322, allocations: 123.5 kB / 0.4884 GB, free: 15.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.322, allocations: 0 / 0.4884 GB, free: 15.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002865/0.3223, allocations: 60 kB / 0.4885 GB, free: 15.42 MB / 378.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 () * Number of clocked 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.0009986/0.3233, allocations: 1.148 MB / 0.4896 GB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0004278/0.3237, allocations: 219.9 kB / 0.4898 GB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.3238, allocations: 0 / 0.4898 GB, free: 14.02 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002019/0.324, allocations: 116 kB / 0.4899 GB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003459/0.3243, allocations: 39.91 kB / 0.49 GB, free: 13.87 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00261/0.3269, allocations: 2.187 MB / 0.4921 GB, free: 11.61 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.3273, allocations: 0.7602 MB / 0.4928 GB, free: 10.83 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.127e-05/0.3274, allocations: 21.94 kB / 0.4928 GB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001222/0.3275, allocations: 71.41 kB / 0.4929 GB, free: 10.73 MB / 378.7 MB Notification: Performance of SimCode: time 2.455e-06/0.3275, allocations: 0 / 0.4929 GB, free: 10.73 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01507/0.3426, allocations: 4.009 MB / 0.4968 GB, free: 6.879 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002032/0.3428, allocations: 191.4 kB / 0.497 GB, free: 6.633 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.968, allocations: 0 / 0.497 GB, free: 6.633 MB / 378.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