Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",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.001348/0.001348, allocations: 107 kB / 16.62 MB, free: 6.816 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.001329/0.001329, allocations: 193.9 kB / 17.55 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 241.2 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 50.88 kB / 300.2 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08783/0.08888, allocations: 49.45 MB / 349.7 MB, free: 4.648 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01274/0.1016, allocations: 14.02 MB / 363.7 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.008794/0.1105, allocations: 4.315 MB / 368 MB, free: 2.238 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001895/0.1124, allocations: 51.88 kB / 368.1 MB, free: 2.188 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001986/0.1145, allocations: 0.8412 MB / 368.9 MB, free: 1.344 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002797/0.1173, allocations: 1.297 MB / 370.2 MB, free: 44 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1571/0.2744, allocations: 0.4899 MB / 370.7 MB, free: 9.395 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004932/0.2794, allocations: 3.786 MB / 374.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001851/0.2812, allocations: 1.388 MB / 375.9 MB, free: 9.281 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001392/0.2826, allocations: 0.8352 MB / 376.7 MB, free: 9.242 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001798/0.2844, allocations: 1.383 MB / 378.1 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002974/0.2847, allocations: 178.2 kB / 378.3 MB, free: 9.102 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001758/0.2865, allocations: 0.9989 MB / 379.3 MB, free: 9.098 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.2876, allocations: 1.153 MB / 380.4 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001263/0.2889, allocations: 1.327 MB / 381.7 MB, free: 8.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004504/0.2934, allocations: 4.311 MB / 386.1 MB, free: 6.777 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.2934, allocations: 3.984 kB / 386.1 MB, free: 6.773 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.113e-06/0.2934, allocations: 0 / 386.1 MB, free: 6.773 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.811e-05/0.2935, allocations: 0 / 386.1 MB, free: 6.773 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 947 * Number of variables: 947 Notification: Performance of Generate backend data structure: time 0.006881/0.3004, allocations: 3.275 MB / 389.3 MB, free: 4.602 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.001e-05/0.3004, allocations: 11.06 kB / 389.3 MB, free: 4.602 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005291/0.301, allocations: 461.8 kB / 389.8 MB, free: 4.309 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005712/0.3067, allocations: 1.664 MB / 391.5 MB, free: 3.453 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002855/0.3096, allocations: 1.818 MB / 393.3 MB, free: 2.395 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.057e-05/0.3096, allocations: 138.2 kB / 393.4 MB, free: 2.352 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002924/0.3099, allocations: 174.5 kB / 393.6 MB, free: 2.312 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007562/0.3175, allocations: 6.587 MB / 400.2 MB, free: 13.41 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.728e-05/0.3176, allocations: 38.09 kB / 400.2 MB, free: 13.39 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002322/0.3178, allocations: 92.42 kB / 400.3 MB, free: 13.32 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001733/0.3196, allocations: 1.322 MB / 401.6 MB, free: 12.02 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0082/0.3278, allocations: 5.839 MB / 407.5 MB, free: 6.336 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02563/0.3534, allocations: 28.07 MB / 435.5 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005297/0.3588, allocations: 2.744 MB / 438.3 MB, free: 6.773 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/0.3601, allocations: 1.273 MB / 439.5 MB, free: 5.492 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005649/0.3606, allocations: 0.6334 MB / 440.2 MB, free: 4.754 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.725e-05/0.3607, allocations: 47.06 kB / 440.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.266e-06/0.3607, allocations: 0 / 440.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.06788/0.4286, allocations: 20.54 MB / 460.8 MB, free: 88 kB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.213e-05/0.4287, allocations: 145.5 kB / 460.9 MB, free: 15.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004035/0.4327, allocations: 2.852 MB / 463.8 MB, free: 13.05 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002354/0.433, allocations: 45.7 kB / 463.8 MB, free: 13 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0013/0.4343, allocations: 2.1 MB / 465.9 MB, free: 10.9 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006256/0.4349, allocations: 0.6054 MB / 466.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001408/0.4363, allocations: 1.003 MB / 467.5 MB, free: 9.285 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.63e-05/0.4364, allocations: 301.3 kB / 467.8 MB, free: 8.988 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002874/0.4393, allocations: 2.211 MB / 470 MB, free: 6.77 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004444/0.4438, allocations: 5.183 MB / 475.2 MB, free: 116 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007946/0.4517, allocations: 7.968 MB / 483.2 MB, free: 6.68 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.869e-05/0.4518, allocations: 32 kB / 483.2 MB, free: 6.648 MB / 398.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02175/0.4736, allocations: 10.29 MB / 493.5 MB, free: 12.34 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.013e-05/0.4736, allocations: 48 kB / 493.5 MB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001156/0.4738, allocations: 108.1 kB / 493.6 MB, free: 12.18 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01125/0.485, allocations: 3.432 MB / 497.1 MB, free: 8.73 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003088/0.4881, allocations: 1.103 MB / 498.2 MB, free: 7.625 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01885/0.507, allocations: 12.85 MB / 0.499 GB, free: 10.63 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004054/0.5111, allocations: 331.5 kB / 0.4994 GB, free: 10.31 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009316/0.512, allocations: 304 kB / 0.4996 GB, free: 10.01 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 15 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],wheel1.body.sphereColor[3],wheel1.body.sphereColor[2],wheel1.body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (581): * Single equations (assignments): 571 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (2,100.0%), (3,88.9%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,23,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003688/0.5157, allocations: 1.471 MB / 0.5011 GB, free: 8.535 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008706/0.5166, allocations: 256.6 kB / 0.5013 GB, free: 8.281 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01758/0.5342, allocations: 5.996 MB / 0.5072 GB, free: 2.25 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001365/0.5344, allocations: 20 kB / 0.5072 GB, free: 2.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-05/0.5345, allocations: 8 kB / 0.5072 GB, free: 2.223 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.603e-05/0.5345, allocations: 7.922 kB / 0.5072 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0292/0.5637, allocations: 13.18 MB / 0.5201 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.917e-05/0.5638, allocations: 0 / 0.5201 GB, free: 4.977 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.5648, allocations: 231.7 kB / 0.5203 GB, free: 4.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01166/0.5765, allocations: 4.015 MB / 0.5242 GB, free: 0.7109 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002476/0.5767, allocations: 55.89 kB / 0.5243 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1738/0.7506, allocations: 12.83 MB / 0.5368 GB, free: 146.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.7506, allocations: 5.438 kB / 0.5368 GB, free: 146.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01853/0.7691, allocations: 9.887 MB / 0.5465 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006851/0.7699, allocations: 302.1 kB / 0.5468 GB, free: 143.7 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003995/0.7703, allocations: 34.91 kB / 0.5468 GB, free: 143.7 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001508/0.7718, allocations: 191 kB / 0.547 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000423/0.7722, allocations: 105.5 kB / 0.5471 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001403/0.7724, allocations: 47.77 kB / 0.5471 GB, free: 143.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002318/0.7747, allocations: 1.764 MB / 0.5488 GB, free: 143 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.7747, allocations: 3.844 kB / 0.5488 GB, free: 143 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003779/0.7785, allocations: 0.8251 MB / 0.5497 GB, free: 142.9 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (wheel1.x,wheel1.y,wheel1.angles[1],wheel1.angles[2],wheel1.angles[3],wheel1.der_angles[1],wheel1.der_angles[2],wheel1.der_angles[3]) * 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 (104): * Single equations (assignments): 94 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 6 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 6 systems {(2,100.0%), (2,100.0%), (3,88.9%), (2,100.0%), (3,88.9%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(6,19,80.6%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01825/0.7968, allocations: 10.54 MB / 0.5599 GB, free: 136.3 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[2] has attribute stateSelect=StateSelect.always, but can't be selected as a state. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72:writable] Warning: Variable $DER.wheel1.der_angles[1] has attribute stateSelect=StateSelect.always, but can't be selected as a state. Notification: Performance of simCode: created initialization part: time 0.009984/0.8068, allocations: 6.756 MB / 0.5665 GB, free: 129.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.8068, allocations: 0 / 0.5665 GB, free: 129.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00425/0.8111, allocations: 2.861 MB / 0.5693 GB, free: 126.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002118/0.8132, allocations: 292.2 kB / 0.5696 GB, free: 126.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06342/0.8766, allocations: 46 MB / 0.6145 GB, free: 74.79 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001779/0.8784, allocations: 2.31 MB / 0.6168 GB, free: 72.45 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002888/0.8813, allocations: 1.531 MB / 0.6183 GB, free: 70.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.8825, allocations: 1.128 MB / 0.6194 GB, free: 69.79 MB / 446.1 MB Notification: Performance of SimCode: time 7.32e-07/0.8825, allocations: 0 / 0.6194 GB, free: 69.79 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2516/1.134, allocations: 65.04 MB / 0.6829 GB, free: 5.082 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/1.134, allocations: 241.9 kB / 0.6831 GB, free: 4.828 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.488/4.622, allocations: 0 / 0.6831 GB, free: 4.828 MB / 446.1 MB (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches