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.001431/0.001431, allocations: 105.8 kB / 16.92 MB, free: 6.145 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.001527/0.001527, allocations: 187.4 kB / 17.85 MB, free: 5.285 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.253/1.253, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001028/0.001028, allocations: 56.09 kB / 300.7 MB, free: 5.75 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1028, allocations: 49.43 MB / 350.2 MB, free: 4.312 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007724/0.1106, allocations: 7.055 MB / 357.2 MB, free: 13.21 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005838/0.1164, allocations: 3.135 MB / 360.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00131/0.1178, allocations: 35.94 kB / 360.4 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002521/0.1204, allocations: 0.895 MB / 361.3 MB, free: 9.137 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004729/0.1251, allocations: 1.372 MB / 362.6 MB, free: 7.762 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001441/0.1266, allocations: 0.5225 MB / 363.2 MB, free: 7.238 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00537/0.132, allocations: 2.727 MB / 365.9 MB, free: 4.504 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003524/0.1356, allocations: 1.314 MB / 367.2 MB, free: 3.176 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.1377, allocations: 0.8641 MB / 368.1 MB, free: 2.309 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003671/0.1413, allocations: 2.026 MB / 370.1 MB, free: 284 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009497/0.1423, allocations: 176 kB / 370.3 MB, free: 108 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.1616/0.3039, allocations: 0.9659 MB / 371.2 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001073/0.305, allocations: 1.127 MB / 372.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001142/0.3062, allocations: 1.31 MB / 373.7 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004038/0.3102, allocations: 4.259 MB / 377.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3102, allocations: 1.281 kB / 377.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.422e-06/0.3103, allocations: 0 / 377.9 MB, free: 11.6 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.156e-05/0.3103, allocations: 0.9375 kB / 377.9 MB, free: 11.6 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.006156/0.3165, allocations: 3.279 MB / 381.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.871e-05/0.3165, allocations: 9.281 kB / 381.2 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004527/0.317, allocations: 460.7 kB / 381.7 MB, free: 10.25 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0055/0.3225, allocations: 1.663 MB / 383.3 MB, free: 10.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/0.3253, allocations: 1.82 MB / 385.2 MB, free: 9.367 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.466e-05/0.3254, allocations: 126 kB / 385.3 MB, free: 9.336 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003296/0.3257, allocations: 172.1 kB / 385.5 MB, free: 9.297 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007504/0.3332, allocations: 6.61 MB / 392.1 MB, free: 5.676 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-05/0.3333, allocations: 30.53 kB / 392.1 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002309/0.3335, allocations: 87.53 kB / 392.2 MB, free: 5.645 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001623/0.3352, allocations: 1.324 MB / 393.5 MB, free: 5.141 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006936/0.3421, allocations: 5.846 MB / 399.3 MB, free: 2.219 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02484/0.367, allocations: 28.04 MB / 427.4 MB, free: 5.656 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005909/0.3729, allocations: 2.796 MB / 430.2 MB, free: 2.719 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001522/0.3744, allocations: 1.309 MB / 431.5 MB, free: 1.398 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007335/0.3752, allocations: 0.6377 MB / 432.1 MB, free: 0.6562 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.861e-05/0.3752, allocations: 47.12 kB / 432.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of pre-optimization done (n=129): time 3.717e-06/0.3752, allocations: 0 / 432.2 MB, free: 0.6016 MB / 334.1 MB Notification: Performance of matching and sorting (n=163): time 0.06958/0.4448, allocations: 21 MB / 453.2 MB, free: 11.57 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.865e-05/0.4449, allocations: 172.4 kB / 453.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004736/0.4497, allocations: 2.804 MB / 456.1 MB, free: 8.543 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003402/0.4501, allocations: 45.7 kB / 456.2 MB, free: 8.492 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001486/0.4516, allocations: 2.075 MB / 458.3 MB, free: 6.418 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009825/0.4526, allocations: 0.6317 MB / 458.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001958/0.4545, allocations: 0.9947 MB / 459.9 MB, free: 4.789 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.4546, allocations: 309 kB / 460.2 MB, free: 4.484 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002965/0.4576, allocations: 2.219 MB / 462.4 MB, free: 2.258 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00469/0.4623, allocations: 5.148 MB / 467.6 MB, free: 11.71 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00845/0.4708, allocations: 7.953 MB / 475.5 MB, free: 2.613 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.693e-05/0.4709, allocations: 32 kB / 475.5 MB, free: 2.582 MB / 382.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02356/0.4945, allocations: 10.26 MB / 485.8 MB, free: 8.293 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001148/0.4946, allocations: 48 kB / 485.9 MB, free: 8.246 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000188/0.4948, allocations: 104.1 kB / 486 MB, free: 8.145 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0115/0.5063, allocations: 3.438 MB / 489.4 MB, free: 4.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003386/0.5097, allocations: 1.084 MB / 490.5 MB, free: 3.598 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01804/0.5278, allocations: 12.86 MB / 0.4915 GB, free: 6.609 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003732/0.5316, allocations: 335.4 kB / 0.4919 GB, free: 6.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007274/0.5323, allocations: 304 kB / 0.4921 GB, free: 5.984 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 469 * 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 (573): * Single equations (assignments): 562 * Array equations: 4 * 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.0026/0.5349, allocations: 1.468 MB / 0.4936 GB, free: 4.508 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005832/0.5355, allocations: 244.8 kB / 0.4938 GB, free: 4.266 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01525/0.5508, allocations: 6.001 MB / 0.4997 GB, free: 14.22 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.095e-05/0.5508, allocations: 24.56 kB / 0.4997 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.834e-05/0.5509, allocations: 8 kB / 0.4997 GB, free: 14.19 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.741e-05/0.5509, allocations: 8.094 kB / 0.4997 GB, free: 14.18 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02712/0.578, allocations: 13.24 MB / 0.5126 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-05/0.578, allocations: 4 kB / 0.5126 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.5791, allocations: 227.7 kB / 0.5129 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01201/0.5911, allocations: 4.023 MB / 0.5168 GB, free: 12.62 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002132/0.5913, allocations: 47.97 kB / 0.5168 GB, free: 12.57 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.161/0.7523, allocations: 12.81 MB / 0.5294 GB, free: 150.6 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.238e-06/0.7523, allocations: 4.781 kB / 0.5294 GB, free: 150.6 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01978/0.7721, allocations: 10.09 MB / 0.5392 GB, free: 149.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005685/0.7727, allocations: 303 kB / 0.5395 GB, free: 149.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003741/0.7731, allocations: 35.56 kB / 0.5395 GB, free: 149.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001548/0.7747, allocations: 182.8 kB / 0.5397 GB, free: 149.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003796/0.775, allocations: 115.6 kB / 0.5398 GB, free: 149 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001425/0.7752, allocations: 55.5 kB / 0.5399 GB, free: 149 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002135/0.7773, allocations: 1.74 MB / 0.5416 GB, free: 148.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7773, allocations: 3.969 kB / 0.5416 GB, free: 148.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003208/0.7806, allocations: 0.8178 MB / 0.5424 GB, free: 148.3 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (105): * Single equations (assignments): 94 * Array equations: 4 * 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.01773/0.7983, allocations: 10.73 MB / 0.5528 GB, free: 144.6 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.009404/0.8077, allocations: 6.79 MB / 0.5595 GB, free: 140.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.8077, allocations: 3.938 kB / 0.5595 GB, free: 140.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004076/0.8118, allocations: 2.896 MB / 0.5623 GB, free: 137.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001838/0.8137, allocations: 305.6 kB / 0.5626 GB, free: 137.1 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05002/0.8637, allocations: 44.83 MB / 0.6064 GB, free: 86.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001479/0.8652, allocations: 2.318 MB / 0.6086 GB, free: 84.58 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002651/0.8679, allocations: 1.507 MB / 0.6101 GB, free: 83.07 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001028/0.8689, allocations: 1.124 MB / 0.6112 GB, free: 81.95 MB / 446.1 MB Notification: Performance of SimCode: time 6.91e-07/0.8689, allocations: 0 / 0.6112 GB, free: 81.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.167/2.036, allocations: 64.81 MB / 0.6745 GB, free: 17.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.06/20.09, allocations: 11.62 kB / 0.6745 GB, free: 17.41 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