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.0009203/0.0009203, allocations: 85.05 kB / 21.5 MB, free: 2.992 MB / 18.57 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.001501/0.001501, allocations: 147.7 kB / 24.89 MB, free: 8.727 MB / 18.57 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 0.9865/0.9865, allocations: 173.4 MB / 201.5 MB, free: 8.758 MB / 186.7 MB " [Timeout remaining time 179] 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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|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.[0-9,]+.|wheel1.der_angles.[0-9,]+.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 268.5 MB, free: 6.027 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.918e-05/2.028e-05, allocations: 6.25 kB / 268.5 MB, free: 6.02 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.005278/0.005298, allocations: 6.689 MB / 275.2 MB, free: 15.29 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004578/0.009877, allocations: 3.157 MB / 278.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004766/0.01035, allocations: 31.88 kB / 278.4 MB, free: 12.09 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.01156, allocations: 0.9573 MB / 279.3 MB, free: 11.13 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002052/0.01361, allocations: 1.462 MB / 280.8 MB, free: 9.664 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007264/0.01434, allocations: 0.5925 MB / 281.4 MB, free: 9.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002794/0.01713, allocations: 4.017 MB / 285.4 MB, free: 5.051 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001603/0.01874, allocations: 1.924 MB / 287.3 MB, free: 3.105 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001482/0.02022, allocations: 1.442 MB / 288.7 MB, free: 1.66 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.02169, allocations: 1.563 MB / 290.3 MB, free: 96 kB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.1063/0.128, allocations: 171.1 kB / 290.5 MB, free: 20.38 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00162/0.1297, allocations: 0.8941 MB / 291.4 MB, free: 20.38 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008988/0.1306, allocations: 1.194 MB / 292.6 MB, free: 20.38 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.1317, allocations: 0.7232 MB / 293.3 MB, free: 20.38 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003477/0.1352, allocations: 2.936 MB / 296.2 MB, free: 20.08 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1352, allocations: 1.281 kB / 296.2 MB, free: 20.08 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1352, allocations: 0 / 296.2 MB, free: 20.08 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001165/0.1353, allocations: 0.5 kB / 296.2 MB, free: 20.08 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.005583/0.1409, allocations: 2.937 MB / 299.2 MB, free: 18.83 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.141, allocations: 10.39 kB / 299.2 MB, free: 18.83 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002424/0.1434, allocations: 0.8413 MB / 300 MB, free: 18.82 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001526/0.1449, allocations: 1.107 MB / 301.1 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.531e-05/0.145, allocations: 127.5 kB / 301.2 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002427/0.1452, allocations: 174.8 kB / 301.4 MB, free: 18.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003168/0.1484, allocations: 3.269 MB / 304.7 MB, free: 16.97 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.544e-05/0.1484, allocations: 28.89 kB / 304.7 MB, free: 16.96 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001729/0.1486, allocations: 92.83 kB / 304.8 MB, free: 16.96 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009388/0.1495, allocations: 1.175 MB / 306 MB, free: 16.79 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.152, allocations: 1.724 MB / 307.7 MB, free: 16.58 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.01213/0.1641, allocations: 21.96 MB / 329.7 MB, free: 12.47 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001988/0.1661, allocations: 1.057 MB / 330.7 MB, free: 11.4 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003242/0.1664, allocations: 306.7 kB / 331 MB, free: 11.1 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000233/0.1666, allocations: 163.9 kB / 331.2 MB, free: 10.94 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.1667, allocations: 45.41 kB / 331.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of pre-optimization done (n=129): time 4.018e-06/0.1667, allocations: 0 / 331.2 MB, free: 10.89 MB / 282.7 MB Notification: Performance of matching and sorting (n=163): time 0.02016/0.1868, allocations: 7.758 MB / 339 MB, free: 3.238 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.931e-05/0.1869, allocations: 167.2 kB / 339.2 MB, free: 3.039 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001961/0.1889, allocations: 2.231 MB / 341.4 MB, free: 1.172 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001248/0.189, allocations: 45.7 kB / 341.4 MB, free: 1.121 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008076/0.1898, allocations: 2.073 MB / 343.5 MB, free: 15.15 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004352/0.1902, allocations: 0.6466 MB / 344.1 MB, free: 14.54 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008179/0.191, allocations: 0.9184 MB / 345.1 MB, free: 13.71 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.847e-05/0.1911, allocations: 359.5 kB / 345.4 MB, free: 13.38 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001233/0.1924, allocations: 0.8092 MB / 346.2 MB, free: 12.57 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002289/0.1947, allocations: 3.601 MB / 349.8 MB, free: 7.641 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003357/0.198, allocations: 4.813 MB / 354.6 MB, free: 1.523 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.198e-05/0.198, allocations: 28 kB / 354.7 MB, free: 1.496 MB / 298.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.007684/0.2057, allocations: 4.577 MB / 359.2 MB, free: 12.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.728e-05/0.2058, allocations: 48 kB / 359.3 MB, free: 12.84 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.685e-05/0.2058, allocations: 104 kB / 359.4 MB, free: 12.73 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00481/0.2106, allocations: 1.692 MB / 361.1 MB, free: 11.02 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001881/0.2125, allocations: 1.041 MB / 362.1 MB, free: 9.977 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005765/0.2183, allocations: 3.841 MB / 366 MB, free: 6.082 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00214/0.2204, allocations: 209.9 kB / 366.2 MB, free: 5.879 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002735/0.2207, allocations: 264 kB / 366.4 MB, free: 5.621 MB / 314.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.00115/0.2219, allocations: 0.4993 MB / 366.9 MB, free: 5.113 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003165/0.2222, allocations: 171.7 kB / 367.1 MB, free: 4.945 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004883/0.2271, allocations: 2.176 MB / 369.3 MB, free: 2.738 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.112e-05/0.2271, allocations: 30.97 kB / 369.3 MB, free: 2.711 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.377e-05/0.2271, allocations: 12 kB / 369.3 MB, free: 2.699 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.164e-05/0.2271, allocations: 11.91 kB / 369.3 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00988/0.237, allocations: 4.975 MB / 374.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.181e-06/0.237, allocations: 3.938 kB / 374.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004916/0.2375, allocations: 175.7 kB / 374.5 MB, free: 13.59 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004941/0.2424, allocations: 1.714 MB / 376.2 MB, free: 11.84 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001481/0.2426, allocations: 43.95 kB / 376.2 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005121/0.2477, allocations: 3.128 MB / 379.4 MB, free: 8.57 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.138e-06/0.2477, allocations: 11.11 kB / 379.4 MB, free: 8.562 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006343/0.2541, allocations: 3.159 MB / 382.5 MB, free: 5.344 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005899/0.2546, allocations: 226.2 kB / 382.8 MB, free: 5.121 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00023/0.2549, allocations: 32 kB / 382.8 MB, free: 5.09 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006745/0.2556, allocations: 31.98 kB / 382.8 MB, free: 5.059 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002776/0.2558, allocations: 104.8 kB / 382.9 MB, free: 4.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.964e-05/0.2559, allocations: 51.89 kB / 383 MB, free: 4.906 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009666/0.2569, allocations: 0.7625 MB / 383.7 MB, free: 4.125 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2569, allocations: 0 / 383.7 MB, free: 4.125 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002867/0.2598, allocations: 0.9296 MB / 384.7 MB, free: 3.195 MB / 330.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.0004106/0.2602, allocations: 167.4 kB / 384.8 MB, free: 3.023 MB / 330.7 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.003764/0.2639, allocations: 2.789 MB / 387.6 MB, free: 220 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001011/0.264, allocations: 60.19 kB / 387.7 MB, free: 152 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.2657, allocations: 1.039 MB / 388.7 MB, free: 15.08 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001366/0.2671, allocations: 381 kB / 389.1 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005917/0.273, allocations: 5.16 MB / 394.2 MB, free: 9.492 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006761/0.2737, allocations: 0.805 MB / 395 MB, free: 8.668 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008542/0.2745, allocations: 359.6 kB / 395.4 MB, free: 8.312 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005593/0.2751, allocations: 401.2 kB / 395.8 MB, free: 7.918 MB / 346.7 MB Notification: Performance of SimCode: time 1.873e-06/0.2751, allocations: 3.938 kB / 395.8 MB, free: 7.914 MB / 346.7 MB Notification: Performance of Templates: time 0.154/0.4291, allocations: 42.38 MB / 438.2 MB, free: 116.7 MB / 378.7 MB " [Timeout remaining time 660] 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 240] 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","",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.846999704837799]