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.001466/0.001466, allocations: 114.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.001754/0.001754, allocations: 187 kB / 18.66 MB, free: 4.398 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.325/1.325, allocations: 205.1 MB / 224.5 MB, free: 12.21 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.001363/0.001363, allocations: 55.92 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08619/0.08757, allocations: 46.62 MB / 374.7 MB, free: 5.059 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.1954/0.283, allocations: 7.03 MB / 381.7 MB, free: 9.129 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006036/0.2891, allocations: 3.149 MB / 384.8 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008277/0.2899, allocations: 30.56 kB / 384.9 MB, free: 8.238 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0018/0.2918, allocations: 0.8918 MB / 385.8 MB, free: 7.973 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003153/0.2949, allocations: 1.382 MB / 387.1 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001114/0.2961, allocations: 0.5161 MB / 387.7 MB, free: 7.199 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003936/0.3, allocations: 2.73 MB / 390.4 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001813/0.3019, allocations: 1.331 MB / 391.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.3034, allocations: 0.8656 MB / 392.6 MB, free: 5.344 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002707/0.3061, allocations: 2.024 MB / 394.6 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007026/0.3068, allocations: 178.2 kB / 394.8 MB, free: 4.77 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002421/0.3092, allocations: 0.9631 MB / 395.7 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001806/0.3111, allocations: 1.134 MB / 396.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002714/0.3138, allocations: 1.318 MB / 398.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005237/0.319, allocations: 4.446 MB / 402.6 MB, free: 200 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.3191, allocations: 0 / 402.6 MB, free: 200 kB / 318.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.3191, allocations: 5.062 kB / 402.6 MB, free: 196 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001119/0.3192, allocations: 0 / 402.6 MB, free: 196 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.008284/0.3275, allocations: 3.284 MB / 405.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.3276, allocations: 9.656 kB / 405.9 MB, free: 13.94 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007108/0.3283, allocations: 468.8 kB / 406.4 MB, free: 13.61 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006039/0.3343, allocations: 1.67 MB / 408.1 MB, free: 12.75 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004205/0.3386, allocations: 1.984 MB / 410 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.924e-05/0.3387, allocations: 132.5 kB / 410.2 MB, free: 11.44 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004387/0.3391, allocations: 171 kB / 410.3 MB, free: 11.38 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009868/0.349, allocations: 6.592 MB / 416.9 MB, free: 4.887 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.582e-05/0.3491, allocations: 31.75 kB / 417 MB, free: 4.855 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002675/0.3494, allocations: 91.89 kB / 417.1 MB, free: 4.766 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001973/0.3514, allocations: 1.327 MB / 418.4 MB, free: 3.441 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/0.3614, allocations: 5.843 MB / 424.2 MB, free: 13.58 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03108/0.3925, allocations: 27.98 MB / 452.2 MB, free: 0.7539 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005819/0.3984, allocations: 2.782 MB / 455 MB, free: 13.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001512/0.3999, allocations: 1.308 MB / 456.3 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006788/0.4006, allocations: 0.6356 MB / 456.9 MB, free: 11.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.65e-05/0.4007, allocations: 47.06 kB / 457 MB, free: 11.69 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 3.857e-06/0.4007, allocations: 0 / 457 MB, free: 11.69 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.07039/0.4711, allocations: 21.07 MB / 478 MB, free: 6.496 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/0.4712, allocations: 171.2 kB / 478.2 MB, free: 6.289 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004911/0.4761, allocations: 2.816 MB / 481 MB, free: 3.457 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003669/0.4765, allocations: 45.7 kB / 481.1 MB, free: 3.406 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001506/0.478, allocations: 2.079 MB / 483.2 MB, free: 1.293 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008182/0.4789, allocations: 0.6247 MB / 483.8 MB, free: 0.6602 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001866/0.4808, allocations: 0.9917 MB / 484.8 MB, free: 15.66 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 9.059e-05/0.4809, allocations: 313.1 kB / 485.1 MB, free: 15.35 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003221/0.4841, allocations: 2.219 MB / 487.3 MB, free: 13.12 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005667/0.4898, allocations: 5.142 MB / 492.4 MB, free: 6.523 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009502/0.4993, allocations: 7.945 MB / 0.4887 GB, free: 13.13 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001317/0.4995, allocations: 32 kB / 0.4887 GB, free: 13.1 MB / 430.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.0249/0.5244, allocations: 10.27 MB / 0.4987 GB, free: 2.797 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001514/0.5246, allocations: 52 kB / 0.4988 GB, free: 2.746 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001614/0.5247, allocations: 100 kB / 0.4989 GB, free: 2.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01216/0.5369, allocations: 3.432 MB / 0.5022 GB, free: 15.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003846/0.5408, allocations: 1.08 MB / 0.5033 GB, free: 14.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0202/0.561, allocations: 12.85 MB / 0.5158 GB, free: 1.113 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003855/0.5649, allocations: 335.4 kB / 0.5161 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008088/0.5658, allocations: 308 kB / 0.5164 GB, free: 496 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.003137/0.5689, allocations: 1.465 MB / 0.5179 GB, free: 15 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007299/0.5697, allocations: 248.7 kB / 0.5181 GB, free: 14.76 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01598/0.5856, allocations: 6.006 MB / 0.524 GB, free: 8.711 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.416e-05/0.5858, allocations: 27.98 kB / 0.524 GB, free: 8.684 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.201e-05/0.5858, allocations: 12.41 kB / 0.524 GB, free: 8.672 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.201e-05/0.5859, allocations: 7.984 kB / 0.524 GB, free: 8.664 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02976/0.6156, allocations: 13.22 MB / 0.5369 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/0.6157, allocations: 3.938 kB / 0.5369 GB, free: 11.34 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001175/0.6169, allocations: 235.7 kB / 0.5371 GB, free: 11.11 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01239/0.6293, allocations: 4.008 MB / 0.5411 GB, free: 7.07 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003402/0.6297, allocations: 55.94 kB / 0.5411 GB, free: 7.016 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2219/0.8516, allocations: 12.8 MB / 0.5536 GB, free: 150.1 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.8516, allocations: 3.141 kB / 0.5536 GB, free: 150.1 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02056/0.8722, allocations: 10.09 MB / 0.5635 GB, free: 146.9 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007752/0.873, allocations: 308.6 kB / 0.5638 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005097/0.8735, allocations: 35.38 kB / 0.5638 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001676/0.8752, allocations: 187.8 kB / 0.564 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000418/0.8756, allocations: 111.9 kB / 0.5641 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001562/0.8758, allocations: 51.56 kB / 0.5641 GB, free: 146.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.00282/0.8786, allocations: 1.753 MB / 0.5658 GB, free: 146.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.8786, allocations: 0 / 0.5658 GB, free: 146.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004558/0.8832, allocations: 0.8175 MB / 0.5666 GB, free: 146 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.01933/0.9026, allocations: 10.73 MB / 0.5771 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.009078/0.9117, 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.29e-06/0.9117, allocations: 0 / 0.5832 GB, free: 139.7 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004373/0.9161, allocations: 2.894 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.002297/0.9184, allocations: 309.6 kB / 0.5864 GB, free: 137 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06114/0.9796, allocations: 42.37 MB / 0.6277 GB, free: 90.45 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002015/0.9816, allocations: 2.324 MB / 0.63 GB, free: 88.09 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002621/0.9843, allocations: 1.506 MB / 0.6315 GB, free: 86.59 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001209/0.9855, allocations: 1.14 MB / 0.6326 GB, free: 85.45 MB / 478.1 MB Notification: Performance of SimCode: time 7.61e-07/0.9855, allocations: 0 / 0.6326 GB, free: 85.45 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08947/1.075, allocations: 63.21 MB / 0.6943 GB, free: 22.15 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/15.85, allocations: 8.656 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