Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_3_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.00186/0.00186, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.002179/0.002179, allocations: 191.9 kB / 18.51 MB, free: 4.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.838/2.838, allocations: 205.1 MB / 224.4 MB, free: 12.3 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 56.14 kB / 280.8 MB, free: 3.078 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1555/0.1573, allocations: 46.63 MB / 327.4 MB, free: 4.379 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01467/0.1721, allocations: 7.051 MB / 334.4 MB, free: 13.28 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01039/0.1826, allocations: 3.128 MB / 337.6 MB, free: 10.14 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002026/0.1847, allocations: 27.94 kB / 337.6 MB, free: 10.12 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00375/0.1885, allocations: 0.899 MB / 338.5 MB, free: 9.215 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007234/0.1958, allocations: 1.378 MB / 339.9 MB, free: 7.832 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002082/0.1979, allocations: 0.5186 MB / 340.4 MB, free: 7.312 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.006584/0.2045, allocations: 2.731 MB / 343.1 MB, free: 4.57 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003486/0.208, allocations: 1.329 MB / 344.4 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002698/0.2108, allocations: 0.8563 MB / 345.3 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004603/0.2154, allocations: 2.022 MB / 347.3 MB, free: 356 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001207/0.2167, allocations: 176 kB / 347.5 MB, free: 180 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003921/0.2206, allocations: 0.975 MB / 348.5 MB, free: 15.2 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002864/0.2235, allocations: 1.13 MB / 349.6 MB, free: 14.07 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004106/0.2277, allocations: 1.316 MB / 350.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01015/0.2379, allocations: 4.268 MB / 355.2 MB, free: 8.461 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.289e-05/0.2379, allocations: 0 / 355.2 MB, free: 8.461 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.238, allocations: 0 / 355.2 MB, free: 8.461 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002056/0.2382, allocations: 0 / 355.2 MB, free: 8.461 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.01686/0.2551, allocations: 3.292 MB / 358.5 MB, free: 5.109 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.791e-05/0.2552, allocations: 8.031 kB / 358.5 MB, free: 5.102 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002317/0.2575, allocations: 466.3 kB / 358.9 MB, free: 4.637 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01131/0.2688, allocations: 1.662 MB / 360.6 MB, free: 2.969 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007487/0.2764, allocations: 1.99 MB / 362.6 MB, free: 0.9336 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002791/0.2767, allocations: 131.2 kB / 362.7 MB, free: 0.8047 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001382/0.2781, allocations: 167.8 kB / 362.9 MB, free: 0.6406 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02078/0.2989, allocations: 6.596 MB / 369.5 MB, free: 9.508 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002403/0.2993, allocations: 39.64 kB / 369.5 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/0.3004, allocations: 87.89 kB / 369.6 MB, free: 9.383 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003809/0.3042, allocations: 1.323 MB / 370.9 MB, free: 8.055 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01894/0.3232, allocations: 5.84 MB / 376.8 MB, free: 2.211 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3714/0.6947, allocations: 28.05 MB / 404.8 MB, free: 29.48 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009633/0.7044, allocations: 2.783 MB / 407.6 MB, free: 28.23 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002373/0.7068, allocations: 1.317 MB / 408.9 MB, free: 27.64 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009564/0.7078, allocations: 0.6314 MB / 409.6 MB, free: 27.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.394e-05/0.7079, allocations: 47.03 kB / 409.6 MB, free: 27 MB / 318.1 MB Notification: Performance of pre-optimization done (n=129): time 6.743e-06/0.7079, allocations: 0 / 409.6 MB, free: 27 MB / 318.1 MB Notification: Performance of matching and sorting (n=163): time 0.1062/0.8142, allocations: 21.07 MB / 430.7 MB, free: 9.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.776e-05/0.8143, allocations: 171.2 kB / 430.8 MB, free: 9.281 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006646/0.821, allocations: 2.816 MB / 433.7 MB, free: 6.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0005448/0.8215, allocations: 45.7 kB / 433.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002008/0.8236, allocations: 2.081 MB / 435.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001393/0.825, allocations: 0.6323 MB / 436.4 MB, free: 3.695 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002948/0.828, allocations: 0.9879 MB / 437.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.172e-05/0.8281, allocations: 305.2 kB / 437.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004678/0.8327, allocations: 2.223 MB / 439.9 MB, free: 168 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01119/0.844, allocations: 5.138 MB / 445.1 MB, free: 9.57 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01838/0.8624, allocations: 7.951 MB / 453 MB, free: 180 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002448/0.8628, allocations: 28 kB / 453 MB, free: 152 kB / 334.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.04114/0.9039, allocations: 10.28 MB / 463.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002133/0.9042, allocations: 48 kB / 463.4 MB, free: 5.793 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002828/0.9045, allocations: 104.1 kB / 463.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01839/0.9229, allocations: 3.439 MB / 466.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005843/0.9288, allocations: 1.088 MB / 468 MB, free: 1.137 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0322/0.9611, allocations: 12.85 MB / 480.8 MB, free: 4.137 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007073/0.9682, allocations: 335.5 kB / 481.2 MB, free: 3.809 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001509/0.9698, allocations: 307.9 kB / 481.5 MB, free: 3.508 MB / 366.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.005327/0.9751, allocations: 1.465 MB / 482.9 MB, free: 2.027 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001186/0.9763, allocations: 252.7 kB / 483.2 MB, free: 1.777 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02563/1.002, allocations: 5.994 MB / 489.2 MB, free: 11.74 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001409/1.002, allocations: 24 kB / 489.2 MB, free: 11.72 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.109e-05/1.002, allocations: 8 kB / 489.2 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.739e-05/1.002, allocations: 7.969 kB / 489.2 MB, free: 11.7 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04908/1.051, allocations: 13.24 MB / 0.4907 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.851e-05/1.052, allocations: 0 / 0.4907 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001887/1.053, allocations: 239.6 kB / 0.4909 GB, free: 14.14 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02057/1.074, allocations: 4.016 MB / 0.4948 GB, free: 10.1 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006011/1.075, allocations: 51.89 kB / 0.4949 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0336/1.108, allocations: 12.82 MB / 0.5074 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/1.108, allocations: 11.77 kB / 0.5074 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03562/1.144, allocations: 10.08 MB / 0.5173 GB, free: 2.941 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001288/1.145, allocations: 313.6 kB / 0.5176 GB, free: 2.613 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001307/1.147, allocations: 40.05 kB / 0.5176 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003474/1.15, allocations: 183.8 kB / 0.5178 GB, free: 2.395 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001089/1.151, allocations: 116.8 kB / 0.5179 GB, free: 2.281 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005547/1.152, allocations: 59.97 kB / 0.5179 GB, free: 2.223 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.005965/1.158, allocations: 1.746 MB / 0.5196 GB, free: 480 kB / 414.1 MB Notification: Performance of sort global known variables: time 7.61e-07/1.158, allocations: 0 / 0.5196 GB, free: 480 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.008241/1.166, allocations: 0.8151 MB / 0.5204 GB, free: 15.65 MB / 430.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.03534/1.202, allocations: 10.72 MB / 0.5309 GB, free: 4.883 MB / 430.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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.3051/1.507, allocations: 6.787 MB / 0.5375 GB, free: 151 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.391e-05/1.507, allocations: 1.219 kB / 0.5375 GB, free: 151 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.01141/1.518, allocations: 2.898 MB / 0.5404 GB, free: 150.2 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00636/1.525, allocations: 294.9 kB / 0.5406 GB, free: 150.2 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1422/1.667, allocations: 44.96 MB / 0.5845 GB, free: 114.6 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005206/1.672, allocations: 2.326 MB / 0.5868 GB, free: 112.2 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.006329/1.679, allocations: 1.503 MB / 0.5883 GB, free: 110.7 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002917/1.682, allocations: 1.132 MB / 0.5894 GB, free: 109.6 MB / 430.1 MB Notification: Performance of SimCode: time 1.583e-06/1.682, allocations: 0 / 0.5894 GB, free: 109.6 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1613/1.843, allocations: 64.95 MB / 0.6528 GB, free: 44.48 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.67/19.52, allocations: 19.81 kB / 0.6528 GB, free: 44.46 MB / 430.1 MB (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches