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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002757/0.002757, allocations: 99.53 kB / 21.73 MB, free: 2.691 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002077/0.002077, allocations: 164.5 kB / 25.03 MB, free: 8.41 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.482/1.482, allocations: 158.6 MB / 186.8 MB, free: 2.922 MB / 170.7 MB " [Timeout remaining time 178] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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_3.2.3_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_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 250.4 MB, free: 7.836 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.832e-05/4.062e-05, allocations: 2.312 kB / 250.4 MB, free: 7.832 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01015/0.01019, allocations: 6.828 MB / 257.2 MB, free: 0.9688 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.006927/0.01712, allocations: 3.077 MB / 260.3 MB, free: 13.88 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007812/0.0179, allocations: 31.88 kB / 260.3 MB, free: 13.85 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002248/0.02015, allocations: 0.9534 MB / 261.3 MB, free: 12.89 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003752/0.0239, allocations: 1.451 MB / 262.7 MB, free: 11.44 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001309/0.02521, allocations: 0.5886 MB / 263.3 MB, free: 10.85 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.005456/0.03067, allocations: 4.021 MB / 267.3 MB, free: 6.824 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002961/0.03363, allocations: 1.879 MB / 269.2 MB, free: 4.926 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002634/0.03626, allocations: 1.438 MB / 270.6 MB, free: 3.484 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002883/0.03914, allocations: 1.719 MB / 272.4 MB, free: 1.762 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000513/0.03966, allocations: 184 kB / 272.5 MB, free: 1.582 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002104/0.04176, allocations: 0.928 MB / 273.5 MB, free: 0.6523 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00147/0.04323, allocations: 1.216 MB / 274.7 MB, free: 15.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001243/0.04447, allocations: 0.7398 MB / 275.4 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006502/0.05098, allocations: 4.505 MB / 279.9 MB, free: 10.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.05098, allocations: 4 kB / 279.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.05098, allocations: 0 / 279.9 MB, free: 10.16 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001029/0.05109, allocations: 0 / 279.9 MB, free: 10.16 MB / 266.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.009508/0.0606, allocations: 3.858 MB / 283.8 MB, free: 6.254 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.845e-05/0.06064, allocations: 11.98 kB / 283.8 MB, free: 6.242 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007329/0.06797, allocations: 2.039 MB / 285.8 MB, free: 4.199 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004047/0.07202, allocations: 1.373 MB / 287.2 MB, free: 2.793 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001322/0.07215, allocations: 123.5 kB / 287.3 MB, free: 2.672 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005645/0.07272, allocations: 167.8 kB / 287.5 MB, free: 2.508 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008828/0.08154, allocations: 4.401 MB / 291.9 MB, free: 13.38 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.931e-05/0.08163, allocations: 31.7 kB / 291.9 MB, free: 13.34 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002723/0.08191, allocations: 87.91 kB / 292 MB, free: 13.26 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002387/0.08429, allocations: 1.319 MB / 293.3 MB, free: 11.94 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007657/0.09195, allocations: 2.501 MB / 295.8 MB, free: 9.438 MB / 282.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04539/0.1373, allocations: 34.15 MB / 330 MB, free: 6.195 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005911/0.1433, allocations: 1.474 MB / 331.5 MB, free: 4.652 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009796/0.1442, allocations: 460 kB / 331.9 MB, free: 4.184 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00058/0.1448, allocations: 188.2 kB / 332.1 MB, free: 4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.918e-05/0.1449, allocations: 53.83 kB / 332.2 MB, free: 3.938 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 3.256e-06/0.1449, allocations: 0 / 332.2 MB, free: 3.938 MB / 314.7 MB Notification: Performance of matching and sorting (n=163): time 0.06481/0.2097, allocations: 15.04 MB / 347.2 MB, free: 4.824 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001345/0.2098, allocations: 171.2 kB / 347.4 MB, free: 4.621 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005055/0.2149, allocations: 3.147 MB / 350.5 MB, free: 1.438 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003164/0.2152, allocations: 45.7 kB / 350.6 MB, free: 1.387 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.1157/0.3309, allocations: 2.435 MB / 353 MB, free: 99.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001101/0.332, allocations: 0.7258 MB / 353.7 MB, free: 99.19 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002492/0.3344, allocations: 1.249 MB / 355 MB, free: 99.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001869/0.3346, allocations: 0.5585 MB / 355.5 MB, free: 98.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001546/0.3362, allocations: 0.8135 MB / 356.3 MB, free: 98.57 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00313/0.3393, allocations: 5.31 MB / 361.6 MB, free: 93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005143/0.3445, allocations: 6.763 MB / 368.4 MB, free: 87.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.949e-05/0.3445, allocations: 30.56 kB / 368.4 MB, free: 87.02 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.0186/0.3631, allocations: 6.868 MB / 375.3 MB, free: 83.17 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.454e-05/0.3632, allocations: 52 kB / 375.4 MB, free: 83.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.842e-05/0.3633, allocations: 100 kB / 375.5 MB, free: 83.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.012/0.3753, allocations: 2.836 MB / 378.3 MB, free: 80.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003208/0.3785, allocations: 1.092 MB / 379.4 MB, free: 79.39 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01182/0.3903, allocations: 5.477 MB / 384.9 MB, free: 73.8 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003854/0.3942, allocations: 370.4 kB / 385.2 MB, free: 73.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005433/0.3947, allocations: 308 kB / 385.5 MB, free: 73.15 MB / 330.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 (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.001261/0.396, allocations: 0.606 MB / 386.1 MB, free: 72.59 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005935/0.3966, allocations: 286.3 kB / 386.4 MB, free: 72.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.013/0.4096, allocations: 3.746 MB / 390.2 MB, free: 68.52 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.243e-05/0.4097, allocations: 26.34 kB / 390.2 MB, free: 68.5 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.066e-05/0.4097, allocations: 8 kB / 390.2 MB, free: 68.49 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.657e-05/0.4097, allocations: 12.59 kB / 390.2 MB, free: 68.48 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02417/0.4339, allocations: 9.628 MB / 399.8 MB, free: 58.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/0.4339, allocations: 7.375 kB / 399.8 MB, free: 58.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.4349, allocations: 223.7 kB / 400.1 MB, free: 58.63 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01266/0.4476, allocations: 3.435 MB / 403.5 MB, free: 55.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003035/0.4479, allocations: 47.95 kB / 403.5 MB, free: 55.12 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01106/0.459, allocations: 5.001 MB / 408.5 MB, free: 50 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.459, allocations: 8 kB / 408.5 MB, free: 49.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01526/0.4742, allocations: 5.946 MB / 414.5 MB, free: 43.99 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006735/0.4749, allocations: 243.3 kB / 414.7 MB, free: 43.76 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003547/0.4752, allocations: 38.48 kB / 414.8 MB, free: 43.72 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00166/0.4769, allocations: 219.6 kB / 415 MB, free: 43.51 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00038/0.4773, allocations: 121.8 kB / 415.1 MB, free: 43.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001408/0.4774, allocations: 47.97 kB / 415.1 MB, free: 43.35 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001614/0.479, allocations: 1.274 MB / 416.4 MB, free: 42.06 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.479, allocations: 0 / 416.4 MB, free: 42.06 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003813/0.4828, allocations: 0.9263 MB / 417.3 MB, free: 41.14 MB / 330.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.0004789/0.4833, allocations: 180.9 kB / 417.5 MB, free: 40.96 MB / 330.7 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.007833/0.4912, allocations: 3.818 MB / 421.3 MB, free: 37.12 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.4912, allocations: 0 / 421.3 MB, free: 37.12 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00399/0.4952, allocations: 1.589 MB / 422.9 MB, free: 35.48 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.4972, allocations: 276.2 kB / 423.2 MB, free: 35.22 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008156/0.5053, allocations: 5.545 MB / 428.7 MB, free: 29.64 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001416/0.5067, allocations: 1.584 MB / 430.3 MB, free: 28.04 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002374/0.5091, allocations: 1.291 MB / 431.6 MB, free: 26.74 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004716/0.5096, allocations: 184.4 kB / 431.8 MB, free: 26.56 MB / 330.7 MB Notification: Performance of SimCode: time 2.074e-06/0.5096, allocations: 4 kB / 431.8 MB, free: 26.56 MB / 330.7 MB Notification: Performance of Templates: time 0.06085/0.5704, allocations: 40.21 MB / 472 MB, free: 2.312 MB / 346.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (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 & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.649891735985875]