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.001498/0.001498, allocations: 111.8 kB / 17.06 MB, free: 6.016 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.001842/0.001842, allocations: 191 kB / 18 MB, free: 5.098 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.352/1.352, allocations: 222.9 MB / 241.7 MB, free: 15.2 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001009/0.001009, allocations: 43.94 kB / 350.8 MB, free: 3.77 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2884/0.2894, allocations: 49.44 MB / 400.2 MB, free: 8.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008182/0.2977, allocations: 7.039 MB / 407.3 MB, free: 1.742 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006018/0.3037, allocations: 3.138 MB / 410.4 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009212/0.3047, allocations: 31.94 kB / 410.5 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00183/0.3066, allocations: 0.899 MB / 411.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003275/0.3099, allocations: 1.393 MB / 412.7 MB, free: 12.26 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001067/0.3109, allocations: 0.5147 MB / 413.3 MB, free: 11.74 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003134/0.3141, allocations: 2.733 MB / 416 MB, free: 9.004 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001449/0.3156, allocations: 1.329 MB / 417.3 MB, free: 7.652 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001161/0.3167, allocations: 0.8603 MB / 418.2 MB, free: 6.789 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002123/0.3189, allocations: 2.022 MB / 420.2 MB, free: 4.762 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003603/0.3192, allocations: 180 kB / 420.4 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001624/0.3209, allocations: 0.9673 MB / 421.3 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000971/0.3219, allocations: 1.134 MB / 422.5 MB, free: 2.48 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001206/0.3231, allocations: 1.309 MB / 423.8 MB, free: 1.164 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004926/0.328, allocations: 4.454 MB / 428.2 MB, free: 12.7 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.967e-06/0.328, allocations: 4 kB / 428.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.328, allocations: 0 / 428.2 MB, free: 12.69 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001/0.3282, allocations: 0 / 428.2 MB, free: 12.69 MB / 350.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.007559/0.3357, allocations: 3.35 MB / 431.6 MB, free: 9.277 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.3358, allocations: 12.03 kB / 431.6 MB, free: 9.266 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005613/0.3364, allocations: 466.3 kB / 432.1 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005884/0.3423, allocations: 1.68 MB / 433.7 MB, free: 7.117 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004277/0.3466, allocations: 1.835 MB / 435.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.3467, allocations: 131.2 kB / 435.7 MB, free: 5.109 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004209/0.3471, allocations: 175.7 kB / 435.9 MB, free: 4.938 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009407/0.3565, allocations: 6.596 MB / 442.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.116e-05/0.3567, allocations: 31.75 kB / 442.5 MB, free: 13.77 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002534/0.3569, allocations: 91.89 kB / 442.6 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001962/0.3589, allocations: 1.319 MB / 443.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01006/0.369, allocations: 5.839 MB / 449.8 MB, free: 6.523 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03157/0.4006, allocations: 28.01 MB / 477.8 MB, free: 9.664 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005881/0.4065, allocations: 2.782 MB / 480.5 MB, free: 6.727 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001506/0.408, allocations: 1.306 MB / 481.9 MB, free: 5.406 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006777/0.4087, allocations: 0.6317 MB / 482.5 MB, free: 4.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.659e-05/0.4088, allocations: 51.05 kB / 482.5 MB, free: 4.602 MB / 398.1 MB Notification: Performance of pre-optimization done (n=129): time 3.186e-06/0.4088, allocations: 0 / 482.5 MB, free: 4.602 MB / 398.1 MB Notification: Performance of matching and sorting (n=163): time 0.07088/0.4797, allocations: 21.17 MB / 0.4919 GB, free: 15.32 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.162e-05/0.4798, allocations: 175.2 kB / 0.4921 GB, free: 15.11 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003711/0.4835, allocations: 2.809 MB / 0.4948 GB, free: 12.29 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003132/0.4838, allocations: 45.7 kB / 0.4949 GB, free: 12.24 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.4851, allocations: 2.16 MB / 0.497 GB, free: 10.05 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007323/0.4859, allocations: 0.6629 MB / 0.4976 GB, free: 9.387 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001368/0.4873, allocations: 0.9965 MB / 0.4986 GB, free: 8.379 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001187/0.4874, allocations: 309.1 kB / 0.4989 GB, free: 8.074 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00338/0.4908, allocations: 2.223 MB / 0.5011 GB, free: 5.844 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005462/0.4963, allocations: 5.142 MB / 0.5061 GB, free: 15.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009257/0.5056, allocations: 7.955 MB / 0.5138 GB, free: 5.852 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-05/0.5057, allocations: 32 kB / 0.5139 GB, free: 5.82 MB / 446.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02294/0.5286, allocations: 10.28 MB / 0.5239 GB, free: 11.51 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.216e-05/0.5288, allocations: 55.94 kB / 0.524 GB, free: 11.46 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.783e-05/0.5289, allocations: 100 kB / 0.5241 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01151/0.5404, allocations: 3.428 MB / 0.5274 GB, free: 7.906 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00347/0.5439, allocations: 1.08 MB / 0.5285 GB, free: 6.824 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2753/0.8192, allocations: 12.85 MB / 0.541 GB, free: 125.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004148/0.8234, allocations: 337.5 kB / 0.5413 GB, free: 125 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005222/0.8239, allocations: 299.8 kB / 0.5416 GB, free: 125 MB / 462.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.002117/0.826, allocations: 1.467 MB / 0.543 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005075/0.8265, allocations: 267.6 kB / 0.5433 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01356/0.8401, allocations: 6.009 MB / 0.5492 GB, free: 122.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.21e-05/0.8402, allocations: 27.75 kB / 0.5492 GB, free: 122.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.072e-05/0.8403, allocations: 7.719 kB / 0.5492 GB, free: 122.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.49e-05/0.8403, allocations: 11.47 kB / 0.5492 GB, free: 122.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02555/0.8658, allocations: 13.22 MB / 0.5621 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.584e-05/0.8659, allocations: 0 / 0.5621 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009768/0.8669, allocations: 240.5 kB / 0.5623 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01096/0.8779, allocations: 4.005 MB / 0.5663 GB, free: 109.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003077/0.8782, allocations: 43.95 kB / 0.5663 GB, free: 109.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0149/0.8931, allocations: 12.83 MB / 0.5788 GB, free: 96.78 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.8932, allocations: 4 kB / 0.5788 GB, free: 96.77 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01752/0.9107, allocations: 10.1 MB / 0.5887 GB, free: 86.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007937/0.9115, allocations: 315.1 kB / 0.589 GB, free: 86.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004321/0.912, allocations: 39.36 kB / 0.589 GB, free: 86.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001558/0.9135, allocations: 187.7 kB / 0.5892 GB, free: 86.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003846/0.9139, allocations: 112.8 kB / 0.5893 GB, free: 86.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001377/0.9141, allocations: 55.97 kB / 0.5894 GB, free: 86.08 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002002/0.9161, allocations: 1.742 MB / 0.5911 GB, free: 84.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.9161, allocations: 0 / 0.5911 GB, free: 84.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00356/0.9197, allocations: 0.8133 MB / 0.5919 GB, free: 83.53 MB / 462.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.01742/0.9371, allocations: 10.74 MB / 0.6024 GB, free: 72.75 MB / 462.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.008866/0.946, allocations: 6.272 MB / 0.6085 GB, free: 66.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.946, allocations: 0 / 0.6085 GB, free: 66.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004317/0.9503, allocations: 2.888 MB / 0.6113 GB, free: 63.33 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.9523, allocations: 303.7 kB / 0.6116 GB, free: 63.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05885/1.011, allocations: 42.4 MB / 0.653 GB, free: 16.37 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/1.013, allocations: 2.323 MB / 0.6553 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002654/1.016, allocations: 1.508 MB / 0.6568 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.017, allocations: 1.128 MB / 0.6579 GB, free: 11.38 MB / 462.1 MB Notification: Performance of SimCode: time 1.272e-06/1.017, allocations: 0 / 0.6579 GB, free: 11.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.101/1.118, allocations: 61.88 MB / 0.7183 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.21/16.33, allocations: 20.16 kB / 0.7183 GB, free: 13.83 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.csv","/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