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.001/0.001, allocations: 91.61 kB / 22.19 MB, free: 2.379 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.001067/0.001067, allocations: 157.5 kB / 25.44 MB, free: 9.352 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 0.9399/0.9399, allocations: 158.6 MB / 187.2 MB, free: 3.051 MB / 170.7 MB " [Timeout remaining time 179] 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 1.573e-06/1.573e-06, allocations: 0 / 299.7 MB, free: 6.906 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.715e-05/2.872e-05, allocations: 3.828 kB / 299.7 MB, free: 6.902 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.005722/0.005751, allocations: 6.25 MB / 306 MB, free: 0.6211 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003789/0.00954, allocations: 2.972 MB / 308.9 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003977/0.009937, allocations: 39.81 kB / 309 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001173/0.01111, allocations: 0.9261 MB / 309.9 MB, free: 12.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002182/0.01329, allocations: 1.447 MB / 311.3 MB, free: 11.22 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006794/0.01397, allocations: 0.5769 MB / 311.9 MB, free: 10.64 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002669/0.01664, allocations: 4.025 MB / 315.9 MB, free: 6.609 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0014/0.01804, allocations: 1.808 MB / 317.8 MB, free: 4.789 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001668/0.01971, allocations: 1.45 MB / 319.2 MB, free: 3.336 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001506/0.02121, allocations: 1.695 MB / 320.9 MB, free: 1.637 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001996/0.02141, allocations: 184 kB / 321.1 MB, free: 1.457 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001055/0.02247, allocations: 0.9241 MB / 322 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007063/0.02318, allocations: 1.212 MB / 323.2 MB, free: 15.32 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005871/0.02376, allocations: 0.7437 MB / 324 MB, free: 14.57 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003512/0.02727, allocations: 4.493 MB / 328.4 MB, free: 10.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.02728, allocations: 4 kB / 328.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.02728, allocations: 0 / 328.5 MB, free: 10.06 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.499e-05/0.02732, allocations: 0 / 328.5 MB, free: 10.06 MB / 314.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.004139/0.03145, allocations: 3.317 MB / 331.8 MB, free: 6.695 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.078e-05/0.03151, allocations: 11.98 kB / 331.8 MB, free: 6.684 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003406/0.03491, allocations: 1.699 MB / 333.5 MB, free: 4.98 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001672/0.03658, allocations: 1.488 MB / 335 MB, free: 3.461 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.506e-05/0.03665, allocations: 127.5 kB / 335.1 MB, free: 3.336 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002214/0.03687, allocations: 171.8 kB / 335.3 MB, free: 3.168 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005812/0.04268, allocations: 6.625 MB / 341.9 MB, free: 12 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.695e-05/0.04274, allocations: 35.7 kB / 341.9 MB, free: 11.96 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000164/0.0429, allocations: 91.83 kB / 342 MB, free: 11.87 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001114/0.04402, allocations: 1.327 MB / 343.3 MB, free: 10.55 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006225/0.05024, allocations: 5.839 MB / 349.2 MB, free: 4.699 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1959/0.2462, allocations: 26.74 MB / 375.9 MB, free: 37.44 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003389/0.2496, allocations: 2.29 MB / 378.2 MB, free: 36.83 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008047/0.2504, allocations: 1.23 MB / 379.4 MB, free: 36.3 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002687/0.2506, allocations: 180 kB / 379.6 MB, free: 36.28 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.2507, allocations: 49.44 kB / 379.7 MB, free: 36.23 MB / 330.7 MB Notification: Performance of pre-optimization done (n=129): time 3.647e-06/0.2507, allocations: 7.094 kB / 379.7 MB, free: 36.23 MB / 330.7 MB Notification: Performance of matching and sorting (n=163): time 0.03437/0.285, allocations: 21.38 MB / 401 MB, free: 18.57 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.297e-05/0.2851, allocations: 171.2 kB / 401.2 MB, free: 18.37 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.2873, allocations: 2.797 MB / 404 MB, free: 15.67 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.669e-05/0.2874, allocations: 53.67 kB / 404.1 MB, free: 15.61 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005865/0.288, allocations: 2.162 MB / 406.2 MB, free: 13.55 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003593/0.2884, allocations: 0.6459 MB / 406.9 MB, free: 12.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007408/0.2891, allocations: 0.9964 MB / 407.9 MB, free: 11.91 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.228e-05/0.2892, allocations: 353.9 kB / 408.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.2909, allocations: 2.227 MB / 410.4 MB, free: 9.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002611/0.2935, allocations: 5.154 MB / 415.6 MB, free: 2.711 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007981/0.3015, allocations: 7.974 MB / 423.6 MB, free: 9.293 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.213e-05/0.3015, allocations: 32 kB / 423.6 MB, free: 9.262 MB / 346.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01597/0.3175, allocations: 10.24 MB / 433.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.726e-05/0.3176, allocations: 48 kB / 433.9 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.747e-05/0.3177, allocations: 104 kB / 434 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00628/0.3239, allocations: 3.431 MB / 437.4 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00191/0.3259, allocations: 1.092 MB / 438.5 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01334/0.3392, allocations: 12.64 MB / 451.2 MB, free: 13.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002785/0.342, allocations: 371.2 kB / 451.5 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003127/0.3423, allocations: 304 kB / 451.8 MB, free: 12.9 MB / 378.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.001838/0.3441, allocations: 1.461 MB / 453.3 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003667/0.3445, allocations: 242.4 kB / 453.5 MB, free: 11.19 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00871/0.3532, allocations: 5.947 MB / 459.5 MB, free: 5.207 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.838e-05/0.3533, allocations: 24 kB / 459.5 MB, free: 5.184 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.972e-05/0.3533, allocations: 8.875 kB / 459.5 MB, free: 5.176 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.576e-05/0.3533, allocations: 15.91 kB / 459.5 MB, free: 5.16 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01687/0.3702, allocations: 12.53 MB / 472 MB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.405e-06/0.3702, allocations: 3.625 kB / 472 MB, free: 8.598 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005474/0.3707, allocations: 235.6 kB / 472.3 MB, free: 8.367 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006708/0.3774, allocations: 4.008 MB / 476.3 MB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001163/0.3775, allocations: 43.97 kB / 476.3 MB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01223/0.3898, allocations: 12.63 MB / 489 MB, free: 7.555 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.3898, allocations: 4 kB / 489 MB, free: 7.551 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0126/0.4024, allocations: 10.04 MB / 499 MB, free: 13.47 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006537/0.403, allocations: 246.3 kB / 499.2 MB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002084/0.4032, allocations: 37.94 kB / 499.3 MB, free: 13.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008995/0.4041, allocations: 223.6 kB / 499.5 MB, free: 12.97 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/0.4044, allocations: 116.8 kB / 499.6 MB, free: 12.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.634e-05/0.4045, allocations: 54.47 kB / 499.7 MB, free: 12.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001674/0.4061, allocations: 1.61 MB / 0.4895 GB, free: 11.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4061, allocations: 0 / 0.4895 GB, free: 11.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002853/0.409, allocations: 0.9256 MB / 0.4904 GB, free: 10.26 MB / 426.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.0004297/0.4094, allocations: 185.3 kB / 0.4906 GB, free: 10.07 MB / 426.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.007009/0.4164, allocations: 5.579 MB / 0.4961 GB, free: 4.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4164, allocations: 0 / 0.4961 GB, free: 4.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002707/0.4191, allocations: 2.271 MB / 0.4983 GB, free: 2.176 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.4203, allocations: 263.3 kB / 0.4985 GB, free: 1.926 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008836/0.4292, allocations: 7.518 MB / 0.5059 GB, free: 10.37 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001843/0.431, allocations: 1.754 MB / 0.5076 GB, free: 8.582 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/0.4315, allocations: 224.4 kB / 0.5078 GB, free: 8.363 MB / 442.7 MB Notification: Performance of SimCode: time 2.274e-06/0.4315, allocations: 4 kB / 0.5078 GB, free: 8.359 MB / 442.7 MB Notification: Performance of Templates: time 0.2358/0.6672, allocations: 131 MB / 0.6357 GB, free: 47.43 MB / 442.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=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 480] 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: 9.00164600647986]