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.001246/0.001246, allocations: 75.77 kB / 21.18 MB, free: 3.383 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.001419/0.001419, allocations: 161 kB / 24.56 MB, free: 12 kB / 18.57 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 0.9134/0.9134, allocations: 177.1 MB / 205 MB, free: 5.645 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 273 MB, free: 1.543 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.368e-05/1.497e-05, allocations: 2.312 kB / 273 MB, free: 1.539 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.005565/0.00558, allocations: 6.859 MB / 279.8 MB, free: 10.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004005/0.009585, allocations: 3.096 MB / 282.9 MB, free: 7.547 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003642/0.009949, allocations: 35.88 kB / 283 MB, free: 7.512 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001202/0.01115, allocations: 0.9573 MB / 283.9 MB, free: 6.551 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001795/0.01295, allocations: 1.428 MB / 285.4 MB, free: 5.117 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006555/0.0136, allocations: 0.5886 MB / 285.9 MB, free: 4.527 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.003235/0.01684, allocations: 4.17 MB / 290.1 MB, free: 360 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1154/0.1323, allocations: 1.859 MB / 292 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001878/0.1341, allocations: 1.441 MB / 293.4 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001921/0.1361, allocations: 1.679 MB / 295.1 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003619/0.1364, allocations: 171.6 kB / 295.3 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001294/0.1377, allocations: 0.9004 MB / 296.2 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008582/0.1386, allocations: 1.184 MB / 297.3 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000816/0.1394, allocations: 0.7037 MB / 298.1 MB, free: 15.57 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002613/0.142, allocations: 2.897 MB / 300.9 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.142, allocations: 4.25 kB / 301 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.704e-06/0.142, allocations: 0.5938 kB / 301 MB, free: 14.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.485e-05/0.1421, allocations: 0 / 301 MB, free: 14.89 MB / 266.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.004635/0.1467, allocations: 3.616 MB / 304.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.1468, allocations: 8.719 kB / 304.6 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003328/0.1501, allocations: 2.041 MB / 306.6 MB, free: 12.54 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001374/0.1515, allocations: 1.336 MB / 308 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.349e-05/0.1515, allocations: 133.4 kB / 308.1 MB, free: 11.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002397/0.1518, allocations: 163.5 kB / 308.2 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003566/0.1553, allocations: 4.123 MB / 312.4 MB, free: 8.5 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.916e-05/0.1554, allocations: 35.08 kB / 312.4 MB, free: 8.492 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/0.1556, allocations: 84.17 kB / 312.5 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001016/0.1566, allocations: 1.327 MB / 313.8 MB, free: 7.449 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003133/0.1597, allocations: 2.244 MB / 316.1 MB, free: 5.359 MB / 266.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01619/0.1759, allocations: 31.84 MB / 347.9 MB, free: 4.816 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002954/0.1789, allocations: 1.425 MB / 349.3 MB, free: 3.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000497/0.1794, allocations: 446.3 kB / 349.8 MB, free: 2.887 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002671/0.1796, allocations: 189.4 kB / 349.9 MB, free: 2.707 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.1797, allocations: 49.88 kB / 350 MB, free: 2.648 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 3.126e-06/0.1797, allocations: 0 / 350 MB, free: 2.648 MB / 298.7 MB Notification: Performance of matching and sorting (n=163): time 0.0286/0.2083, allocations: 14.94 MB / 364.9 MB, free: 3.676 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.784e-05/0.2083, allocations: 167.2 kB / 365.1 MB, free: 3.473 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.2104, allocations: 2.506 MB / 367.6 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001042/0.2105, allocations: 52.75 kB / 367.7 MB, free: 0.875 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009878/0.2115, allocations: 2.287 MB / 369.9 MB, free: 14.59 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007074/0.2122, allocations: 0.6819 MB / 370.6 MB, free: 13.92 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009824/0.2132, allocations: 1.067 MB / 371.7 MB, free: 12.84 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2133, allocations: 0.5277 MB / 372.2 MB, free: 12.31 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001125/0.2145, allocations: 0.7709 MB / 373 MB, free: 11.53 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003129/0.2176, allocations: 5.113 MB / 378.1 MB, free: 4.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005086/0.2227, allocations: 6.493 MB / 384.6 MB, free: 11.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.979e-05/0.2227, allocations: 28 kB / 384.6 MB, free: 11.95 MB / 346.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01088/0.2336, allocations: 6.77 MB / 391.4 MB, free: 5.148 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.437e-05/0.2336, allocations: 48.78 kB / 391.4 MB, free: 5.102 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.045e-05/0.2337, allocations: 108.1 kB / 391.5 MB, free: 4.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007908/0.2416, allocations: 2.817 MB / 394.4 MB, free: 2.148 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/0.244, allocations: 1.088 MB / 395.5 MB, free: 1.059 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0095/0.2535, allocations: 5.293 MB / 400.7 MB, free: 11.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002531/0.256, allocations: 371.4 kB / 401.1 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003736/0.2564, allocations: 300 kB / 401.4 MB, free: 11 MB / 362.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.0009406/0.2573, allocations: 0.5468 MB / 401.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004653/0.2578, allocations: 278.4 kB / 402.2 MB, free: 10.16 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009664/0.2675, allocations: 3.699 MB / 405.9 MB, free: 6.418 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.997e-05/0.2675, allocations: 33.89 kB / 406 MB, free: 6.387 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/0.2675, allocations: 11.98 kB / 406 MB, free: 6.375 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.215e-05/0.2675, allocations: 3.984 kB / 406 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/0.2838, allocations: 8.963 MB / 414.9 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.2839, allocations: 0 / 414.9 MB, free: 13.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005446/0.2844, allocations: 239.5 kB / 415.2 MB, free: 13.12 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007069/0.2915, allocations: 3.41 MB / 418.6 MB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001327/0.2916, allocations: 43.95 kB / 418.6 MB, free: 9.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006884/0.2985, allocations: 4.871 MB / 423.5 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2985, allocations: 0 / 423.5 MB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1223/0.4208, allocations: 5.801 MB / 429.3 MB, free: 112.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005691/0.4214, allocations: 240 kB / 429.5 MB, free: 112.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002542/0.4216, allocations: 33.12 kB / 429.6 MB, free: 112.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001005/0.4226, allocations: 215.8 kB / 429.8 MB, free: 112.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003515/0.423, allocations: 113.6 kB / 429.9 MB, free: 112.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/0.4231, allocations: 53.66 kB / 429.9 MB, free: 112.3 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001539/0.4246, allocations: 1.053 MB / 431 MB, free: 112.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.4246, allocations: 1.688 kB / 431 MB, free: 112.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003198/0.4278, allocations: 0.9037 MB / 431.9 MB, free: 112.1 MB / 378.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.0004061/0.4283, allocations: 178.6 kB / 432.1 MB, free: 112.1 MB / 378.7 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.005557/0.4338, allocations: 3.583 MB / 435.6 MB, free: 111.7 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.4338, allocations: 0 / 435.6 MB, free: 111.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002163/0.436, allocations: 1.539 MB / 437.2 MB, free: 111.4 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00105/0.437, allocations: 269.9 kB / 437.4 MB, free: 111.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005562/0.4426, allocations: 5.44 MB / 442.9 MB, free: 109.5 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005889/0.4432, allocations: 0.8105 MB / 443.7 MB, free: 109.4 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001542/0.4447, allocations: 1.281 MB / 445 MB, free: 109.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003197/0.445, allocations: 188.7 kB / 445.2 MB, free: 109.3 MB / 378.7 MB Notification: Performance of SimCode: time 9.12e-07/0.445, allocations: 0 / 445.2 MB, free: 109.3 MB / 378.7 MB Notification: Performance of Templates: time 0.03588/0.4809, allocations: 40.92 MB / 486.1 MB, free: 75.45 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.8099981788545847]