Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 76.08 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001259/0.001259, allocations: 157.4 kB / 23.93 MB, free: 0.6289 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.8765/0.8765, allocations: 173.4 MB / 200.4 MB, free: 9.434 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.833e-06/1.833e-06, allocations: 0 / 318.4 MB, free: 6.359 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.634e-05/1.817e-05, allocations: 2.281 kB / 318.4 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.005298/0.005316, allocations: 6.242 MB / 324.7 MB, free: 80 kB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003769/0.009085, allocations: 2.963 MB / 327.6 MB, free: 13.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003895/0.009475, allocations: 31.88 kB / 327.7 MB, free: 13.07 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001507/0.01098, allocations: 0.9261 MB / 328.6 MB, free: 12.14 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001805/0.01279, allocations: 1.455 MB / 330.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006083/0.0134, allocations: 0.5847 MB / 330.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002285/0.01568, allocations: 4.016 MB / 334.7 MB, free: 6.078 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.01715, allocations: 1.804 MB / 336.5 MB, free: 4.258 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0011/0.01825, allocations: 1.442 MB / 337.9 MB, free: 2.812 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001241/0.01949, allocations: 1.699 MB / 339.6 MB, free: 1.109 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001606/0.01965, allocations: 184 kB / 339.8 MB, free: 0.9258 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009368/0.02058, allocations: 0.9281 MB / 340.7 MB, free: 15.99 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006239/0.02121, allocations: 1.211 MB / 341.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004738/0.02168, allocations: 0.7398 MB / 342.7 MB, free: 14.04 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002923/0.02461, allocations: 4.513 MB / 347.2 MB, free: 9.512 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.02461, allocations: 0 / 347.2 MB, free: 9.512 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.683e-06/0.02461, allocations: 3.938 kB / 347.2 MB, free: 9.508 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.182e-05/0.02463, allocations: 0 / 347.2 MB, free: 9.508 MB / 314.7 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.004078/0.02871, allocations: 3.31 MB / 350.5 MB, free: 6.152 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.02875, allocations: 8.922 kB / 350.5 MB, free: 6.145 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003532/0.02911, allocations: 466.3 kB / 351 MB, free: 5.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003166/0.03227, allocations: 1.746 MB / 352.7 MB, free: 3.93 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.03394, allocations: 1.511 MB / 354.2 MB, free: 2.387 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.319e-05/0.034, allocations: 131.3 kB / 354.3 MB, free: 2.258 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000212/0.03421, allocations: 163.9 kB / 354.5 MB, free: 2.098 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005653/0.03987, allocations: 6.598 MB / 361.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.859e-05/0.03992, allocations: 35.7 kB / 361.1 MB, free: 10.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001627/0.04008, allocations: 87.89 kB / 361.2 MB, free: 10.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00109/0.04117, allocations: 1.327 MB / 362.5 MB, free: 9.508 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005835/0.047, allocations: 5.773 MB / 368.3 MB, free: 3.73 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01877/0.06577, allocations: 27.17 MB / 395.5 MB, free: 7.715 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003382/0.06915, allocations: 2.291 MB / 397.8 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.0702, allocations: 1.231 MB / 399 MB, free: 4.129 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003075/0.07051, allocations: 184.2 kB / 399.2 MB, free: 3.949 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.815e-05/0.07055, allocations: 47 kB / 399.2 MB, free: 3.895 MB / 362.7 MB Notification: Performance of pre-optimization done (n=129): time 4.959e-06/0.07055, allocations: 11.94 kB / 399.2 MB, free: 3.883 MB / 362.7 MB Notification: Performance of matching and sorting (n=163): time 0.03977/0.1103, allocations: 21.37 MB / 420.6 MB, free: 14.45 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.744e-05/0.1104, allocations: 175.2 kB / 420.8 MB, free: 14.24 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003221/0.1136, allocations: 3.158 MB / 423.9 MB, free: 11.07 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.1138, allocations: 45.7 kB / 424 MB, free: 11.02 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009197/0.1147, allocations: 2.144 MB / 426.1 MB, free: 8.848 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004585/0.1151, allocations: 0.6512 MB / 426.8 MB, free: 8.191 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008984/0.116, allocations: 0.977 MB / 427.8 MB, free: 7.203 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 8.059e-05/0.1161, allocations: 305.1 kB / 428.1 MB, free: 6.902 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002364/0.1185, allocations: 2.227 MB / 430.3 MB, free: 4.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003648/0.1221, allocations: 5.146 MB / 435.4 MB, free: 14.07 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006306/0.1284, allocations: 7.952 MB / 443.4 MB, free: 4.68 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.611e-05/0.1285, allocations: 32 kB / 443.4 MB, free: 4.648 MB / 410.7 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.1649/0.2934, allocations: 10.25 MB / 453.7 MB, free: 115.2 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.751e-05/0.2935, allocations: 47.12 kB / 453.7 MB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.091e-05/0.2935, allocations: 101.9 kB / 453.8 MB, free: 115.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005714/0.2993, allocations: 3.432 MB / 457.2 MB, free: 114.6 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/0.3012, allocations: 1.081 MB / 458.3 MB, free: 114.6 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01021/0.3114, allocations: 12.68 MB / 471 MB, free: 104.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.3137, allocations: 365.5 kB / 471.4 MB, free: 103.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002753/0.3139, allocations: 306.1 kB / 471.7 MB, free: 103.6 MB / 410.7 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.00138/0.3153, allocations: 1.461 MB / 473.1 MB, free: 102.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003295/0.3157, allocations: 262.8 kB / 473.4 MB, free: 102.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00749/0.3231, allocations: 5.972 MB / 479.4 MB, free: 96.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.596e-05/0.3232, allocations: 31.98 kB / 479.4 MB, free: 96.13 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.333e-05/0.3232, allocations: 11.94 kB / 479.4 MB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.3232, allocations: 3.984 kB / 479.4 MB, free: 96.12 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01416/0.3374, allocations: 12.89 MB / 492.3 MB, free: 83.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.3374, allocations: 7.984 kB / 492.3 MB, free: 83.28 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00051/0.3379, allocations: 227.7 kB / 492.5 MB, free: 83.06 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005877/0.3438, allocations: 4.014 MB / 496.5 MB, free: 79.03 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000114/0.3439, allocations: 49.38 kB / 496.6 MB, free: 78.98 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009743/0.3536, allocations: 12.66 MB / 0.4973 GB, free: 66.27 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.3536, allocations: 3.938 kB / 0.4973 GB, free: 66.26 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0103/0.3639, allocations: 10.08 MB / 0.5071 GB, free: 56.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005385/0.3645, allocations: 270.2 kB / 0.5074 GB, free: 56.07 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002002/0.3647, allocations: 39.92 kB / 0.5074 GB, free: 56.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008802/0.3655, allocations: 215.6 kB / 0.5076 GB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002265/0.3658, allocations: 119.1 kB / 0.5078 GB, free: 55.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.725e-05/0.3659, allocations: 55.72 kB / 0.5078 GB, free: 55.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001622/0.3675, allocations: 1.875 MB / 0.5096 GB, free: 53.78 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3675, allocations: 0 / 0.5096 GB, free: 53.78 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002674/0.3702, allocations: 0.9244 MB / 0.5105 GB, free: 52.86 MB / 410.7 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.01055/0.3807, allocations: 10.74 MB / 0.521 GB, free: 42.07 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72: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 4.0.0+maint.om/Mechanics/MultiBody/Parts/RollingWheel.mo:33:3-37:72: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.005675/0.3864, allocations: 5.553 MB / 0.5265 GB, free: 36.51 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.3864, allocations: 1.641 kB / 0.5265 GB, free: 36.51 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002531/0.3889, allocations: 2.274 MB / 0.5287 GB, free: 34.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.3902, allocations: 294.3 kB / 0.529 GB, free: 33.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04092/0.4311, allocations: 42.65 MB / 0.5706 GB, free: 2.992 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001611/0.4327, allocations: 1.757 MB / 0.5723 GB, free: 1.207 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002058/0.4348, allocations: 1.511 MB / 0.5738 GB, free: 15.69 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001035/0.4358, allocations: 1.137 MB / 0.5749 GB, free: 14.55 MB / 442.7 MB Notification: Performance of SimCode: time 2.314e-06/0.4358, allocations: 0 / 0.5749 GB, free: 14.55 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3027/0.7385, allocations: 65.7 MB / 0.6391 GB, free: 132.2 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.311/10.05, allocations: 7.312 kB / 0.6391 GB, free: 132.2 MB / 458.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.947243308648467]