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.001711/0.001711, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 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.00195/0.00195, allocations: 189.6 kB / 23.72 MB, free: 4.68 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.451/1.451, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.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 0.001567/0.001567, allocations: 47.92 kB / 370.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3101/0.3117, allocations: 52.18 MB / 423.1 MB, free: 14.68 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01299/0.3247, allocations: 7.094 MB / 430.2 MB, free: 7.547 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.009303/0.334, allocations: 3.181 MB / 433.4 MB, free: 4.355 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001298/0.3353, allocations: 39.81 kB / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002516/0.3378, allocations: 0.9107 MB / 434.3 MB, free: 3.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004691/0.3425, allocations: 1.409 MB / 435.8 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001284/0.3438, allocations: 0.5186 MB / 436.3 MB, free: 1.473 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004057/0.3479, allocations: 2.731 MB / 439 MB, free: 14.74 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001565/0.3494, allocations: 1.084 MB / 440.1 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001457/0.3509, allocations: 0.8837 MB / 441 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002894/0.3538, allocations: 2.147 MB / 443.1 MB, free: 10.6 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005955/0.3544, allocations: 180 kB / 443.3 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00209/0.3565, allocations: 1.022 MB / 444.3 MB, free: 9.402 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.3577, allocations: 1.145 MB / 445.5 MB, free: 8.254 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001505/0.3592, allocations: 1.305 MB / 446.8 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005423/0.3647, allocations: 4.441 MB / 451.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/0.3647, allocations: 4 kB / 451.2 MB, free: 2.484 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.3647, allocations: 4 kB / 451.2 MB, free: 2.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.179e-05/0.3647, allocations: 3.938 kB / 451.2 MB, free: 2.477 MB / 350.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.007475/0.3722, allocations: 3.267 MB / 454.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.3723, allocations: 8.031 kB / 454.5 MB, free: 15.16 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006241/0.3785, allocations: 1.668 MB / 456.2 MB, free: 13.48 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003504/0.382, allocations: 1.473 MB / 457.6 MB, free: 11.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.3821, allocations: 123.2 kB / 457.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003587/0.3825, allocations: 163.9 kB / 457.9 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01104/0.3935, allocations: 6.6 MB / 464.5 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.437e-05/0.3936, allocations: 35.7 kB / 464.6 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002821/0.3939, allocations: 83.89 kB / 464.6 MB, free: 4.441 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002178/0.396, allocations: 1.327 MB / 466 MB, free: 3.117 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.4071, allocations: 5.847 MB / 471.8 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03832/0.4455, allocations: 27.92 MB / 499.7 MB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006496/0.452, allocations: 2.247 MB / 0.4902 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001801/0.4538, allocations: 1.228 MB / 0.4914 GB, free: 12.96 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005797/0.4543, allocations: 188.1 kB / 0.4916 GB, free: 12.77 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.102e-05/0.4544, allocations: 47.05 kB / 0.4916 GB, free: 12.72 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.188e-06/0.4544, allocations: 0 / 0.4916 GB, free: 12.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.0785/0.5329, allocations: 20.9 MB / 0.512 GB, free: 7.762 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001417/0.533, allocations: 179.2 kB / 0.5122 GB, free: 7.547 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005409/0.5384, allocations: 2.8 MB / 0.5149 GB, free: 4.73 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000478/0.5389, allocations: 45.7 kB / 0.515 GB, free: 4.68 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00239/0.5413, allocations: 2.171 MB / 0.5171 GB, free: 2.484 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001063/0.5424, allocations: 0.6511 MB / 0.5177 GB, free: 1.828 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001915/0.5443, allocations: 1.012 MB / 0.5187 GB, free: 0.8047 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001296/0.5444, allocations: 313.1 kB / 0.519 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003861/0.5483, allocations: 2.227 MB / 0.5212 GB, free: 14.26 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006853/0.5551, allocations: 5.147 MB / 0.5262 GB, free: 7.66 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01198/0.5671, allocations: 7.978 MB / 0.534 GB, free: 14.24 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000166/0.5673, allocations: 28 kB / 0.5341 GB, free: 14.21 MB / 462.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02672/0.594, allocations: 10.27 MB / 0.5441 GB, free: 3.914 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001164/0.5941, allocations: 48 kB / 0.5441 GB, free: 3.867 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001697/0.5943, allocations: 107.9 kB / 0.5442 GB, free: 3.762 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01291/0.6072, allocations: 3.436 MB / 0.5476 GB, free: 308 kB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.239/0.8462, allocations: 1.084 MB / 0.5486 GB, free: 119.6 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01766/0.8639, allocations: 12.74 MB / 0.5611 GB, free: 114.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004452/0.8683, allocations: 333.3 kB / 0.5614 GB, free: 114.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008168/0.8691, allocations: 305.6 kB / 0.5617 GB, free: 114.5 MB / 462.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.002658/0.8718, allocations: 1.463 MB / 0.5631 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005767/0.8724, allocations: 265.1 kB / 0.5634 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01466/0.887, allocations: 5.967 MB / 0.5692 GB, free: 111.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.697e-05/0.8871, allocations: 35.98 kB / 0.5692 GB, free: 111.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/0.8871, allocations: 11.88 kB / 0.5692 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.617e-05/0.8871, allocations: 7.922 kB / 0.5693 GB, free: 111.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02481/0.912, allocations: 13.19 MB / 0.5821 GB, free: 98.36 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.963e-05/0.912, allocations: 0 / 0.5821 GB, free: 98.36 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.913, allocations: 227.7 kB / 0.5824 GB, free: 98.13 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01148/0.9245, allocations: 4.01 MB / 0.5863 GB, free: 94.13 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002278/0.9248, allocations: 47.89 kB / 0.5863 GB, free: 94.09 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01517/0.9399, allocations: 12.72 MB / 0.5987 GB, free: 81.32 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.766e-06/0.9399, allocations: 3.938 kB / 0.5987 GB, free: 81.31 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01765/0.9576, allocations: 10.08 MB / 0.6086 GB, free: 71.31 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006215/0.9582, allocations: 245.4 kB / 0.6088 GB, free: 71.08 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000422/0.9586, allocations: 35.98 kB / 0.6088 GB, free: 71.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001571/0.9602, allocations: 195.6 kB / 0.609 GB, free: 70.86 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003639/0.9605, allocations: 116.5 kB / 0.6091 GB, free: 70.75 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/0.9607, allocations: 55.95 kB / 0.6092 GB, free: 70.69 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00197/0.9627, allocations: 1.73 MB / 0.6109 GB, free: 68.95 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.9627, allocations: 0 / 0.6109 GB, free: 68.95 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003725/0.9664, allocations: 0.8245 MB / 0.6117 GB, free: 68.14 MB / 462.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.0004083/0.9668, allocations: 171.5 kB / 0.6119 GB, free: 67.97 MB / 462.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.008582/0.9754, allocations: 5.579 MB / 0.6173 GB, free: 62.39 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.9754, allocations: 4 kB / 0.6173 GB, free: 62.38 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004332/0.9797, allocations: 2.265 MB / 0.6195 GB, free: 60.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001979/0.9817, allocations: 287.8 kB / 0.6198 GB, free: 59.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008476/0.9902, allocations: 7.433 MB / 0.6271 GB, free: 52.37 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001555/0.9917, allocations: 2.33 MB / 0.6293 GB, free: 50.01 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002503/0.9942, allocations: 1.511 MB / 0.6308 GB, free: 48.49 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004118/0.9946, allocations: 187.4 kB / 0.631 GB, free: 48.31 MB / 462.1 MB Notification: Performance of SimCode: time 7.81e-07/0.9946, allocations: 0 / 0.631 GB, free: 48.31 MB / 462.1 MB Notification: Performance of Templates: time 0.0543/1.049, allocations: 43.45 MB / 0.6734 GB, free: 5.086 MB / 462.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.787876300513744]