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.00134/0.00134, allocations: 88.47 kB / 20.95 MB, free: 476 kB / 14.72 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.00155/0.00155, allocations: 154 kB / 24.25 MB, free: 3.535 MB / 14.72 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 1.464/1.464, allocations: 173.3 MB / 200.8 MB, free: 12.72 MB / 190.1 MB " [Timeout remaining time 178] 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: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.984e-06/1.984e-06, allocations: 0 / 267.3 MB, free: 10.17 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.325e-05/3.524e-05, allocations: 5.125 kB / 267.3 MB, free: 10.17 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008825/0.00886, allocations: 6.253 MB / 273.6 MB, free: 3.879 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.006717/0.01558, allocations: 2.971 MB / 276.5 MB, free: 0.8984 MB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007287/0.01631, allocations: 43.81 kB / 276.6 MB, free: 0.8555 MB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002053/0.01836, allocations: 0.9262 MB / 277.5 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003318/0.02168, allocations: 1.466 MB / 279 MB, free: 14.45 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001136/0.02281, allocations: 0.5847 MB / 279.6 MB, free: 13.87 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.004914/0.02773, allocations: 4.016 MB / 283.6 MB, free: 9.848 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002575/0.0303, allocations: 1.876 MB / 285.5 MB, free: 7.957 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.03242, allocations: 1.438 MB / 286.9 MB, free: 6.516 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002561/0.03498, allocations: 1.699 MB / 288.6 MB, free: 4.812 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003492/0.03533, allocations: 187.9 kB / 288.8 MB, free: 4.629 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.03705, allocations: 0.9242 MB / 289.7 MB, free: 3.703 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001238/0.03829, allocations: 1.208 MB / 290.9 MB, free: 2.492 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009703/0.03926, allocations: 0.7359 MB / 291.6 MB, free: 1.754 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005083/0.04434, allocations: 4.501 MB / 296.1 MB, free: 13.24 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.04435, allocations: 0 / 296.1 MB, free: 13.24 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.04435, allocations: 4 kB / 296.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.59e-05/0.0444, allocations: 0 / 296.1 MB, free: 13.23 MB / 286.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.007174/0.05157, allocations: 3.302 MB / 299.5 MB, free: 9.887 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.05161, allocations: 12.92 kB / 299.5 MB, free: 9.875 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00696/0.05857, allocations: 2.086 MB / 301.5 MB, free: 7.785 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003038/0.06161, allocations: 1.46 MB / 303 MB, free: 6.293 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/0.06172, allocations: 123.5 kB / 303.1 MB, free: 6.172 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003867/0.06211, allocations: 179.8 kB / 303.3 MB, free: 5.996 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1336/0.1958, allocations: 6.59 MB / 309.9 MB, free: 45.38 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.319e-05/0.1958, allocations: 31.89 kB / 309.9 MB, free: 45.37 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002696/0.1961, allocations: 89.88 kB / 310 MB, free: 45.37 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002073/0.1982, allocations: 1.322 MB / 311.3 MB, free: 45.35 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01063/0.2088, allocations: 5.769 MB / 317.1 MB, free: 43.57 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02384/0.2327, allocations: 26.73 MB / 343.8 MB, free: 20.77 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005192/0.2378, allocations: 2.293 MB / 346.1 MB, free: 18.45 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001434/0.2393, allocations: 1.218 MB / 347.3 MB, free: 17.21 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000473/0.2398, allocations: 203.7 kB / 347.5 MB, free: 17.02 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.808e-05/0.2398, allocations: 51 kB / 347.6 MB, free: 16.96 MB / 286.1 MB Notification: Performance of pre-optimization done (n=129): time 4.468e-06/0.2398, allocations: 0 / 347.6 MB, free: 16.96 MB / 286.1 MB Notification: Performance of matching and sorting (n=163): time 0.06741/0.3072, allocations: 21.4 MB / 369 MB, free: 11.68 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.3074, allocations: 167.2 kB / 369.2 MB, free: 11.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004016/0.3114, allocations: 2.751 MB / 371.9 MB, free: 8.781 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003492/0.3117, allocations: 53.47 kB / 372 MB, free: 8.727 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001734/0.3135, allocations: 2.155 MB / 374.1 MB, free: 6.582 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009535/0.3144, allocations: 0.654 MB / 374.8 MB, free: 5.938 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001544/0.316, allocations: 0.9927 MB / 375.8 MB, free: 4.934 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000195/0.3162, allocations: 349.9 kB / 376.1 MB, free: 4.586 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003457/0.3196, allocations: 2.235 MB / 378.3 MB, free: 2.34 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006156/0.3258, allocations: 5.15 MB / 383.5 MB, free: 11.73 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01096/0.3367, allocations: 7.966 MB / 391.5 MB, free: 2.32 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000113/0.3368, allocations: 28 kB / 391.5 MB, free: 2.293 MB / 318.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02564/0.3625, allocations: 10.51 MB / 402 MB, free: 7.766 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.049e-05/0.3626, allocations: 48 kB / 402 MB, free: 7.719 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/0.3627, allocations: 110 kB / 402.1 MB, free: 7.613 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01469/0.3774, allocations: 4.173 MB / 406.3 MB, free: 3.414 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003837/0.3812, allocations: 1.093 MB / 407.4 MB, free: 2.32 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02213/0.4033, allocations: 12.67 MB / 420.1 MB, free: 5.551 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00409/0.4074, allocations: 363.4 kB / 420.4 MB, free: 5.195 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008571/0.4083, allocations: 308 kB / 420.7 MB, free: 4.895 MB / 350.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 (577): * Single equations (assignments): 566 * 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.002845/0.4111, allocations: 1.463 MB / 422.2 MB, free: 3.426 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008475/0.412, allocations: 278.4 kB / 422.5 MB, free: 3.152 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01718/0.4292, allocations: 5.948 MB / 428.4 MB, free: 13.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.798e-05/0.4292, allocations: 33.94 kB / 428.4 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.431e-05/0.4293, allocations: 12 kB / 428.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.897e-05/0.4293, allocations: 3.984 kB / 428.5 MB, free: 13.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03157/0.4609, allocations: 12.52 MB / 441 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.227e-05/0.4609, allocations: 0 / 441 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001211/0.4621, allocations: 235.6 kB / 441.2 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01548/0.4776, allocations: 4.842 MB / 446.1 MB, free: 11.46 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003839/0.478, allocations: 46.61 kB / 446.1 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1476/0.6255, allocations: 12.64 MB / 458.7 MB, free: 126.9 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.6255, allocations: 4.5 kB / 458.7 MB, free: 126.9 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02047/0.646, allocations: 10.08 MB / 468.8 MB, free: 124.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005985/0.6466, allocations: 235.8 kB / 469.1 MB, free: 124.8 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004332/0.647, allocations: 39.75 kB / 469.1 MB, free: 124.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001755/0.6488, allocations: 214.1 kB / 469.3 MB, free: 124.7 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004399/0.6492, allocations: 130 kB / 469.4 MB, free: 124.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/0.6494, allocations: 54.91 kB / 469.5 MB, free: 124.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001819/0.6512, allocations: 1.576 MB / 471.1 MB, free: 124.1 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.6512, allocations: 0 / 471.1 MB, free: 124.1 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.003839/0.655, allocations: 0.9247 MB / 472 MB, free: 124 MB / 382.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.0005031/0.6556, allocations: 186.3 kB / 472.2 MB, free: 123.9 MB / 382.1 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.008331/0.6639, allocations: 5.581 MB / 477.8 MB, free: 122 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.6639, allocations: 0 / 477.8 MB, free: 122 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004257/0.6681, allocations: 2.29 MB / 480 MB, free: 121.1 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001899/0.67, allocations: 276.3 kB / 480.3 MB, free: 121 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01009/0.6801, allocations: 7.292 MB / 487.6 MB, free: 115.2 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001855/0.682, allocations: 1.763 MB / 489.4 MB, free: 113.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.002896/0.6849, allocations: 1.483 MB / 490.9 MB, free: 112.6 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005103/0.6854, allocations: 180.4 kB / 491 MB, free: 112.4 MB / 382.1 MB Notification: Performance of SimCode: time 1.693e-06/0.6854, allocations: 0 / 491 MB, free: 112.4 MB / 382.1 MB Notification: Performance of Templates: time 0.051/0.7364, allocations: 39.39 MB / 0.518 GB, free: 73.41 MB / 382.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (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 & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 480] 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: 6.378305770456791]