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.0008761/0.0008761, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 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.0008774/0.0008774, allocations: 166.3 kB / 24.91 MB, free: 8.77 MB / 18.57 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 0.8578/0.8578, allocations: 177 MB / 205.2 MB, free: 5.078 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 273.4 MB, free: 1.082 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.146e-05/1.274e-05, allocations: 2.312 kB / 273.4 MB, free: 1.078 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007431/0.007444, allocations: 6.664 MB / 280.1 MB, free: 10.38 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004524/0.01197, allocations: 3.161 MB / 283.2 MB, free: 7.211 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002858/0.01225, allocations: 35.88 kB / 283.3 MB, free: 7.176 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.01332, allocations: 0.9611 MB / 284.2 MB, free: 6.211 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001579/0.0149, allocations: 1.424 MB / 285.6 MB, free: 4.781 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005794/0.01548, allocations: 0.5964 MB / 286.2 MB, free: 4.184 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002489/0.01796, allocations: 4.178 MB / 290.4 MB, free: 0 / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.09023/0.1082, allocations: 1.899 MB / 292.3 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.1099, allocations: 1.441 MB / 293.8 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001907/0.1118, allocations: 1.553 MB / 295.3 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003908/0.1122, allocations: 171.6 kB / 295.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001171/0.1134, allocations: 0.8916 MB / 296.4 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007409/0.1142, allocations: 1.179 MB / 297.5 MB, free: 15.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007094/0.1149, allocations: 0.709 MB / 298.3 MB, free: 15.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002419/0.1173, allocations: 2.892 MB / 301.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.1173, allocations: 0 / 301.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.1173, allocations: 0.5938 kB / 301.1 MB, free: 14.98 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.027e-05/0.1173, allocations: 3.344 kB / 301.1 MB, free: 14.98 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.003568/0.1209, allocations: 3.067 MB / 304.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.656e-05/0.1209, allocations: 13.8 kB / 304.2 MB, free: 13.51 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001975/0.1229, allocations: 0.8465 MB / 305.1 MB, free: 13.38 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000988/0.1239, allocations: 1.101 MB / 306.2 MB, free: 12.81 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.626e-05/0.1239, allocations: 129.4 kB / 306.3 MB, free: 12.78 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.1241, allocations: 168.8 kB / 306.5 MB, free: 12.74 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002257/0.1264, allocations: 3.267 MB / 309.7 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.463e-05/0.1264, allocations: 33.12 kB / 309.8 MB, free: 10.72 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001568/0.1266, allocations: 86.94 kB / 309.9 MB, free: 10.69 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0008513/0.1274, allocations: 1.176 MB / 311 MB, free: 10.27 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001952/0.1294, allocations: 1.729 MB / 312.8 MB, free: 9.168 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.01113/0.1405, allocations: 21.97 MB / 334.7 MB, free: 2.938 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.1424, allocations: 1.057 MB / 335.8 MB, free: 1.863 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003163/0.1427, allocations: 297.9 kB / 336.1 MB, free: 1.562 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002211/0.143, allocations: 168.1 kB / 336.2 MB, free: 1.398 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.143, allocations: 50.34 kB / 336.3 MB, free: 1.344 MB / 282.7 MB Notification: Performance of pre-optimization done (n=129): time 2.816e-06/0.143, allocations: 0 / 336.3 MB, free: 1.344 MB / 282.7 MB Notification: Performance of matching and sorting (n=163): time 0.01951/0.1625, allocations: 7.765 MB / 344.1 MB, free: 9.668 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.459e-05/0.1626, allocations: 175.2 kB / 344.2 MB, free: 9.457 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.164, allocations: 2.213 MB / 346.4 MB, free: 7.605 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001124/0.1642, allocations: 45.7 kB / 346.5 MB, free: 7.555 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007487/0.1649, allocations: 2.074 MB / 348.6 MB, free: 5.59 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003697/0.1653, allocations: 0.6461 MB / 349.2 MB, free: 4.977 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008317/0.1661, allocations: 0.9226 MB / 350.1 MB, free: 4.148 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.341e-05/0.1662, allocations: 357.6 kB / 350.5 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001206/0.1674, allocations: 0.8053 MB / 351.3 MB, free: 3.004 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00238/0.1698, allocations: 3.604 MB / 354.9 MB, free: 14.04 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003588/0.1734, allocations: 4.817 MB / 359.7 MB, free: 7.781 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.817e-05/0.1734, allocations: 32 kB / 359.7 MB, free: 7.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.007254/0.1807, allocations: 4.563 MB / 364.3 MB, free: 3.141 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.328e-05/0.1807, allocations: 51.98 kB / 364.3 MB, free: 3.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.957e-05/0.1808, allocations: 104 kB / 364.4 MB, free: 2.988 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005027/0.1858, allocations: 1.695 MB / 366.1 MB, free: 1.262 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001617/0.1874, allocations: 1.033 MB / 367.2 MB, free: 232 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005602/0.193, allocations: 3.83 MB / 371 MB, free: 12.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001512/0.1945, allocations: 215.7 kB / 371.2 MB, free: 12.09 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000257/0.1948, allocations: 260 kB / 371.5 MB, free: 11.83 MB / 330.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 (wheel1.body.sphereColor[1],wheel1.body.sphereColor[2],wheel1.body.sphereColor[3],world.gravitySphereColor[1],world.gravitySphereColor[2],world.gravitySphereColor[3],world.axisColor_x[1],world.axisColor_x[2],world.axisColor_x[3],world.gravityArrowColor[1],world.gravityArrowColor[2],world.gravityArrowColor[3],world.groundColor[1],world.groundColor[2],world.groundColor[3]) * 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.0007704/0.1956, allocations: 0.5039 MB / 372 MB, free: 11.31 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005131/0.1961, allocations: 171.8 kB / 372.1 MB, free: 11.14 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004922/0.201, allocations: 2.184 MB / 374.3 MB, free: 8.922 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.29e-05/0.201, allocations: 24 kB / 374.3 MB, free: 8.898 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.201, allocations: 8 kB / 374.4 MB, free: 8.891 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.187e-05/0.201, allocations: 11.97 kB / 374.4 MB, free: 8.879 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009269/0.2103, allocations: 4.98 MB / 379.3 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-06/0.2103, allocations: 0 / 379.3 MB, free: 3.832 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/0.2108, allocations: 167.8 kB / 379.5 MB, free: 3.668 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004855/0.2156, allocations: 1.713 MB / 381.2 MB, free: 1.922 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001136/0.2157, allocations: 47.95 kB / 381.3 MB, free: 1.875 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005101/0.2208, allocations: 3.137 MB / 384.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.2208, allocations: 128 / 384.4 MB, free: 14.64 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006101/0.2269, allocations: 3.168 MB / 387.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002025/0.2271, allocations: 226.2 kB / 387.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002168/0.2274, allocations: 43.91 kB / 387.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006432/0.228, allocations: 24 kB / 387.9 MB, free: 11.13 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002142/0.2282, allocations: 112.8 kB / 388 MB, free: 11.02 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.179e-05/0.2283, allocations: 39.97 kB / 388 MB, free: 10.98 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006302/0.2289, allocations: 0.7583 MB / 388.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2289, allocations: 0 / 388.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002256/0.2312, allocations: 0.9062 MB / 389.7 MB, free: 9.301 MB / 346.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.0003224/0.2315, allocations: 156.1 kB / 389.8 MB, free: 9.137 MB / 346.7 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.003239/0.2348, allocations: 2.787 MB / 392.6 MB, free: 6.332 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.524e-05/0.2349, allocations: 59.94 kB / 392.7 MB, free: 6.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001766/0.2366, allocations: 1.043 MB / 393.7 MB, free: 5.191 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/0.2377, allocations: 382.9 kB / 394.1 MB, free: 4.824 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005139/0.2428, allocations: 5.147 MB / 399.2 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006512/0.2435, allocations: 0.8087 MB / 400 MB, free: 14.79 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007523/0.2442, allocations: 359.5 kB / 400.4 MB, free: 14.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005616/0.2448, allocations: 405.2 kB / 400.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of SimCode: time 6.42e-07/0.2448, allocations: 0 / 400.8 MB, free: 14.04 MB / 362.7 MB Notification: Performance of Templates: time 0.1272/0.372, allocations: 42.24 MB / 443 MB, free: 116.7 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 240] 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","",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.5872342879883945]