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.001261/0.001261, allocations: 102.9 kB / 17.58 MB, free: 5.418 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.001306/0.001306, allocations: 191.9 kB / 18.51 MB, free: 4.504 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.191/1.191, 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.001277/0.001277, allocations: 56.52 kB / 280.8 MB, free: 3.074 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07764/0.07893, allocations: 46.63 MB / 327.4 MB, free: 4.371 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007811/0.08677, allocations: 7.039 MB / 334.4 MB, free: 13.29 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005244/0.09205, allocations: 3.128 MB / 337.6 MB, free: 10.15 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004335/0.09254, allocations: 35.94 kB / 337.6 MB, free: 10.11 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001538/0.09409, allocations: 0.899 MB / 338.5 MB, free: 9.211 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002409/0.09651, allocations: 1.362 MB / 339.8 MB, free: 7.844 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008852/0.09741, allocations: 0.5225 MB / 340.4 MB, free: 7.32 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002657/0.1001, allocations: 2.735 MB / 343.1 MB, free: 4.574 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.1014, allocations: 1.333 MB / 344.4 MB, free: 3.234 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008133/0.1022, allocations: 0.8602 MB / 345.3 MB, free: 2.371 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001998/0.1042, allocations: 2.014 MB / 347.3 MB, free: 360 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003178/0.1045, allocations: 187.9 kB / 347.5 MB, free: 172 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001473/0.106, allocations: 0.9789 MB / 348.5 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007991/0.1068, allocations: 1.13 MB / 349.6 MB, free: 14.05 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001007/0.1078, allocations: 1.309 MB / 350.9 MB, free: 12.74 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003489/0.1113, allocations: 4.272 MB / 355.2 MB, free: 8.453 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1113, allocations: 4 kB / 355.2 MB, free: 8.449 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1114, allocations: 0 / 355.2 MB, free: 8.449 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.616e-05/0.1114, allocations: 0 / 355.2 MB, free: 8.449 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.005668/0.1171, allocations: 3.288 MB / 358.5 MB, free: 5.102 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.39e-05/0.1171, allocations: 12.03 kB / 358.5 MB, free: 5.09 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000439/0.1176, allocations: 462.3 kB / 358.9 MB, free: 4.629 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005576/0.1231, allocations: 1.666 MB / 360.6 MB, free: 2.957 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002793/0.1259, allocations: 1.983 MB / 362.6 MB, free: 0.9297 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.632e-05/0.126, allocations: 123.2 kB / 362.7 MB, free: 0.8086 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002836/0.1263, allocations: 175.8 kB / 362.9 MB, free: 0.6367 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007466/0.1338, allocations: 6.588 MB / 369.5 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.757e-05/0.1339, allocations: 43.64 kB / 369.5 MB, free: 9.469 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002223/0.1341, allocations: 83.89 kB / 369.6 MB, free: 9.387 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001774/0.1359, allocations: 1.331 MB / 370.9 MB, free: 8.051 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008009/0.1439, allocations: 5.843 MB / 376.8 MB, free: 2.203 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1461/0.29, allocations: 28.05 MB / 404.8 MB, free: 29.44 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005093/0.2952, allocations: 2.793 MB / 407.6 MB, free: 28.18 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.2963, allocations: 1.309 MB / 408.9 MB, free: 27.6 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004713/0.2968, allocations: 0.6278 MB / 409.5 MB, free: 27.01 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.558e-05/0.2968, allocations: 53.77 kB / 409.6 MB, free: 26.96 MB / 318.1 MB Notification: Performance of pre-optimization done (n=129): time 3.216e-06/0.2968, allocations: 0 / 409.6 MB, free: 26.96 MB / 318.1 MB Notification: Performance of matching and sorting (n=163): time 0.0604/0.3572, allocations: 21.06 MB / 430.7 MB, free: 9.484 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.3573, allocations: 175.2 kB / 430.8 MB, free: 9.277 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002474/0.3598, allocations: 2.812 MB / 433.6 MB, free: 6.449 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001432/0.3599, allocations: 45.7 kB / 433.7 MB, free: 6.398 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006943/0.3606, allocations: 2.079 MB / 435.8 MB, free: 4.32 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003646/0.361, allocations: 0.6267 MB / 436.4 MB, free: 3.699 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009633/0.362, allocations: 0.9939 MB / 437.4 MB, free: 2.695 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 3.021e-05/0.362, allocations: 305.1 kB / 437.7 MB, free: 2.395 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002194/0.3642, allocations: 2.227 MB / 439.9 MB, free: 164 kB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00419/0.3684, allocations: 5.138 MB / 445.1 MB, free: 9.562 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007513/0.3759, allocations: 7.949 MB / 453 MB, free: 176 kB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-05/0.376, allocations: 32 kB / 453 MB, free: 144 kB / 334.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02033/0.3963, allocations: 10.28 MB / 463.3 MB, free: 5.84 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.36e-05/0.3964, allocations: 52 kB / 463.4 MB, free: 5.789 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.44e-05/0.3965, allocations: 102.3 kB / 463.5 MB, free: 5.691 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01118/0.4077, allocations: 3.443 MB / 466.9 MB, free: 2.227 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003027/0.4107, allocations: 1.077 MB / 468 MB, free: 1.148 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01759/0.4283, allocations: 12.86 MB / 480.8 MB, free: 4.152 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003528/0.4319, allocations: 331.4 kB / 481.2 MB, free: 3.828 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005543/0.4325, allocations: 308 kB / 481.5 MB, free: 3.527 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.001889/0.4344, allocations: 1.47 MB / 482.9 MB, free: 2.043 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004567/0.4348, allocations: 260.6 kB / 483.2 MB, free: 1.785 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01535/0.4502, allocations: 5.986 MB / 489.2 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.901e-05/0.4503, allocations: 31.91 kB / 489.2 MB, free: 11.73 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.071e-05/0.4503, allocations: 12 kB / 489.2 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.787e-05/0.4504, allocations: 7.969 kB / 489.2 MB, free: 11.71 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02665/0.477, allocations: 13.24 MB / 0.4907 GB, free: 14.39 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.4771, allocations: 4 kB / 0.4907 GB, free: 14.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001012/0.4781, allocations: 231.7 kB / 0.4909 GB, free: 14.16 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01165/0.4897, allocations: 4.019 MB / 0.4948 GB, free: 10.11 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001868/0.4899, allocations: 51.89 kB / 0.4949 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01717/0.5071, allocations: 12.83 MB / 0.5074 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.5072, allocations: 0 / 0.5074 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02001/0.5272, allocations: 10.08 MB / 0.5173 GB, free: 2.945 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006505/0.5279, allocations: 313.6 kB / 0.5176 GB, free: 2.617 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000669/0.5285, allocations: 31.98 kB / 0.5176 GB, free: 2.586 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001958/0.5305, allocations: 187.7 kB / 0.5178 GB, free: 2.402 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004867/0.531, allocations: 112.8 kB / 0.5179 GB, free: 2.293 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002254/0.5313, allocations: 60.03 kB / 0.5179 GB, free: 2.234 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.002802/0.5341, allocations: 1.746 MB / 0.5196 GB, free: 492 kB / 414.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5341, allocations: 0 / 0.5196 GB, free: 492 kB / 414.1 MB Notification: Performance of remove unused functions: time 0.004025/0.5381, allocations: 0.8178 MB / 0.5204 GB, free: 15.66 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.02055/0.5587, allocations: 10.72 MB / 0.5309 GB, free: 4.891 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.1473/0.706, allocations: 6.782 MB / 0.5375 GB, free: 151.1 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.7061, allocations: 0 / 0.5375 GB, free: 151.1 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.005802/0.7119, allocations: 2.9 MB / 0.5404 GB, free: 150.3 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002003/0.7139, allocations: 300.8 kB / 0.5406 GB, free: 150.3 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05645/0.7704, allocations: 44.96 MB / 0.5846 GB, free: 114.7 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/0.7722, allocations: 2.322 MB / 0.5868 GB, free: 112.3 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002849/0.775, allocations: 1.511 MB / 0.5883 GB, free: 110.8 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001053/0.7761, allocations: 1.128 MB / 0.5894 GB, free: 109.7 MB / 430.1 MB Notification: Performance of SimCode: time 6.01e-07/0.7761, allocations: 0 / 0.5894 GB, free: 109.7 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4308/1.207, allocations: 64.94 MB / 0.6528 GB, free: 44.58 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.62/14.82, allocations: 15.88 kB / 0.6528 GB, free: 44.56 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 & /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