Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.Rotational.Examples.RollingWheel,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001848/0.001848, allocations: 121.2 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002139/0.002139, allocations: 204.6 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.423/1.423, allocations: 227.7 MB / 247.2 MB, free: 10.19 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002956/0.002956, allocations: 59.91 kB / 358.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.297/0.3, allocations: 50.54 MB / 409 MB, free: 1.391 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.Rotational.Examples.RollingWheel): time 0.003637/0.3037, allocations: 2.135 MB / 411.2 MB, free: 15.25 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001107/0.3048, allocations: 0.5726 MB / 411.7 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001449/0.305, allocations: 11.94 kB / 411.7 MB, free: 14.66 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001645/0.3052, allocations: 31.72 kB / 411.8 MB, free: 14.63 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001206/0.3053, allocations: 51.5 kB / 411.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002022/0.3055, allocations: 51.92 kB / 411.9 MB, free: 14.53 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002712/0.3058, allocations: 203.1 kB / 412.1 MB, free: 14.33 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001844/0.306, allocations: 77.16 kB / 412.2 MB, free: 14.25 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.97e-05/0.3061, allocations: 75.66 kB / 412.2 MB, free: 14.18 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.3062, allocations: 79.62 kB / 412.3 MB, free: 14.1 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.73e-05/0.3063, allocations: 20 kB / 412.3 MB, free: 14.08 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.623e-05/0.3063, allocations: 16 kB / 412.3 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 4.293e-05/0.3064, allocations: 31.92 kB / 412.4 MB, free: 14.04 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001057/0.3065, allocations: 95.52 kB / 412.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003038/0.3068, allocations: 210.2 kB / 412.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3068, allocations: 0 / 412.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3068, allocations: 0 / 412.7 MB, free: 13.73 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.792e-06/0.3068, allocations: 0 / 412.7 MB, free: 13.73 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 41 * Number of variables: 41 Notification: Performance of Generate backend data structure: time 0.0007884/0.3076, allocations: 482.6 kB / 413.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3077, allocations: 8.031 kB / 413.1 MB, free: 13.21 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.299e-05/0.3077, allocations: 50.73 kB / 413.2 MB, free: 13.15 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.682e-05/0.3078, allocations: 20.84 kB / 413.2 MB, free: 13.13 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004014/0.3082, allocations: 228 kB / 413.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.3082, allocations: 24.16 kB / 413.5 MB, free: 12.84 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.968e-05/0.3083, allocations: 24.31 kB / 413.5 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003503/0.3086, allocations: 145.8 kB / 413.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.008e-05/0.3087, allocations: 3.984 kB / 413.6 MB, free: 12.67 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.415e-05/0.3087, allocations: 15.94 kB / 413.6 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.3087, allocations: 4 kB / 413.7 MB, free: 12.65 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000246/0.309, allocations: 99.72 kB / 413.7 MB, free: 12.55 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009892/0.3099, allocations: 0.5967 MB / 414.3 MB, free: 11.9 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002603/0.3102, allocations: 118.5 kB / 414.5 MB, free: 11.77 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001028/0.3103, allocations: 52.81 kB / 414.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.725e-05/0.3104, allocations: 0 / 414.5 MB, free: 11.72 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.061e-05/0.3104, allocations: 38.56 kB / 414.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of pre-optimization done (n=13): time 1.012e-06/0.3104, allocations: 0 / 414.6 MB, free: 11.67 MB / 334.1 MB Notification: Performance of matching and sorting (n=18): time 0.001705/0.3121, allocations: 0.7933 MB / 415.3 MB, free: 10.79 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.137e-05/0.3122, allocations: 59.41 kB / 415.4 MB, free: 10.72 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001719/0.3124, allocations: 155.1 kB / 415.6 MB, free: 10.56 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.3124, allocations: 33.64 kB / 415.6 MB, free: 10.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001033/0.3125, allocations: 132.4 kB / 415.7 MB, free: 10.39 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.647e-05/0.3126, allocations: 63.44 kB / 415.8 MB, free: 10.32 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.753e-05/0.3126, allocations: 37.7 kB / 415.8 MB, free: 10.28 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001621/0.3128, allocations: 326.8 kB / 416.1 MB, free: 9.953 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001125/0.3129, allocations: 47.97 kB / 416.2 MB, free: 9.906 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.3131, allocations: 76.72 kB / 416.3 MB, free: 9.82 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002428/0.3133, allocations: 127.3 kB / 416.4 MB, free: 9.684 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.3133, allocations: 0 / 416.4 MB, free: 9.684 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004346/0.3137, allocations: 214.2 kB / 416.6 MB, free: 9.465 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.3138, allocations: 4 kB / 416.6 MB, free: 9.461 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.3138, allocations: 4 kB / 416.6 MB, free: 9.457 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001716/0.314, allocations: 36.83 kB / 416.6 MB, free: 9.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001497/0.3141, allocations: 31.98 kB / 416.7 MB, free: 9.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001556/0.3157, allocations: 1.532 MB / 418.2 MB, free: 7.711 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.242e-05/0.3158, allocations: 8.094 kB / 418.2 MB, free: 7.703 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.3158, allocations: 8 kB / 418.2 MB, free: 7.695 MB / 334.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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001619/0.316, allocations: 138.6 kB / 418.3 MB, free: 7.551 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.316e-05/0.316, allocations: 15.91 kB / 418.4 MB, free: 7.535 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.607e-05/0.3161, allocations: 21.19 kB / 418.4 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.3161, allocations: 0 / 418.4 MB, free: 7.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.428e-05/0.3161, allocations: 7.984 kB / 418.4 MB, free: 7.512 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.143e-05/0.3161, allocations: 3.984 kB / 418.4 MB, free: 7.508 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009341/0.3171, allocations: 0.5878 MB / 419 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.3171, allocations: 0 / 419 MB, free: 6.852 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.3173, allocations: 27.98 kB / 419 MB, free: 6.824 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.3174, allocations: 32.84 kB / 419 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.395e-05/0.3174, allocations: 0 / 419 MB, free: 6.789 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001357/0.3188, allocations: 1.485 MB / 420.5 MB, free: 5.16 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3188, allocations: 4.062 kB / 420.5 MB, free: 5.156 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005622/0.3194, allocations: 339.9 kB / 420.9 MB, free: 4.805 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.518e-05/0.3195, allocations: 93.05 kB / 421 MB, free: 4.695 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.3195, allocations: 4 kB / 421 MB, free: 4.691 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.3196, allocations: 7.984 kB / 421 MB, free: 4.684 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.432e-05/0.3197, allocations: 16.05 kB / 421 MB, free: 4.668 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.167e-05/0.3197, allocations: 8 kB / 421 MB, free: 4.66 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.3198, allocations: 119.2 kB / 421.1 MB, free: 4.543 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3198, allocations: 0 / 421.1 MB, free: 4.543 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003143/0.3201, allocations: 47.94 kB / 421.2 MB, free: 4.496 MB / 334.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (inertia.phi,inertia.w) * 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 (15): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000917/0.321, allocations: 0.8725 MB / 422 MB, free: 3.598 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0005283/0.3216, allocations: 257.3 kB / 422.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3216, allocations: 0 / 422.3 MB, free: 3.336 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002957/0.3219, allocations: 198.7 kB / 422.5 MB, free: 3.129 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003542/0.3223, allocations: 27.83 kB / 422.5 MB, free: 3.102 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002922/0.3252, allocations: 2.121 MB / 424.6 MB, free: 0.8789 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000388/0.3256, allocations: 0.7359 MB / 425.4 MB, free: 120 kB / 334.1 MB Notification: Performance of simCode: alias equations: time 7.296e-05/0.3257, allocations: 21.48 kB / 425.4 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.251e-05/0.3258, allocations: 51.42 kB / 425.4 MB, free: 48 kB / 334.1 MB Notification: Performance of SimCode: time 6.01e-07/0.3258, allocations: 0 / 425.4 MB, free: 48 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.357, allocations: 3.75 MB / 429.2 MB, free: 12.44 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.809/10.17, allocations: 28.81 kB / 429.2 MB, free: 12.42 MB / 350.1 MB (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_RollingWheel_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_Rotational_Examples_RollingWheel.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.Rotational.Examples.RollingWheel.pipe 2>&1)