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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007426/0.0007429, allocations: 94.14 kB / 16.95 MB, free: 6.113 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007333/0.0007333, allocations: 175.3 kB / 17.84 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.303/1.303, allocations: 205.4 MB / 224 MB, free: 13.15 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004625/0.0004625, allocations: 8 kB / 280.9 MB, free: 3.641 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08819/0.08867, allocations: 47.58 MB / 328.4 MB, free: 3.992 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.ElasticBearing): time 0.002658/0.09138, allocations: 2.029 MB / 330.5 MB, free: 1.945 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001111/0.09252, allocations: 0.5972 MB / 331.1 MB, free: 1.34 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002081/0.09276, allocations: 4 kB / 331.1 MB, free: 1.336 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001474/0.09292, allocations: 31.77 kB / 331.1 MB, free: 1.305 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.09313, allocations: 71.39 kB / 331.2 MB, free: 1.234 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.09335, allocations: 39.91 kB / 331.2 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003373/0.0937, allocations: 282.7 kB / 331.5 MB, free: 0.918 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001815/0.09389, allocations: 85.75 kB / 331.6 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001552/0.09405, allocations: 91.64 kB / 331.7 MB, free: 0.75 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001417/0.0942, allocations: 99.55 kB / 331.8 MB, free: 0.6523 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.202e-05/0.09424, allocations: 12 kB / 331.8 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.021e-05/0.09429, allocations: 16 kB / 331.8 MB, free: 0.625 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 3.758e-05/0.09433, allocations: 35.84 kB / 331.8 MB, free: 0.5898 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 8.344e-05/0.09442, allocations: 77.58 kB / 331.9 MB, free: 0.5078 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002172/0.09465, allocations: 211.6 kB / 332.1 MB, free: 308 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.09466, allocations: 0 / 332.1 MB, free: 308 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.09468, allocations: 0 / 332.1 MB, free: 308 kB / 270.1 MB Notification: Performance of Transformations before backend: time 1.211e-05/0.0947, allocations: 4 kB / 332.1 MB, free: 304 kB / 270.1 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.0007114/0.09542, allocations: 0.5029 MB / 332.6 MB, free: 15.75 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.09546, allocations: 8.031 kB / 332.6 MB, free: 15.74 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.676e-05/0.09554, allocations: 62.53 kB / 332.7 MB, free: 15.67 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.16e-05/0.0956, allocations: 31.62 kB / 332.7 MB, free: 15.64 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002663/0.09587, allocations: 243.1 kB / 333 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.983e-05/0.0959, allocations: 16.56 kB / 333 MB, free: 15.34 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.514e-05/0.09595, allocations: 32 kB / 333 MB, free: 15.31 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004375/0.09639, allocations: 220.9 kB / 333.2 MB, free: 15.09 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.09642, allocations: 11.91 kB / 333.2 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.969e-05/0.09645, allocations: 8 kB / 333.2 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.132e-05/0.09647, allocations: 11.98 kB / 333.2 MB, free: 15.05 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003795/0.09685, allocations: 182.1 kB / 333.4 MB, free: 14.88 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.098, allocations: 0.7618 MB / 334.2 MB, free: 14.06 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004546/0.09847, allocations: 222.7 kB / 334.4 MB, free: 13.83 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002324/0.09872, allocations: 124.7 kB / 334.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.881e-05/0.09874, allocations: 0 / 334.5 MB, free: 13.71 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.09877, allocations: 38.56 kB / 334.6 MB, free: 13.66 MB / 286.1 MB Notification: Performance of pre-optimization done (n=26): time 1.042e-06/0.09878, allocations: 0 / 334.6 MB, free: 13.66 MB / 286.1 MB Notification: Performance of matching and sorting (n=28): time 0.001688/0.1005, allocations: 0.9966 MB / 335.6 MB, free: 12.57 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.1005, allocations: 55.41 kB / 335.6 MB, free: 12.51 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001573/0.1007, allocations: 159.1 kB / 335.8 MB, free: 12.34 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.1007, allocations: 37.64 kB / 335.8 MB, free: 12.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.998e-05/0.1008, allocations: 140.6 kB / 335.9 MB, free: 12.16 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.456e-05/0.1009, allocations: 94.56 kB / 336 MB, free: 12.06 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.343e-05/0.1009, allocations: 8 kB / 336 MB, free: 12.05 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1011, allocations: 334.8 kB / 336.4 MB, free: 11.72 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.1013, allocations: 75.95 kB / 336.4 MB, free: 11.64 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.1015, allocations: 123.2 kB / 336.6 MB, free: 11.51 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001993/0.1017, allocations: 87.97 kB / 336.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.302e-06/0.1017, allocations: 0 / 336.6 MB, free: 11.43 MB / 286.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.0004668/0.1022, allocations: 277.2 kB / 336.9 MB, free: 11.15 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.108e-05/0.1022, allocations: 8 kB / 336.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.1022, allocations: 3.938 kB / 336.9 MB, free: 11.14 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.1022, allocations: 4 kB / 336.9 MB, free: 11.13 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002751/0.1025, allocations: 84.05 kB / 337 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.1025, allocations: 3.938 kB / 337 MB, free: 11.05 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.1027, allocations: 15.98 kB / 337 MB, free: 11.03 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.788e-05/0.1027, allocations: 8 kB / 337 MB, free: 11.02 MB / 286.1 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.0001314/0.1028, allocations: 141.7 kB / 337.2 MB, free: 10.88 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.184e-05/0.1029, allocations: 19.77 kB / 337.2 MB, free: 10.86 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.533e-05/0.1029, allocations: 30.56 kB / 337.2 MB, free: 10.83 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.579e-06/0.103, allocations: 4 kB / 337.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.103, allocations: 0 / 337.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.103, allocations: 3.984 kB / 337.2 MB, free: 10.82 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009731/0.104, allocations: 0.6614 MB / 337.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.104, allocations: 0 / 337.9 MB, free: 10.1 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003175/0.1043, allocations: 79.89 kB / 338 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.128e-06/0.1043, allocations: 0 / 338 MB, free: 10.02 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.959e-05/0.1043, allocations: 8 kB / 338 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1043, allocations: 4 kB / 338 MB, free: 10.01 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.1044, allocations: 4.062 kB / 338 MB, free: 10 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007469/0.1051, allocations: 457.3 kB / 338.4 MB, free: 9.535 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.501e-05/0.1052, allocations: 92.92 kB / 338.5 MB, free: 9.426 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.744e-05/0.1052, allocations: 8 kB / 338.5 MB, free: 9.418 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001331/0.1054, allocations: 15.98 kB / 338.6 MB, free: 9.402 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.946e-05/0.1054, allocations: 11.98 kB / 338.6 MB, free: 9.391 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.429e-05/0.1055, allocations: 15.98 kB / 338.6 MB, free: 9.375 MB / 286.1 MB Notification: Performance of sorting global known variables: time 9.2e-05/0.1056, allocations: 119.2 kB / 338.7 MB, free: 9.258 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.1056, allocations: 0 / 338.7 MB, free: 9.258 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000298/0.1059, allocations: 60 kB / 338.8 MB, free: 9.199 MB / 286.1 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.0009819/0.1069, allocations: 0.9855 MB / 339.7 MB, free: 8.18 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0004198/0.1073, allocations: 211.8 kB / 340 MB, free: 7.973 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1073, allocations: 0 / 340 MB, free: 7.973 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001875/0.1075, allocations: 120.2 kB / 340.1 MB, free: 7.855 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004305/0.1079, allocations: 43.95 kB / 340.1 MB, free: 7.812 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002878/0.1108, allocations: 1.757 MB / 341.9 MB, free: 5.992 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.1113, allocations: 0.7522 MB / 342.6 MB, free: 5.215 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001097/0.1114, allocations: 21.94 kB / 342.6 MB, free: 5.191 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001443/0.1115, allocations: 75.41 kB / 342.7 MB, free: 5.117 MB / 286.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1115, allocations: 0 / 342.7 MB, free: 5.117 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01611/0.1277, allocations: 4.009 MB / 346.7 MB, free: 1.117 MB / 286.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002287/0.1279, allocations: 191.9 kB / 346.9 MB, free: 0.875 MB / 286.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.99/2.118, allocations: 3.938 kB / 346.9 MB, free: 0.8711 MB / 286.1 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) Environment - environmentSimulation: 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