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.001582/0.001582, allocations: 111 kB / 21.18 MB, free: 0.6758 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.001637/0.001637, allocations: 208.2 kB / 24.48 MB, free: 3.977 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.431/1.431, allocations: 230.6 MB / 258.2 MB, free: 7.805 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.002407/0.002407, allocations: 51.91 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2263, allocations: 53.37 MB / 432.3 MB, free: 6.758 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008083/0.2343, allocations: 6.235 MB / 438.6 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005534/0.2399, allocations: 2.983 MB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003966/0.2403, allocations: 35.88 kB / 441.6 MB, free: 13.47 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001802/0.2421, allocations: 0.8795 MB / 442.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002567/0.2446, allocations: 1.382 MB / 443.8 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008894/0.2455, allocations: 0.5186 MB / 444.4 MB, free: 10.68 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002972/0.2485, allocations: 2.757 MB / 447.1 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001315/0.2498, allocations: 1.23 MB / 448.4 MB, free: 6.676 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009653/0.2508, allocations: 0.872 MB / 449.2 MB, free: 5.801 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002578/0.2534, allocations: 2.264 MB / 451.5 MB, free: 3.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003011/0.2537, allocations: 176 kB / 451.7 MB, free: 3.359 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001375/0.255, allocations: 0.8814 MB / 452.5 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009865/0.256, allocations: 1.133 MB / 453.7 MB, free: 1.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009128/0.2569, allocations: 0.9433 MB / 454.6 MB, free: 400 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006516/0.2634, allocations: 4.412 MB / 459 MB, free: 11.96 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.2635, allocations: 0 / 459 MB, free: 11.96 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.2635, allocations: 0 / 459 MB, free: 11.96 MB / 366.1 MB Notification: Performance of Transformations before backend: time 2.888e-05/0.2635, allocations: 4 kB / 459 MB, free: 11.96 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.01165/0.2751, allocations: 3.341 MB / 462.4 MB, free: 8.574 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.473e-05/0.2752, allocations: 12.03 kB / 462.4 MB, free: 8.562 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01038/0.2856, allocations: 1.676 MB / 464.1 MB, free: 6.883 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00459/0.2901, allocations: 1.438 MB / 465.5 MB, free: 5.414 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001846/0.2903, allocations: 131.2 kB / 465.6 MB, free: 5.285 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000551/0.2909, allocations: 163.9 kB / 465.8 MB, free: 5.125 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01453/0.3054, allocations: 6.633 MB / 472.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001136/0.3055, allocations: 35.7 kB / 472.5 MB, free: 13.91 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004244/0.3059, allocations: 83.89 kB / 472.5 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003554/0.3095, allocations: 1.335 MB / 473.9 MB, free: 12.5 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01595/0.3255, allocations: 5.828 MB / 479.7 MB, free: 6.66 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03917/0.3646, allocations: 26.55 MB / 0.4944 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006041/0.3707, allocations: 2.244 MB / 0.4966 GB, free: 8.984 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001576/0.3722, allocations: 1.22 MB / 0.4978 GB, free: 7.75 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005177/0.3728, allocations: 184.1 kB / 0.4979 GB, free: 7.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.997e-05/0.3728, allocations: 51 kB / 0.498 GB, free: 7.512 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.647e-06/0.3728, allocations: 0 / 0.498 GB, free: 7.512 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07597/0.4488, allocations: 20.93 MB / 0.5184 GB, free: 2.523 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001083/0.4489, allocations: 171.2 kB / 0.5186 GB, free: 2.316 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003402/0.4523, allocations: 2.663 MB / 0.5212 GB, free: 15.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000231/0.4525, allocations: 45.7 kB / 0.5212 GB, free: 15.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001604/0.4541, allocations: 2.179 MB / 0.5234 GB, free: 13.37 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007009/0.4548, allocations: 0.6594 MB / 0.524 GB, free: 12.7 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001458/0.4563, allocations: 1 MB / 0.525 GB, free: 11.69 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000175/0.4564, allocations: 361.9 kB / 0.5253 GB, free: 11.33 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003376/0.4598, allocations: 2.227 MB / 0.5275 GB, free: 9.098 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005655/0.4655, allocations: 5.15 MB / 0.5325 GB, free: 2.492 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1888/0.6543, allocations: 7.97 MB / 0.5403 GB, free: 92.65 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.648e-05/0.6543, allocations: 30.94 kB / 0.5404 GB, free: 92.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02056/0.6749, allocations: 10.26 MB / 0.5504 GB, free: 89.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.355e-05/0.6749, allocations: 50.94 kB / 0.5504 GB, free: 89.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.055e-05/0.675, allocations: 104.4 kB / 0.5505 GB, free: 89.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01119/0.6862, allocations: 3.434 MB / 0.5539 GB, free: 88.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002823/0.689, allocations: 1.084 MB / 0.5549 GB, free: 88.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01541/0.7044, allocations: 12.58 MB / 0.5672 GB, free: 75.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003281/0.7077, allocations: 333.5 kB / 0.5675 GB, free: 75.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003232/0.708, allocations: 307.5 kB / 0.5678 GB, free: 75.13 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.001494/0.7095, allocations: 1.458 MB / 0.5693 GB, free: 73.73 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000376/0.7099, allocations: 238.9 kB / 0.5695 GB, free: 73.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01452/0.7244, allocations: 5.948 MB / 0.5753 GB, free: 67.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.487e-05/0.7245, allocations: 31.98 kB / 0.5753 GB, free: 67.62 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.719e-05/0.7245, allocations: 12.75 kB / 0.5753 GB, free: 67.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.74e-05/0.7245, allocations: 7.969 kB / 0.5753 GB, free: 67.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02534/0.7498, allocations: 12.43 MB / 0.5875 GB, free: 55.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.3e-05/0.7499, allocations: 0.8125 kB / 0.5875 GB, free: 55.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.7509, allocations: 235.6 kB / 0.5877 GB, free: 55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01193/0.7628, allocations: 4.007 MB / 0.5916 GB, free: 50.97 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001909/0.763, allocations: 43.97 kB / 0.5917 GB, free: 50.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01529/0.7783, allocations: 12.57 MB / 0.6039 GB, free: 38.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.695e-06/0.7783, allocations: 4 kB / 0.6039 GB, free: 38.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01816/0.7965, allocations: 10.05 MB / 0.6138 GB, free: 28.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004878/0.797, allocations: 209.7 kB / 0.614 GB, free: 28.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003393/0.7973, allocations: 40.17 kB / 0.614 GB, free: 28.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001589/0.7989, allocations: 187.7 kB / 0.6142 GB, free: 27.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003881/0.7993, allocations: 116.8 kB / 0.6143 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/0.7994, allocations: 55.56 kB / 0.6143 GB, free: 27.68 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001533/0.801, allocations: 1.504 MB / 0.6158 GB, free: 26.16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.801, allocations: 0 / 0.6158 GB, free: 26.16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003207/0.8042, allocations: 0.8093 MB / 0.6166 GB, free: 25.36 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.0003481/0.8045, allocations: 169 kB / 0.6168 GB, free: 25.2 MB / 446.1 MB [/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.007778/0.8123, allocations: 5.574 MB / 0.6222 GB, free: 19.62 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.8123, allocations: 0 / 0.6222 GB, free: 19.62 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004215/0.8165, allocations: 2.27 MB / 0.6244 GB, free: 17.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001579/0.8181, allocations: 270.3 kB / 0.6247 GB, free: 17.06 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008202/0.8263, allocations: 7.392 MB / 0.6319 GB, free: 9.656 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001574/0.8279, allocations: 1.752 MB / 0.6336 GB, free: 7.867 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.00256/0.8304, allocations: 1.482 MB / 0.6351 GB, free: 6.379 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004111/0.8308, allocations: 179.4 kB / 0.6352 GB, free: 6.207 MB / 446.1 MB Notification: Performance of SimCode: time 9.42e-07/0.8308, allocations: 4 kB / 0.6352 GB, free: 6.203 MB / 446.1 MB Notification: Performance of Templates: time 0.06577/0.8966, allocations: 42.75 MB / 0.677 GB, free: 11.85 MB / 494.1 MB " [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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/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.559679449012037]