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.001783/0.001783, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.002203/0.002203, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.431/1.431, allocations: 225.6 MB / 250.8 MB, free: 13.4 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.001552/0.001552, allocations: 47.92 kB / 368.7 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3356/0.3372, allocations: 52.13 MB / 420.9 MB, free: 15.14 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009209/0.3464, allocations: 7.104 MB / 428 MB, free: 8.004 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006305/0.3527, allocations: 3.174 MB / 431.1 MB, free: 4.82 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007381/0.3534, allocations: 31.94 kB / 431.2 MB, free: 4.789 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00195/0.3554, allocations: 0.9184 MB / 432.1 MB, free: 3.867 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003161/0.3586, allocations: 1.39 MB / 433.5 MB, free: 2.473 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00103/0.3596, allocations: 0.5225 MB / 434 MB, free: 1.949 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003394/0.363, allocations: 2.732 MB / 436.7 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00133/0.3643, allocations: 1.091 MB / 437.8 MB, free: 14.1 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.3654, allocations: 0.8642 MB / 438.7 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002559/0.368, allocations: 2.147 MB / 440.8 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003883/0.3683, allocations: 176 kB / 441 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001751/0.3701, allocations: 1.018 MB / 442 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001095/0.3712, allocations: 1.149 MB / 443.2 MB, free: 8.738 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001272/0.3725, allocations: 1.309 MB / 444.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004972/0.3774, allocations: 4.444 MB / 448.9 MB, free: 2.965 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3774, allocations: 4 kB / 448.9 MB, free: 2.961 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3774, allocations: 3.938 kB / 448.9 MB, free: 2.957 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.442e-05/0.3775, allocations: 0 / 448.9 MB, free: 2.957 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.006843/0.3843, allocations: 3.338 MB / 452.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3844, allocations: 8.031 kB / 452.3 MB, free: 15.55 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005811/0.3902, allocations: 1.668 MB / 453.9 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003064/0.3933, allocations: 1.534 MB / 455.5 MB, free: 12.3 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000104/0.3934, allocations: 123.2 kB / 455.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003742/0.3937, allocations: 167.9 kB / 455.8 MB, free: 12.02 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01066/0.4044, allocations: 6.6 MB / 462.4 MB, free: 4.879 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.244e-05/0.4045, allocations: 39.69 kB / 462.4 MB, free: 4.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/0.4047, allocations: 87.89 kB / 462.5 MB, free: 4.754 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002137/0.4069, allocations: 1.323 MB / 463.8 MB, free: 3.434 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.4175, allocations: 5.839 MB / 469.7 MB, free: 13.59 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03663/0.4541, allocations: 28.01 MB / 497.7 MB, free: 0.7305 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006195/0.4603, allocations: 2.704 MB / 0.4886 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.462, allocations: 1.216 MB / 0.4898 GB, free: 12.64 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008595/0.4629, allocations: 0.6317 MB / 0.4904 GB, free: 11.89 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.776e-05/0.463, allocations: 51.06 kB / 0.4905 GB, free: 11.84 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 5.701e-06/0.463, allocations: 4 kB / 0.4905 GB, free: 11.83 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07467/0.5376, allocations: 21.14 MB / 0.5111 GB, free: 6.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000134/0.5378, allocations: 175.2 kB / 0.5113 GB, free: 6.383 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00495/0.5427, allocations: 2.8 MB / 0.514 GB, free: 3.566 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003447/0.5431, allocations: 49.69 kB / 0.5141 GB, free: 3.512 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001852/0.5449, allocations: 2.171 MB / 0.5162 GB, free: 1.316 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001018/0.5459, allocations: 0.6512 MB / 0.5168 GB, free: 0.6602 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0021/0.548, allocations: 1.012 MB / 0.5178 GB, free: 15.64 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001249/0.5482, allocations: 305.1 kB / 0.5181 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003546/0.5517, allocations: 2.227 MB / 0.5203 GB, free: 13.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00598/0.5577, allocations: 5.158 MB / 0.5253 GB, free: 6.488 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01025/0.5679, allocations: 7.964 MB / 0.5331 GB, free: 13.08 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.692e-05/0.568, allocations: 31.94 kB / 0.5331 GB, free: 13.05 MB / 462.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02569/0.5937, allocations: 10.28 MB / 0.5432 GB, free: 2.742 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001396/0.5939, allocations: 52 kB / 0.5432 GB, free: 2.691 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001808/0.594, allocations: 104.8 kB / 0.5433 GB, free: 2.59 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2614/0.8555, allocations: 3.427 MB / 0.5467 GB, free: 119.5 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003541/0.859, allocations: 1.089 MB / 0.5477 GB, free: 119.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01599/0.875, allocations: 12.85 MB / 0.5603 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003922/0.8789, allocations: 336.2 kB / 0.5606 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000614/0.8795, allocations: 314.3 kB / 0.5609 GB, free: 114.3 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.001909/0.8815, allocations: 1.462 MB / 0.5623 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004681/0.8819, allocations: 267.5 kB / 0.5626 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01344/0.8954, allocations: 5.971 MB / 0.5684 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.487e-05/0.8954, allocations: 24 kB / 0.5684 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.85e-05/0.8954, allocations: 8 kB / 0.5684 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-05/0.8955, allocations: 15.91 kB / 0.5685 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02456/0.92, allocations: 13.19 MB / 0.5813 GB, free: 97.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.137e-05/0.9201, allocations: 4 kB / 0.5813 GB, free: 97.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.9211, allocations: 227.7 kB / 0.5816 GB, free: 97.18 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01104/0.9322, allocations: 4.006 MB / 0.5855 GB, free: 93.18 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003222/0.9325, allocations: 51.89 kB / 0.5855 GB, free: 93.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01502/0.9475, allocations: 12.84 MB / 0.5981 GB, free: 80.21 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.9475, allocations: 256 / 0.5981 GB, free: 80.21 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01725/0.9648, allocations: 10.07 MB / 0.6079 GB, free: 70.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005672/0.9653, allocations: 328.2 kB / 0.6082 GB, free: 69.88 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003393/0.9657, allocations: 43.98 kB / 0.6083 GB, free: 69.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001478/0.9672, allocations: 183.7 kB / 0.6084 GB, free: 69.65 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004177/0.9676, allocations: 112.6 kB / 0.6085 GB, free: 69.54 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/0.9677, allocations: 51.97 kB / 0.6086 GB, free: 69.49 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001802/0.9695, allocations: 1.738 MB / 0.6103 GB, free: 67.75 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.9695, allocations: 0 / 0.6103 GB, free: 67.75 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003246/0.9728, allocations: 0.823 MB / 0.6111 GB, free: 66.93 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.0003783/0.9731, allocations: 164.9 kB / 0.6112 GB, free: 66.77 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.007915/0.9811, allocations: 6.024 MB / 0.6171 GB, free: 60.62 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.019e-06/0.9811, allocations: 4 kB / 0.6171 GB, free: 60.62 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004226/0.9853, allocations: 2.723 MB / 0.6198 GB, free: 57.76 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/0.9877, allocations: 295 kB / 0.6201 GB, free: 57.48 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009467/0.9972, allocations: 7.444 MB / 0.6273 GB, free: 50.02 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001586/0.9988, allocations: 2.318 MB / 0.6296 GB, free: 47.68 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002675/1.001, allocations: 1.511 MB / 0.6311 GB, free: 46.16 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004171/1.002, allocations: 187.4 kB / 0.6313 GB, free: 45.98 MB / 462.1 MB Notification: Performance of SimCode: time 1.843e-06/1.002, allocations: 0 / 0.6313 GB, free: 45.98 MB / 462.1 MB Notification: Performance of Templates: time 0.05444/1.056, allocations: 41.36 MB / 0.6716 GB, free: 4.793 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.537107293494046]