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.001337/0.001337, allocations: 113.4 kB / 17.73 MB, free: 5.355 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.001311/0.001311, allocations: 184.1 kB / 18.66 MB, free: 4.434 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.329/1.329, allocations: 205.1 MB / 224.5 MB, free: 12.25 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.001806/0.001806, allocations: 60.23 kB / 328 MB, free: 3.812 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09159/0.09341, allocations: 46.62 MB / 374.6 MB, free: 5.082 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.1992/0.2927, allocations: 7.049 MB / 381.7 MB, free: 9.145 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005098/0.2979, allocations: 3.142 MB / 384.8 MB, free: 8.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005774/0.2985, allocations: 39.53 kB / 384.9 MB, free: 8.242 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.3002, allocations: 0.888 MB / 385.8 MB, free: 7.969 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002809/0.303, allocations: 1.375 MB / 387.1 MB, free: 7.387 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.304, allocations: 0.5268 MB / 387.7 MB, free: 7.191 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.003256/0.3073, allocations: 2.73 MB / 390.4 MB, free: 6.219 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001495/0.3088, allocations: 1.322 MB / 391.7 MB, free: 5.703 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.31, allocations: 0.8581 MB / 392.6 MB, free: 5.348 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002444/0.3125, allocations: 2.024 MB / 394.6 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000505/0.313, allocations: 179.3 kB / 394.8 MB, free: 4.773 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002/0.315, allocations: 0.9706 MB / 395.7 MB, free: 4.543 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001046/0.3161, allocations: 1.13 MB / 396.9 MB, free: 4.145 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.3171, allocations: 1.317 MB / 398.2 MB, free: 3.199 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004417/0.3216, allocations: 4.461 MB / 402.7 MB, free: 204 kB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.3216, allocations: 0 / 402.7 MB, free: 204 kB / 318.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.3216, allocations: 0 / 402.7 MB, free: 204 kB / 318.1 MB Notification: Performance of Transformations before backend: time 0.0001207/0.3217, allocations: 1.406 kB / 402.7 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.008478/0.3302, allocations: 3.365 MB / 406 MB, free: 13.86 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.131e-05/0.3303, allocations: 13.59 kB / 406 MB, free: 13.85 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006925/0.331, allocations: 460.9 kB / 406.5 MB, free: 13.54 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005977/0.337, allocations: 1.682 MB / 408.2 MB, free: 12.66 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003729/0.3407, allocations: 1.997 MB / 410.2 MB, free: 11.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001052/0.3408, allocations: 132.2 kB / 410.3 MB, free: 11.34 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003494/0.3412, allocations: 170.5 kB / 410.5 MB, free: 11.28 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.3516, allocations: 6.591 MB / 417 MB, free: 4.809 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.483e-05/0.3517, allocations: 39.69 kB / 417.1 MB, free: 4.77 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002567/0.3519, allocations: 87.89 kB / 417.2 MB, free: 4.684 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002186/0.3541, allocations: 1.327 MB / 418.5 MB, free: 3.359 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0111/0.3652, allocations: 5.839 MB / 424.3 MB, free: 13.51 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03496/0.4002, allocations: 28.03 MB / 452.4 MB, free: 0.6367 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006458/0.4067, allocations: 2.778 MB / 455.1 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001873/0.4087, allocations: 1.31 MB / 456.5 MB, free: 12.38 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008295/0.4095, allocations: 0.6317 MB / 457.1 MB, free: 11.63 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.373e-05/0.4096, allocations: 47.12 kB / 457.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 5.801e-06/0.4096, allocations: 4 kB / 457.1 MB, free: 11.57 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.07338/0.483, allocations: 21.23 MB / 478.4 MB, free: 6.234 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001167/0.4831, allocations: 171.2 kB / 478.5 MB, free: 6.027 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00432/0.4875, allocations: 2.825 MB / 481.4 MB, free: 3.188 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003365/0.4878, allocations: 45.7 kB / 481.4 MB, free: 3.137 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001802/0.4896, allocations: 2.175 MB / 483.6 MB, free: 0.9375 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008319/0.4905, allocations: 0.659 MB / 484.2 MB, free: 280 kB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001513/0.492, allocations: 0.9965 MB / 485.2 MB, free: 15.27 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001589/0.4922, allocations: 305.1 kB / 485.5 MB, free: 14.96 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00338/0.4955, allocations: 2.223 MB / 487.8 MB, free: 12.73 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006204/0.5018, allocations: 5.135 MB / 492.9 MB, free: 6.145 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.011/0.5128, allocations: 7.948 MB / 0.4891 GB, free: 12.75 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.333e-05/0.5129, allocations: 28 kB / 0.4891 GB, free: 12.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02502/0.5379, allocations: 10.29 MB / 0.4992 GB, free: 2.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.551e-05/0.5381, allocations: 48 kB / 0.4992 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001186/0.5382, allocations: 104.8 kB / 0.4993 GB, free: 2.254 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01217/0.5504, allocations: 3.419 MB / 0.5027 GB, free: 14.81 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003737/0.5541, allocations: 1.092 MB / 0.5037 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02057/0.5747, allocations: 12.85 MB / 0.5163 GB, free: 0.7148 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004077/0.5788, allocations: 331.5 kB / 0.5166 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007802/0.5797, allocations: 308 kB / 0.5169 GB, free: 92 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.002652/0.5823, allocations: 1.469 MB / 0.5183 GB, free: 14.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005962/0.5829, allocations: 266.2 kB / 0.5186 GB, free: 14.34 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01637/0.5993, allocations: 6.006 MB / 0.5244 GB, free: 8.297 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.928e-05/0.5994, allocations: 24 kB / 0.5245 GB, free: 8.273 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.001e-05/0.5994, allocations: 8 kB / 0.5245 GB, free: 8.266 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.993e-05/0.5995, allocations: 7.969 kB / 0.5245 GB, free: 8.258 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03188/0.6314, allocations: 13.23 MB / 0.5374 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.028e-05/0.6314, allocations: 0 / 0.5374 GB, free: 10.93 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.6327, allocations: 231.6 kB / 0.5376 GB, free: 10.7 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01313/0.6458, allocations: 4.012 MB / 0.5415 GB, free: 6.664 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003808/0.6462, allocations: 55.83 kB / 0.5416 GB, free: 6.609 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1943/0.8405, allocations: 12.81 MB / 0.5541 GB, free: 150 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.8406, allocations: 6.25 kB / 0.5541 GB, free: 150 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02095/0.8615, allocations: 10.1 MB / 0.564 GB, free: 146.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007655/0.8623, allocations: 320.7 kB / 0.5643 GB, free: 146.7 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003843/0.8627, allocations: 37.88 kB / 0.5643 GB, free: 146.7 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/0.8643, allocations: 183.2 kB / 0.5645 GB, free: 146.7 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004567/0.8647, allocations: 114.6 kB / 0.5646 GB, free: 146.7 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001736/0.8649, allocations: 54.11 kB / 0.5646 GB, free: 146.7 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.002642/0.8676, allocations: 1.753 MB / 0.5664 GB, free: 146.1 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8676, allocations: 0 / 0.5664 GB, free: 146.1 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0043/0.8719, allocations: 0.8217 MB / 0.5672 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.01866/0.8906, allocations: 10.74 MB / 0.5777 GB, free: 142.2 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.008948/0.8996, allocations: 6.255 MB / 0.5838 GB, free: 139.5 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8996, allocations: 0 / 0.5838 GB, free: 139.5 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004247/0.9038, allocations: 2.902 MB / 0.5866 GB, free: 136.8 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/0.9064, allocations: 305.2 kB / 0.5869 GB, free: 136.5 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0625/0.969, allocations: 42.48 MB / 0.6284 GB, free: 89.86 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002499/0.9715, allocations: 2.323 MB / 0.6306 GB, free: 87.51 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002862/0.9744, allocations: 1.503 MB / 0.6321 GB, free: 86 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001383/0.9758, allocations: 1.133 MB / 0.6332 GB, free: 84.87 MB / 478.1 MB Notification: Performance of SimCode: time 6.91e-07/0.9758, allocations: 0 / 0.6332 GB, free: 84.87 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09618/1.072, allocations: 62.05 MB / 0.6938 GB, free: 22.74 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.84/16.91, allocations: 16.64 kB / 0.6938 GB, free: 22.73 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