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.001704/0.001704, allocations: 114.4 kB / 17.72 MB, free: 5.445 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.001787/0.001787, allocations: 183.1 kB / 18.65 MB, free: 4.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.1 MB / 224.5 MB, free: 12.24 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.001633/0.001633, allocations: 55.92 kB / 328 MB, free: 3.793 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08962/0.09126, allocations: 46.62 MB / 374.6 MB, free: 5.062 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.1908/0.2821, allocations: 7.039 MB / 381.7 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006093/0.2883, allocations: 3.146 MB / 384.8 MB, free: 8.227 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009933/0.2893, allocations: 35.28 kB / 384.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.2914, allocations: 0.8937 MB / 385.8 MB, free: 7.953 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00362/0.295, allocations: 1.369 MB / 387.1 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.2963, allocations: 0.5259 MB / 387.7 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003941/0.3002, allocations: 2.741 MB / 390.4 MB, free: 6.211 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001706/0.3019, allocations: 1.325 MB / 391.7 MB, free: 5.691 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001444/0.3034, allocations: 0.8537 MB / 392.6 MB, free: 5.34 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002909/0.3063, allocations: 2.028 MB / 394.6 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007574/0.3071, allocations: 178.4 kB / 394.8 MB, free: 4.762 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002375/0.3095, allocations: 0.9625 MB / 395.7 MB, free: 4.539 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001245/0.3107, allocations: 1.139 MB / 396.9 MB, free: 4.133 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001375/0.3121, allocations: 1.312 MB / 398.2 MB, free: 3.191 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00548/0.3176, allocations: 4.464 MB / 402.7 MB, free: 176 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.822e-06/0.3176, allocations: 0 / 402.7 MB, free: 176 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3177, allocations: 0 / 402.7 MB, free: 176 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001166/0.3178, allocations: 1.156 kB / 402.7 MB, free: 176 kB / 318.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.008868/0.3266, allocations: 3.361 MB / 406 MB, free: 13.83 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.968e-05/0.3267, allocations: 10.56 kB / 406 MB, free: 13.83 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007662/0.3275, allocations: 464.3 kB / 406.5 MB, free: 13.51 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006156/0.3336, allocations: 1.681 MB / 408.2 MB, free: 12.64 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004185/0.3379, allocations: 1.998 MB / 410.2 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001238/0.338, allocations: 132.5 kB / 410.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004339/0.3384, allocations: 167.1 kB / 410.4 MB, free: 11.26 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0118/0.3503, allocations: 6.596 MB / 417 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.632e-05/0.3504, allocations: 31.7 kB / 417.1 MB, free: 4.734 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002727/0.3507, allocations: 87.89 kB / 417.2 MB, free: 4.648 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002192/0.3529, allocations: 1.331 MB / 418.5 MB, free: 3.32 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01145/0.3643, allocations: 5.843 MB / 424.3 MB, free: 13.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03502/0.3994, allocations: 28.02 MB / 452.4 MB, free: 0.6016 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006387/0.4058, allocations: 2.786 MB / 455.1 MB, free: 13.66 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001837/0.4076, allocations: 1.31 MB / 456.4 MB, free: 12.34 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007731/0.4084, allocations: 0.6317 MB / 457.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.021e-05/0.4085, allocations: 47.06 kB / 457.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.256e-06/0.4085, allocations: 0 / 457.1 MB, free: 11.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.0728/0.4813, allocations: 21.23 MB / 478.4 MB, free: 6.195 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001215/0.4815, allocations: 171.2 kB / 478.5 MB, free: 5.988 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004138/0.4856, allocations: 2.825 MB / 481.4 MB, free: 3.148 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003495/0.486, allocations: 49.7 kB / 481.4 MB, free: 3.094 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001628/0.4876, allocations: 2.167 MB / 483.6 MB, free: 0.9023 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007949/0.4884, allocations: 0.659 MB / 484.2 MB, free: 244 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001535/0.49, allocations: 0.9927 MB / 485.2 MB, free: 15.23 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001262/0.4901, allocations: 309.1 kB / 485.5 MB, free: 14.93 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003408/0.4935, allocations: 2.223 MB / 487.7 MB, free: 12.7 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005821/0.4994, allocations: 5.142 MB / 492.9 MB, free: 6.098 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/0.5102, allocations: 7.945 MB / 0.4891 GB, free: 12.71 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001045/0.5104, allocations: 32 kB / 0.4891 GB, free: 12.68 MB / 430.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02544/0.5358, allocations: 10.29 MB / 0.4992 GB, free: 2.363 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.976e-05/0.5359, allocations: 52 kB / 0.4992 GB, free: 2.312 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000118/0.5361, allocations: 100 kB / 0.4993 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01224/0.5483, allocations: 3.424 MB / 0.5027 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00372/0.5521, allocations: 1.08 MB / 0.5037 GB, free: 13.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02063/0.5727, allocations: 12.85 MB / 0.5163 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003841/0.5766, allocations: 343.5 kB / 0.5166 GB, free: 356 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000741/0.5774, allocations: 308 kB / 0.5169 GB, free: 48 kB / 446.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.002584/0.58, allocations: 1.465 MB / 0.5183 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005692/0.5805, allocations: 262.2 kB / 0.5186 GB, free: 14.31 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01635/0.5969, allocations: 6.006 MB / 0.5244 GB, free: 8.262 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.767e-05/0.597, allocations: 27.98 kB / 0.5245 GB, free: 8.234 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.664e-05/0.5971, allocations: 8 kB / 0.5245 GB, free: 8.227 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.635e-05/0.5971, allocations: 8.109 kB / 0.5245 GB, free: 8.219 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03083/0.6279, allocations: 13.23 MB / 0.5374 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.72e-05/0.628, allocations: 0 / 0.5374 GB, free: 10.89 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00117/0.6292, allocations: 235.7 kB / 0.5376 GB, free: 10.66 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01326/0.6425, allocations: 4.008 MB / 0.5415 GB, free: 6.621 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004033/0.6429, allocations: 47.95 kB / 0.5416 GB, free: 6.574 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2116/0.8545, allocations: 12.82 MB / 0.5541 GB, free: 150.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.8545, allocations: 1.094 kB / 0.5541 GB, free: 150.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02211/0.8767, allocations: 10.1 MB / 0.564 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007619/0.8775, allocations: 316.5 kB / 0.5643 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000497/0.878, allocations: 39.84 kB / 0.5643 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/0.8796, allocations: 184.1 kB / 0.5645 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004774/0.8801, allocations: 112.6 kB / 0.5646 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001709/0.8803, allocations: 55.56 kB / 0.5646 GB, free: 146.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002782/0.8831, allocations: 1.754 MB / 0.5663 GB, free: 146.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.8831, allocations: 1.406 kB / 0.5664 GB, free: 146.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004311/0.8874, allocations: 0.8185 MB / 0.5672 GB, free: 146.1 MB / 478.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.01864/0.9061, allocations: 10.75 MB / 0.5776 GB, free: 142.3 MB / 478.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.009234/0.9153, allocations: 6.253 MB / 0.5838 GB, free: 139.6 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.9154, allocations: 0 / 0.5838 GB, free: 139.6 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004472/0.9198, allocations: 2.904 MB / 0.5866 GB, free: 136.7 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.922, allocations: 300.9 kB / 0.5869 GB, free: 136.4 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05876/0.9808, allocations: 42.47 MB / 0.6284 GB, free: 89.8 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001773/0.9826, allocations: 2.335 MB / 0.6306 GB, free: 87.43 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00264/0.9852, allocations: 1.503 MB / 0.6321 GB, free: 85.93 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001269/0.9865, allocations: 1.132 MB / 0.6332 GB, free: 84.79 MB / 478.1 MB Notification: Performance of SimCode: time 1.253e-06/0.9865, allocations: 0 / 0.6332 GB, free: 84.79 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09184/1.078, allocations: 62.05 MB / 0.6938 GB, free: 22.67 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.41/17.49, allocations: 12.66 kB / 0.6938 GB, free: 22.66 MB / 478.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