Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001491/0.001491, allocations: 106.9 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001566/0.001566, allocations: 221 kB / 23 MB, free: 5.574 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 230.2 MB / 256.2 MB, free: 8.547 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001863/0.001863, allocations: 59.91 kB / 376.5 MB, free: 3.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2689/0.2707, allocations: 53.32 MB / 429.8 MB, free: 7.566 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008922/0.2796, allocations: 7.075 MB / 436.9 MB, free: 468 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006319/0.286, allocations: 3.193 MB / 440.1 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008688/0.2868, allocations: 31.94 kB / 440.1 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00196/0.2888, allocations: 0.9145 MB / 441 MB, free: 12.3 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003249/0.292, allocations: 1.37 MB / 442.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001122/0.2932, allocations: 0.5186 MB / 442.9 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003681/0.2968, allocations: 2.758 MB / 445.7 MB, free: 7.648 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001441/0.2983, allocations: 1.072 MB / 446.7 MB, free: 6.559 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.2995, allocations: 0.868 MB / 447.6 MB, free: 5.688 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002849/0.3024, allocations: 2.256 MB / 449.9 MB, free: 3.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004885/0.3029, allocations: 176 kB / 450 MB, free: 3.254 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001868/0.3047, allocations: 1.006 MB / 451 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.3059, allocations: 1.133 MB / 452.2 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001541/0.3075, allocations: 1.293 MB / 453.5 MB, free: 15.8 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00523/0.3127, allocations: 4.402 MB / 457.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.3127, allocations: 4 kB / 457.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3127, allocations: 0 / 457.9 MB, free: 11.39 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.377e-05/0.3128, allocations: 0 / 457.9 MB, free: 11.39 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.00834/0.3211, allocations: 3.42 MB / 461.3 MB, free: 7.906 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/0.3212, allocations: 12.03 kB / 461.3 MB, free: 7.895 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005857/0.327, allocations: 1.672 MB / 463 MB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003669/0.3307, allocations: 1.491 MB / 464.5 MB, free: 4.684 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001331/0.3308, allocations: 127.2 kB / 464.6 MB, free: 4.559 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003848/0.3312, allocations: 171.8 kB / 464.8 MB, free: 4.391 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01061/0.3418, allocations: 6.596 MB / 471.3 MB, free: 13.25 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.864e-05/0.3419, allocations: 35.7 kB / 471.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002718/0.3422, allocations: 91.88 kB / 471.5 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00202/0.3442, allocations: 1.327 MB / 472.8 MB, free: 11.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01068/0.3549, allocations: 5.839 MB / 478.6 MB, free: 5.961 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03475/0.3896, allocations: 28.01 MB / 0.4948 GB, free: 9.098 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006157/0.3958, allocations: 2.708 MB / 0.4974 GB, free: 6.234 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001646/0.3974, allocations: 1.224 MB / 0.4986 GB, free: 4.996 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007976/0.3982, allocations: 0.6278 MB / 0.4992 GB, free: 4.258 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.314e-05/0.3983, allocations: 47.12 kB / 0.4993 GB, free: 4.203 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.877e-06/0.3983, allocations: 0 / 0.4993 GB, free: 4.203 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07116/0.4694, allocations: 21.12 MB / 0.5199 GB, free: 14.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.4696, allocations: 175.2 kB / 0.5201 GB, free: 14.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004097/0.4737, allocations: 2.8 MB / 0.5228 GB, free: 11.95 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002786/0.4739, allocations: 45.7 kB / 0.5228 GB, free: 11.89 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001587/0.4755, allocations: 2.171 MB / 0.525 GB, free: 9.699 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006871/0.4762, allocations: 0.6473 MB / 0.5256 GB, free: 9.047 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001484/0.4777, allocations: 1.012 MB / 0.5266 GB, free: 8.023 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001363/0.4778, allocations: 305.1 kB / 0.5269 GB, free: 7.723 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003266/0.4811, allocations: 2.231 MB / 0.5291 GB, free: 5.484 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2231/0.7041, allocations: 5.151 MB / 0.5341 GB, free: 97.98 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008643/0.7128, allocations: 7.973 MB / 0.5419 GB, free: 92.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001254/0.7129, allocations: 28.72 kB / 0.5419 GB, free: 92.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02142/0.7343, allocations: 10.27 MB / 0.5519 GB, free: 89 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.352e-05/0.7344, allocations: 52.25 kB / 0.552 GB, free: 89 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.994e-05/0.7345, allocations: 105.3 kB / 0.5521 GB, free: 89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01019/0.7447, allocations: 3.432 MB / 0.5554 GB, free: 87.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002883/0.7476, allocations: 1.092 MB / 0.5565 GB, free: 86.71 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/0.7624, allocations: 12.85 MB / 0.569 GB, free: 73.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003952/0.7664, allocations: 330 kB / 0.5694 GB, free: 73.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005413/0.7669, allocations: 304 kB / 0.5697 GB, free: 73.18 MB / 446.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.001773/0.7687, allocations: 1.463 MB / 0.5711 GB, free: 71.77 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004231/0.7691, allocations: 262.6 kB / 0.5713 GB, free: 71.66 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01306/0.7822, allocations: 5.967 MB / 0.5772 GB, free: 65.66 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.313e-05/0.7822, allocations: 35.91 kB / 0.5772 GB, free: 65.63 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.722e-05/0.7822, allocations: 8 kB / 0.5772 GB, free: 65.62 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.222e-05/0.7823, allocations: 11.97 kB / 0.5772 GB, free: 65.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02319/0.8055, allocations: 13.18 MB / 0.5901 GB, free: 52.47 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.26e-05/0.8055, allocations: 4 kB / 0.5901 GB, free: 52.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009918/0.8065, allocations: 232.4 kB / 0.5903 GB, free: 52.24 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01062/0.8171, allocations: 4.015 MB / 0.5942 GB, free: 48.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003507/0.8175, allocations: 47.95 kB / 0.5943 GB, free: 48.16 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01464/0.8321, allocations: 12.84 MB / 0.6068 GB, free: 35.19 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.8321, allocations: 4 kB / 0.6068 GB, free: 35.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/0.8495, allocations: 10.06 MB / 0.6166 GB, free: 25.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005221/0.85, allocations: 318.7 kB / 0.6169 GB, free: 24.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003682/0.8504, allocations: 35.98 kB / 0.617 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001479/0.8518, allocations: 187.7 kB / 0.6172 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004027/0.8522, allocations: 116.1 kB / 0.6173 GB, free: 24.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001433/0.8524, allocations: 51.97 kB / 0.6173 GB, free: 24.37 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001772/0.8542, allocations: 1.73 MB / 0.619 GB, free: 22.63 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.8542, allocations: 0 / 0.619 GB, free: 22.63 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003182/0.8573, allocations: 0.8131 MB / 0.6198 GB, free: 21.82 MB / 446.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.000342/0.8577, allocations: 158.6 kB / 0.62 GB, free: 21.67 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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 trunk/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.007882/0.8656, allocations: 6.041 MB / 0.6259 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.8656, allocations: 0 / 0.6259 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00399/0.8696, allocations: 2.726 MB / 0.6285 GB, free: 12.64 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00174/0.8713, allocations: 291.4 kB / 0.6288 GB, free: 12.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00859/0.8799, allocations: 7.431 MB / 0.6361 GB, free: 4.914 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001549/0.8814, allocations: 2.318 MB / 0.6383 GB, free: 2.566 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002565/0.884, allocations: 1.511 MB / 0.6398 GB, free: 1.051 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004028/0.8844, allocations: 183.4 kB / 0.64 GB, free: 0.875 MB / 446.1 MB Notification: Performance of SimCode: time 1.022e-06/0.8844, allocations: 0 / 0.64 GB, free: 0.875 MB / 446.1 MB Notification: Performance of Templates: time 0.07578/0.9602, allocations: 41.32 MB / 0.6803 GB, free: 7.699 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.556828130967915]