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.001739/0.001739, allocations: 110.5 kB / 17.73 MB, free: 5.324 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.001927/0.001927, allocations: 187 kB / 18.66 MB, free: 4.395 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.568/1.568, 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.001354/0.001354, allocations: 55.92 kB / 328 MB, free: 3.801 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.105/0.1063, allocations: 46.63 MB / 374.7 MB, free: 5.066 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.2527/0.3591, allocations: 7.028 MB / 381.7 MB, free: 9.148 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006913/0.3661, allocations: 3.151 MB / 384.8 MB, free: 8.262 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001516/0.3677, allocations: 30.66 kB / 384.9 MB, free: 8.258 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00273/0.3705, allocations: 0.8861 MB / 385.7 MB, free: 7.988 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005065/0.3756, allocations: 1.385 MB / 387.1 MB, free: 7.398 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001584/0.3772, allocations: 0.5157 MB / 387.6 MB, free: 7.211 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.005242/0.3825, allocations: 2.732 MB / 390.4 MB, free: 6.238 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002851/0.3853, allocations: 1.333 MB / 391.7 MB, free: 5.711 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002356/0.3877, allocations: 0.8661 MB / 392.6 MB, free: 5.352 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004196/0.3919, allocations: 2.024 MB / 394.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001229/0.3932, allocations: 178.7 kB / 394.8 MB, free: 4.777 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003568/0.3968, allocations: 0.9666 MB / 395.7 MB, free: 4.551 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002322/0.3991, allocations: 1.13 MB / 396.9 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003519/0.4027, allocations: 1.314 MB / 398.2 MB, free: 3.211 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008756/0.4115, allocations: 4.45 MB / 402.6 MB, free: 208 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.4115, allocations: 5.094 kB / 402.6 MB, free: 204 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.4115, allocations: 0 / 402.6 MB, free: 204 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0002446/0.4118, allocations: 0 / 402.6 MB, free: 204 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.01271/0.4245, allocations: 3.284 MB / 405.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.147e-05/0.4246, allocations: 10.12 kB / 405.9 MB, free: 13.95 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001707/0.4263, allocations: 467.3 kB / 406.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007359/0.4336, allocations: 1.661 MB / 408.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005805/0.4395, allocations: 1.992 MB / 410 MB, free: 11.52 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001923/0.4397, allocations: 131.7 kB / 410.2 MB, free: 11.45 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001008/0.4407, allocations: 175 kB / 410.3 MB, free: 11.39 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01365/0.4544, allocations: 6.588 MB / 416.9 MB, free: 4.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001402/0.4546, allocations: 31.73 kB / 417 MB, free: 4.879 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007661/0.4553, allocations: 87.89 kB / 417.1 MB, free: 4.793 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002258/0.4576, allocations: 1.335 MB / 418.4 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0118/0.4694, allocations: 5.843 MB / 424.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04015/0.5096, allocations: 27.98 MB / 452.2 MB, free: 0.7734 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00646/0.5161, allocations: 2.786 MB / 455 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001708/0.5179, allocations: 1.302 MB / 456.3 MB, free: 12.52 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007701/0.5187, allocations: 0.6356 MB / 456.9 MB, free: 11.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.221e-05/0.5187, allocations: 47.06 kB / 457 MB, free: 11.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 5.33e-06/0.5187, allocations: 0 / 457 MB, free: 11.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.07465/0.5934, allocations: 21.07 MB / 478 MB, free: 6.516 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001128/0.5935, allocations: 175.2 kB / 478.2 MB, free: 6.305 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006174/0.5997, allocations: 2.812 MB / 481 MB, free: 3.477 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004012/0.6001, allocations: 49.7 kB / 481.1 MB, free: 3.422 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00167/0.6018, allocations: 2.075 MB / 483.2 MB, free: 1.312 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001061/0.6029, allocations: 0.6363 MB / 483.8 MB, free: 0.668 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002343/0.6053, allocations: 0.9879 MB / 484.8 MB, free: 15.67 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001033/0.6054, allocations: 309.1 kB / 485.1 MB, free: 15.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003442/0.6088, allocations: 2.219 MB / 487.3 MB, free: 13.14 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005701/0.6145, allocations: 5.15 MB / 492.4 MB, free: 6.531 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009708/0.6243, allocations: 7.941 MB / 0.4887 GB, free: 13.14 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001303/0.6244, allocations: 32 kB / 0.4887 GB, free: 13.11 MB / 430.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02506/0.6495, allocations: 10.28 MB / 0.4987 GB, free: 2.797 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.6497, allocations: 52 kB / 0.4988 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002203/0.6499, allocations: 100 kB / 0.4989 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01225/0.6622, allocations: 3.423 MB / 0.5022 GB, free: 15.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003924/0.6661, allocations: 1.084 MB / 0.5033 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02126/0.6874, allocations: 12.84 MB / 0.5158 GB, free: 1.125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004874/0.6924, allocations: 335.3 kB / 0.5161 GB, free: 0.7969 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001186/0.6936, allocations: 308 kB / 0.5164 GB, free: 0.4961 MB / 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.004205/0.6978, allocations: 1.465 MB / 0.5179 GB, free: 15.01 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001013/0.6988, allocations: 248.7 kB / 0.5181 GB, free: 14.77 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01678/0.7156, allocations: 6.005 MB / 0.524 GB, free: 8.727 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.576e-05/0.7158, allocations: 28 kB / 0.524 GB, free: 8.699 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.973e-05/0.7158, allocations: 12 kB / 0.524 GB, free: 8.688 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.533e-05/0.7159, allocations: 11.97 kB / 0.524 GB, free: 8.676 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03352/0.7494, allocations: 13.21 MB / 0.5369 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.844e-05/0.7495, allocations: 4 kB / 0.5369 GB, free: 11.36 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001277/0.7508, allocations: 235.7 kB / 0.5371 GB, free: 11.12 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0131/0.7639, allocations: 4.012 MB / 0.5411 GB, free: 7.086 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004353/0.7644, allocations: 44.05 kB / 0.5411 GB, free: 7.043 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2586/1.023, allocations: 12.82 MB / 0.5536 GB, free: 150.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/1.023, allocations: 1.75 kB / 0.5536 GB, free: 150.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02288/1.046, allocations: 10.09 MB / 0.5635 GB, free: 147 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009015/1.047, allocations: 305 kB / 0.5638 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009567/1.048, allocations: 36.64 kB / 0.5638 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002556/1.05, allocations: 186.5 kB / 0.564 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007612/1.051, allocations: 107.3 kB / 0.5641 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003192/1.052, allocations: 51.95 kB / 0.5641 GB, free: 146.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003966/1.056, allocations: 1.755 MB / 0.5658 GB, free: 146.2 MB / 478.1 MB Notification: Performance of sort global known variables: time 2.71e-07/1.056, allocations: 0 / 0.5658 GB, free: 146.2 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.005221/1.061, allocations: 0.8197 MB / 0.5666 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.02028/1.081, allocations: 10.72 MB / 0.5771 GB, free: 142.4 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.01002/1.091, allocations: 6.257 MB / 0.5832 GB, free: 139.7 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.091, allocations: 3.875 kB / 0.5832 GB, free: 139.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004813/1.096, allocations: 2.897 MB / 0.5861 GB, free: 137.3 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002946/1.099, allocations: 303.2 kB / 0.5864 GB, free: 137 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07469/1.174, allocations: 42.36 MB / 0.6277 GB, free: 90.45 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004457/1.178, allocations: 2.329 MB / 0.63 GB, free: 88.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003688/1.182, allocations: 1.504 MB / 0.6315 GB, free: 86.59 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001877/1.184, allocations: 1.132 MB / 0.6326 GB, free: 85.45 MB / 478.1 MB Notification: Performance of SimCode: time 1.884e-06/1.184, allocations: 0 / 0.6326 GB, free: 85.45 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09765/1.281, allocations: 63.22 MB / 0.6943 GB, free: 22.16 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.88/16.16, allocations: 16.66 kB / 0.6943 GB, free: 22.14 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 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.mat","/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