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.001948/0.001948, allocations: 107.9 kB / 16.92 MB, free: 5.895 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.002317/0.002317, allocations: 191.3 kB / 17.85 MB, free: 5.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.718/2.718, allocations: 222.9 MB / 241.6 MB, free: 15.26 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002047/0.002047, allocations: 47.06 kB / 300.7 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1545/0.1566, allocations: 49.45 MB / 350.2 MB, free: 4.344 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.0101/0.1668, allocations: 7.028 MB / 357.2 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007777/0.1746, allocations: 3.142 MB / 360.3 MB, free: 10.12 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00166/0.1763, allocations: 31.94 kB / 360.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00364/0.1801, allocations: 0.8951 MB / 361.3 MB, free: 9.188 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006555/0.1866, allocations: 1.376 MB / 362.6 MB, free: 7.809 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002434/0.1891, allocations: 0.5186 MB / 363.2 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.007347/0.1965, allocations: 2.727 MB / 365.9 MB, free: 4.555 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003455/0.2, allocations: 1.326 MB / 367.2 MB, free: 3.215 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002956/0.203, allocations: 0.8525 MB / 368.1 MB, free: 2.359 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004528/0.2076, allocations: 2.026 MB / 370.1 MB, free: 336 kB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008999/0.2085, allocations: 176 kB / 370.3 MB, free: 160 kB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2935/0.5021, allocations: 0.9741 MB / 371.2 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003671/0.5058, allocations: 1.123 MB / 372.4 MB, free: 12.65 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006205/0.5121, allocations: 1.313 MB / 373.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01444/0.5266, allocations: 4.264 MB / 377.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.286e-05/0.5267, allocations: 0 / 377.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.5267, allocations: 0 / 377.9 MB, free: 11.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002449/0.5269, allocations: 1.125 kB / 377.9 MB, free: 11.66 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.02143/0.5484, allocations: 3.273 MB / 381.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 0.0001235/0.5486, allocations: 10 kB / 381.2 MB, free: 10.36 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003676/0.5523, allocations: 465.3 kB / 381.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01208/0.5644, allocations: 1.659 MB / 383.3 MB, free: 10.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006933/0.5714, allocations: 1.823 MB / 385.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002107/0.5717, allocations: 127.9 kB / 385.3 MB, free: 9.395 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007854/0.5725, allocations: 174.8 kB / 385.5 MB, free: 9.355 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01228/0.5848, allocations: 6.598 MB / 392.1 MB, free: 5.738 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000138/0.585, allocations: 33.69 kB / 392.1 MB, free: 5.734 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003395/0.5853, allocations: 90.58 kB / 392.2 MB, free: 5.703 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002237/0.5876, allocations: 1.326 MB / 393.5 MB, free: 5.199 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01755/0.6051, allocations: 5.842 MB / 399.3 MB, free: 2.293 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07074/0.676, allocations: 28.04 MB / 427.4 MB, free: 5.727 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01137/0.6874, allocations: 2.784 MB / 430.2 MB, free: 2.801 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003031/0.6905, allocations: 1.32 MB / 431.5 MB, free: 1.473 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001091/0.6916, allocations: 0.6303 MB / 432.1 MB, free: 0.7344 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.563e-05/0.6917, allocations: 50.78 kB / 432.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of pre-optimization done (n=129): time 5.7e-06/0.6917, allocations: 0 / 432.2 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of matching and sorting (n=163): time 0.1172/0.8089, allocations: 21 MB / 453.2 MB, free: 11.64 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001594/0.8092, allocations: 173.2 kB / 453.3 MB, free: 11.44 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008548/0.8177, allocations: 2.804 MB / 456.1 MB, free: 8.621 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0006134/0.8184, allocations: 49.73 kB / 456.2 MB, free: 8.566 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002549/0.8209, allocations: 2.08 MB / 458.3 MB, free: 6.488 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001265/0.8222, allocations: 0.6264 MB / 458.9 MB, free: 5.867 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003466/0.8257, allocations: 0.9942 MB / 459.9 MB, free: 4.863 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001443/0.8259, allocations: 305.1 kB / 460.2 MB, free: 4.562 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004397/0.8303, allocations: 2.227 MB / 462.4 MB, free: 2.328 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007485/0.8378, allocations: 5.137 MB / 467.6 MB, free: 11.79 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01197/0.8498, allocations: 7.955 MB / 475.5 MB, free: 2.699 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001315/0.85, allocations: 28 kB / 475.5 MB, free: 2.672 MB / 382.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.03339/0.8834, allocations: 10.26 MB / 485.8 MB, free: 8.379 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002084/0.8836, allocations: 52.2 kB / 485.9 MB, free: 8.328 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002669/0.8839, allocations: 108 kB / 486 MB, free: 8.223 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01833/0.9023, allocations: 3.435 MB / 489.4 MB, free: 4.766 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006137/0.9084, allocations: 1.084 MB / 490.5 MB, free: 3.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03107/0.9396, allocations: 12.86 MB / 0.4915 GB, free: 6.691 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007037/0.9466, allocations: 331.4 kB / 0.4919 GB, free: 6.367 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001604/0.9483, allocations: 308 kB / 0.4921 GB, free: 6.066 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.005535/0.9539, allocations: 1.472 MB / 0.4936 GB, free: 4.586 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001115/0.955, allocations: 252.8 kB / 0.4938 GB, free: 4.336 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02519/0.9802, allocations: 5.993 MB / 0.4997 GB, free: 14.3 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001389/0.9804, allocations: 27.98 kB / 0.4997 GB, free: 14.27 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.125e-05/0.9805, allocations: 12 kB / 0.4997 GB, free: 14.26 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.747e-05/0.9806, allocations: 11.97 kB / 0.4997 GB, free: 14.25 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05118/1.032, allocations: 13.22 MB / 0.5126 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.423e-05/1.032, allocations: 0 / 0.5126 GB, free: 0.9805 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00195/1.034, allocations: 231.7 kB / 0.5129 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02184/1.056, allocations: 4.024 MB / 0.5168 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007216/1.057, allocations: 47.95 kB / 0.5168 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4406/1.497, allocations: 12.82 MB / 0.5294 GB, free: 150.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.708e-06/1.497, allocations: 1.344 kB / 0.5294 GB, free: 150.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03997/1.537, allocations: 10.09 MB / 0.5392 GB, free: 149.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001433/1.539, allocations: 306.4 kB / 0.5395 GB, free: 149.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001031/1.54, allocations: 36.2 kB / 0.5395 GB, free: 149.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00309/1.543, allocations: 186.3 kB / 0.5397 GB, free: 149.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007695/1.544, allocations: 110.2 kB / 0.5398 GB, free: 149.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002738/1.544, allocations: 55.84 kB / 0.5399 GB, free: 149.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.005441/1.549, allocations: 1.742 MB / 0.5416 GB, free: 148.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.21e-07/1.549, allocations: 0 / 0.5416 GB, free: 148.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008406/1.558, allocations: 0.822 MB / 0.5424 GB, free: 148.4 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.03151/1.589, allocations: 10.73 MB / 0.5528 GB, free: 144.7 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.01727/1.607, allocations: 6.795 MB / 0.5595 GB, free: 140.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.607, allocations: 0 / 0.5595 GB, free: 140.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.007188/1.614, allocations: 2.893 MB / 0.5623 GB, free: 137.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004639/1.619, allocations: 298.5 kB / 0.5626 GB, free: 137.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1309/1.75, allocations: 44.82 MB / 0.6064 GB, free: 87.06 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003461/1.753, allocations: 2.319 MB / 0.6086 GB, free: 84.72 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.006832/1.76, allocations: 1.515 MB / 0.6101 GB, free: 83.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002874/1.763, allocations: 1.128 MB / 0.6112 GB, free: 82.07 MB / 446.1 MB Notification: Performance of SimCode: time 1.663e-06/1.763, allocations: 0 / 0.6112 GB, free: 82.07 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1636/1.927, allocations: 64.81 MB / 0.6745 GB, free: 17.55 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.08/20.01, allocations: 3.938 kB / 0.6745 GB, free: 17.54 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 & 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