Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.001838/0.001838, allocations: 124.5 kB / 17.79 MB, free: 5.246 MB / 14.72 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.002238/0.002238, allocations: 207.2 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.538/1.538, allocations: 230.6 MB / 254.1 MB, free: 15.1 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4.1.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.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001619/0.001619, allocations: 55.86 kB / 373.5 MB, free: 9.695 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1018/0.1034, allocations: 53.33 MB / 426.8 MB, free: 4.277 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.2215/0.3249, allocations: 7.043 MB / 433.8 MB, free: 7.789 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004927/0.3298, allocations: 3.18 MB / 437 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000557/0.3303, allocations: 34.56 kB / 437.1 MB, free: 6.395 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.3321, allocations: 0.9098 MB / 438 MB, free: 6.129 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002826/0.3349, allocations: 1.369 MB / 439.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001073/0.336, allocations: 0.5169 MB / 439.9 MB, free: 5.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004037/0.34, allocations: 2.755 MB / 442.6 MB, free: 4.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001534/0.3416, allocations: 1.178 MB / 443.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001447/0.343, allocations: 0.8794 MB / 444.7 MB, free: 3.715 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003086/0.3461, allocations: 2.252 MB / 446.9 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006589/0.3467, allocations: 177.8 kB / 447.1 MB, free: 3.113 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002047/0.3488, allocations: 1.002 MB / 448.1 MB, free: 2.883 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001158/0.35, allocations: 1.149 MB / 449.2 MB, free: 2.449 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.3512, allocations: 1.283 MB / 450.5 MB, free: 1.523 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005433/0.3566, allocations: 4.404 MB / 454.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3566, allocations: 0 / 454.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.3566, allocations: 1.219 kB / 454.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001168/0.3567, allocations: 3.984 kB / 454.9 MB, free: 14.75 MB / 366.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.00959/0.3663, allocations: 3.419 MB / 458.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.3664, allocations: 8.938 kB / 458.4 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00674/0.3731, allocations: 1.676 MB / 460 MB, free: 11.54 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003829/0.3769, allocations: 1.493 MB / 461.5 MB, free: 10.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.377, allocations: 127.9 kB / 461.7 MB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004807/0.3775, allocations: 167 kB / 461.8 MB, free: 10.42 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01111/0.3886, allocations: 6.605 MB / 468.4 MB, free: 6.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-05/0.3887, allocations: 29.75 kB / 468.5 MB, free: 6.18 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002667/0.389, allocations: 82.34 kB / 468.5 MB, free: 6.121 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002258/0.3912, allocations: 1.327 MB / 469.9 MB, free: 4.797 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/0.4019, allocations: 5.848 MB / 475.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03672/0.4386, allocations: 28.01 MB / 0.4919 GB, free: 2.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006866/0.4455, allocations: 2.703 MB / 0.4946 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001847/0.4473, allocations: 1.217 MB / 0.4957 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000834/0.4482, allocations: 0.6317 MB / 0.4964 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.119e-05/0.4482, allocations: 59.05 kB / 0.4964 GB, free: 13.21 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.547e-06/0.4482, allocations: 3.938 kB / 0.4964 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07921/0.5274, allocations: 21.12 MB / 0.517 GB, free: 7.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001442/0.5276, allocations: 167.2 kB / 0.5172 GB, free: 7.781 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004782/0.5324, allocations: 2.8 MB / 0.5199 GB, free: 4.965 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004178/0.5328, allocations: 49.7 kB / 0.52 GB, free: 4.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0019/0.5347, allocations: 2.167 MB / 0.5221 GB, free: 2.719 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009558/0.5356, allocations: 0.6551 MB / 0.5227 GB, free: 2.059 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001631/0.5373, allocations: 1.008 MB / 0.5237 GB, free: 1.039 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001464/0.5374, allocations: 309.1 kB / 0.524 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003894/0.5413, allocations: 2.231 MB / 0.5262 GB, free: 14.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00636/0.5477, allocations: 5.154 MB / 0.5312 GB, free: 7.887 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01232/0.56, allocations: 7.968 MB / 0.539 GB, free: 14.48 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.703e-05/0.5601, allocations: 32 kB / 0.539 GB, free: 14.45 MB / 462.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02739/0.5875, allocations: 10.27 MB / 0.5491 GB, free: 4.148 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000109/0.5876, allocations: 52.03 kB / 0.5491 GB, free: 4.098 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001768/0.5878, allocations: 100 kB / 0.5492 GB, free: 4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01339/0.6011, allocations: 3.431 MB / 0.5526 GB, free: 0.543 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003987/0.6051, allocations: 1.088 MB / 0.5536 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02231/0.6274, allocations: 12.84 MB / 0.5662 GB, free: 2.469 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004045/0.6315, allocations: 327.6 kB / 0.5665 GB, free: 2.148 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007131/0.6322, allocations: 308 kB / 0.5668 GB, free: 1.848 MB / 478.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.002583/0.6348, allocations: 1.475 MB / 0.5682 GB, free: 372 kB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000569/0.6354, allocations: 258.3 kB / 0.5685 GB, free: 112 kB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01773/0.6531, allocations: 5.974 MB / 0.5743 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.617e-05/0.6532, allocations: 27.98 kB / 0.5743 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.431e-05/0.6532, allocations: 8 kB / 0.5743 GB, free: 10.06 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.52e-05/0.6532, allocations: 11.97 kB / 0.5743 GB, free: 10.05 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03331/0.6865, allocations: 13.2 MB / 0.5872 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-05/0.6866, allocations: 0 / 0.5872 GB, free: 12.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/0.6878, allocations: 235.6 kB / 0.5875 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01413/0.7019, allocations: 4.02 MB / 0.5914 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003336/0.7023, allocations: 47.95 kB / 0.5914 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02222/0.7245, allocations: 12.83 MB / 0.604 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.135e-06/0.7245, allocations: 4 kB / 0.604 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02359/0.7481, allocations: 10.08 MB / 0.6138 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007724/0.7489, allocations: 327 kB / 0.6141 GB, free: 0.9922 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003994/0.7493, allocations: 32 kB / 0.6141 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001723/0.751, allocations: 187.7 kB / 0.6143 GB, free: 0.7773 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005131/0.7515, allocations: 108.8 kB / 0.6144 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001762/0.7517, allocations: 51.97 kB / 0.6145 GB, free: 0.6211 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.237/0.9886, allocations: 1.722 MB / 0.6162 GB, free: 165 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9886, allocations: 1.656 kB / 0.6162 GB, free: 165 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.004923/0.9936, allocations: 0.8121 MB / 0.6169 GB, free: 165 MB / 0.5137 GB 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.0005228/0.9941, allocations: 168.3 kB / 0.6171 GB, free: 164.9 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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.1.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.01153/1.006, allocations: 6.024 MB / 0.623 GB, free: 163.9 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 7.083e-06/1.006, allocations: 0 / 0.623 GB, free: 163.9 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.005597/1.011, allocations: 2.717 MB / 0.6256 GB, free: 162.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002317/1.014, allocations: 300.6 kB / 0.6259 GB, free: 162.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01264/1.026, allocations: 7.368 MB / 0.6331 GB, free: 159.3 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002709/1.029, allocations: 2.325 MB / 0.6354 GB, free: 158.2 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003984/1.033, allocations: 1.506 MB / 0.6369 GB, free: 158.1 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005663/1.033, allocations: 189.8 kB / 0.6371 GB, free: 158.1 MB / 0.5137 GB Notification: Performance of SimCode: time 1.032e-06/1.033, allocations: 0 / 0.6371 GB, free: 158.1 MB / 0.5137 GB Notification: Performance of Templates: time 0.05535/1.089, allocations: 39.72 MB / 0.6758 GB, free: 130.8 MB / 0.5137 GB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.733898427337408]