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.001155/0.001155, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.00128/0.00128, allocations: 169.1 kB / 24.91 MB, free: 9.199 MB / 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.9394/0.9394, allocations: 177.1 MB / 205.3 MB, free: 5.48 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.362e-06/1.362e-06, allocations: 0 / 273.5 MB, free: 1.242 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.736e-05/1.873e-05, allocations: 2.312 kB / 273.5 MB, free: 1.238 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.005463/0.005482, allocations: 6.714 MB / 280.2 MB, free: 10.5 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004268/0.00975, allocations: 3.161 MB / 283.4 MB, free: 7.324 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004684/0.01022, allocations: 31.88 kB / 283.4 MB, free: 7.293 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001182/0.0114, allocations: 0.9455 MB / 284.4 MB, free: 6.344 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.01329, allocations: 1.396 MB / 285.7 MB, free: 4.941 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007019/0.014, allocations: 0.5963 MB / 286.3 MB, free: 4.344 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00289/0.01689, allocations: 4.181 MB / 290.5 MB, free: 164 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1047/0.1216, allocations: 1.642 MB / 292.2 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/0.124, allocations: 1.393 MB / 293.6 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002683/0.1266, allocations: 1.55 MB / 295.1 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006709/0.1273, allocations: 171.7 kB / 295.3 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001647/0.129, allocations: 0.9177 MB / 296.2 MB, free: 16.02 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009998/0.13, allocations: 1.185 MB / 297.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.1311, allocations: 0.714 MB / 298.1 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003354/0.1344, allocations: 2.882 MB / 301 MB, free: 15.17 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/0.1344, allocations: 1.688 kB / 301 MB, free: 15.17 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1344, allocations: 0 / 301 MB, free: 15.17 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.379e-05/0.1345, allocations: 2.344 kB / 301 MB, free: 15.17 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.005877/0.1404, allocations: 3.066 MB / 304 MB, free: 13.7 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.53e-05/0.1404, allocations: 14.88 kB / 304.1 MB, free: 13.7 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003118/0.1435, allocations: 0.8435 MB / 304.9 MB, free: 13.57 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.1452, allocations: 1.102 MB / 306 MB, free: 13.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.6e-05/0.1453, allocations: 127.6 kB / 306.1 MB, free: 12.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.1455, allocations: 169.1 kB / 306.3 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003462/0.149, allocations: 3.276 MB / 309.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.551e-05/0.149, allocations: 31.81 kB / 309.6 MB, free: 10.94 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002084/0.1492, allocations: 88.38 kB / 309.7 MB, free: 10.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001215/0.1505, allocations: 1.168 MB / 310.9 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003107/0.1536, allocations: 1.724 MB / 312.6 MB, free: 9.48 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.01543/0.169, allocations: 21.97 MB / 334.5 MB, free: 3.246 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002079/0.1711, allocations: 1.068 MB / 335.6 MB, free: 2.164 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003509/0.1714, allocations: 297.3 kB / 335.9 MB, free: 1.867 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002362/0.1717, allocations: 166.5 kB / 336.1 MB, free: 1.707 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.019e-05/0.1717, allocations: 48.84 kB / 336.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of pre-optimization done (n=129): time 3.366e-06/0.1717, allocations: 0 / 336.1 MB, free: 1.656 MB / 282.7 MB Notification: Performance of matching and sorting (n=163): time 0.02126/0.193, allocations: 7.825 MB / 343.9 MB, free: 9.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.834e-05/0.193, allocations: 167.2 kB / 344.1 MB, free: 9.707 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001941/0.195, allocations: 2.212 MB / 346.3 MB, free: 7.855 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002092/0.1952, allocations: 45.7 kB / 346.4 MB, free: 7.805 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008437/0.196, allocations: 2.077 MB / 348.4 MB, free: 5.836 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005034/0.1965, allocations: 0.6455 MB / 349.1 MB, free: 5.223 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001137/0.1977, allocations: 0.9241 MB / 350 MB, free: 4.395 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 9.289e-05/0.1977, allocations: 352.7 kB / 350.4 MB, free: 4.066 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/0.199, allocations: 0.8053 MB / 351.2 MB, free: 3.254 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002383/0.2014, allocations: 3.611 MB / 354.8 MB, free: 14.31 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003852/0.2053, allocations: 4.808 MB / 359.6 MB, free: 8.066 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-05/0.2053, allocations: 28 kB / 359.6 MB, free: 8.039 MB / 314.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.008406/0.2137, allocations: 4.574 MB / 364.2 MB, free: 3.418 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.121e-05/0.2138, allocations: 48 kB / 364.2 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.093e-05/0.2139, allocations: 108.2 kB / 364.3 MB, free: 3.266 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005082/0.2189, allocations: 1.691 MB / 366 MB, free: 1.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0021/0.221, allocations: 1.092 MB / 367.1 MB, free: 460 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006207/0.2272, allocations: 3.85 MB / 371 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002216/0.2295, allocations: 215.7 kB / 371.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003754/0.2298, allocations: 271.9 kB / 371.4 MB, free: 12.03 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.001013/0.2308, allocations: 0.4884 MB / 371.9 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003711/0.2312, allocations: 171.7 kB / 372.1 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005185/0.2364, allocations: 2.184 MB / 374.3 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.529e-05/0.2365, allocations: 32 kB / 374.3 MB, free: 9.105 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/0.2365, allocations: 8 kB / 374.3 MB, free: 9.098 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.589e-05/0.2365, allocations: 10.78 kB / 374.3 MB, free: 9.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009919/0.2464, allocations: 4.976 MB / 379.3 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.2464, allocations: 4 kB / 379.3 MB, free: 4.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005651/0.247, allocations: 191.7 kB / 379.5 MB, free: 3.855 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005232/0.2522, allocations: 1.721 MB / 381.2 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002361/0.2524, allocations: 39.95 kB / 381.3 MB, free: 2.062 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005489/0.2579, allocations: 3.175 MB / 384.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.2579, allocations: 0 / 384.4 MB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006562/0.2645, allocations: 3.153 MB / 387.6 MB, free: 11.59 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004672/0.265, allocations: 222.2 kB / 387.8 MB, free: 11.37 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.2652, allocations: 40.42 kB / 387.8 MB, free: 11.33 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006807/0.2659, allocations: 28 kB / 387.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003014/0.2662, allocations: 116.7 kB / 388 MB, free: 11.19 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.2663, allocations: 43.95 kB / 388 MB, free: 11.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0008885/0.2672, allocations: 0.7584 MB / 388.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.31e-07/0.2672, allocations: 0 / 388.8 MB, free: 10.37 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002776/0.2699, allocations: 0.8984 MB / 389.7 MB, free: 9.469 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.0003903/0.2703, allocations: 168.2 kB / 389.8 MB, free: 9.293 MB / 346.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.003795/0.2741, allocations: 2.777 MB / 392.6 MB, free: 6.492 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001037/0.2742, allocations: 63.94 kB / 392.7 MB, free: 6.426 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001643/0.2759, allocations: 1.051 MB / 393.7 MB, free: 5.336 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001327/0.2772, allocations: 381.8 kB / 394.1 MB, free: 4.965 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006235/0.2834, allocations: 5.144 MB / 399.3 MB, free: 15.76 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007142/0.2841, allocations: 0.8048 MB / 400.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.000901/0.285, allocations: 359.5 kB / 400.4 MB, free: 14.58 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006235/0.2857, allocations: 405.2 kB / 400.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of SimCode: time 1.423e-06/0.2857, allocations: 0 / 400.8 MB, free: 14.18 MB / 362.7 MB Notification: Performance of Templates: time 0.1406/0.4262, allocations: 42.23 MB / 443 MB, free: 117 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 -s gbode -gbm=radauIIA3 -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.547855007927865]