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.001099/0.001099, allocations: 84.73 kB / 21.5 MB, free: 2.98 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.001189/0.001189, allocations: 161.8 kB / 24.91 MB, free: 8.703 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.9748/0.9748, allocations: 177 MB / 205.2 MB, free: 5.457 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.443e-06/1.443e-06, allocations: 0 / 273.4 MB, free: 1.184 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.675e-05/1.819e-05, allocations: 6.312 kB / 273.4 MB, free: 1.176 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008075/0.008093, allocations: 6.716 MB / 280.2 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.005304/0.0134, allocations: 3.153 MB / 283.3 MB, free: 7.262 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003239/0.01372, allocations: 39.81 kB / 283.3 MB, free: 7.223 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001125/0.01485, allocations: 0.9494 MB / 284.3 MB, free: 6.27 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.01642, allocations: 1.404 MB / 285.7 MB, free: 4.859 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005832/0.01701, allocations: 0.5886 MB / 286.3 MB, free: 4.27 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002533/0.01954, allocations: 4.173 MB / 290.5 MB, free: 96 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1092/0.1287, allocations: 1.645 MB / 292.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001738/0.1304, allocations: 1.389 MB / 293.5 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001869/0.1323, allocations: 1.555 MB / 295 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003391/0.1327, allocations: 171.9 kB / 295.2 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001228/0.1339, allocations: 0.9139 MB / 296.1 MB, free: 15.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000761/0.1346, allocations: 1.181 MB / 297.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006408/0.1353, allocations: 0.7144 MB / 298 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002222/0.1375, allocations: 2.891 MB / 300.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1375, allocations: 2.125 kB / 300.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1375, allocations: 1.094 kB / 300.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.688e-05/0.1375, allocations: 0 / 300.9 MB, free: 15.07 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.003928/0.1415, allocations: 3.067 MB / 304 MB, free: 13.6 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.239e-05/0.1415, allocations: 11.58 kB / 304 MB, free: 13.6 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002377/0.1439, allocations: 0.84 MB / 304.8 MB, free: 13.47 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.145, allocations: 1.112 MB / 306 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.23e-05/0.1451, allocations: 129 kB / 306.1 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002116/0.1453, allocations: 171 kB / 306.2 MB, free: 12.84 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002836/0.1481, allocations: 3.269 MB / 309.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.482e-05/0.1482, allocations: 30.53 kB / 309.5 MB, free: 10.85 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001959/0.1484, allocations: 81.25 kB / 309.6 MB, free: 10.82 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00114/0.1495, allocations: 1.179 MB / 310.8 MB, free: 10.4 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002716/0.1522, allocations: 1.719 MB / 312.5 MB, free: 9.398 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.0142/0.1664, allocations: 21.97 MB / 334.5 MB, free: 3.16 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002591/0.169, allocations: 1.064 MB / 335.6 MB, free: 2.086 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004305/0.1694, allocations: 300.8 kB / 335.8 MB, free: 1.781 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/0.1697, allocations: 165.6 kB / 336 MB, free: 1.621 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.353e-05/0.1697, allocations: 53.2 kB / 336.1 MB, free: 1.566 MB / 282.7 MB Notification: Performance of pre-optimization done (n=129): time 3.156e-06/0.1698, allocations: 0 / 336.1 MB, free: 1.566 MB / 282.7 MB Notification: Performance of matching and sorting (n=163): time 0.02644/0.1962, allocations: 7.813 MB / 343.9 MB, free: 9.832 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.703e-05/0.1963, allocations: 171.2 kB / 344 MB, free: 9.625 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001989/0.1982, allocations: 2.208 MB / 346.3 MB, free: 7.777 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001228/0.1984, allocations: 45.7 kB / 346.3 MB, free: 7.727 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009832/0.1993, allocations: 2.08 MB / 348.4 MB, free: 5.754 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004616/0.1998, allocations: 0.6501 MB / 349 MB, free: 5.141 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00108/0.2009, allocations: 0.9149 MB / 349.9 MB, free: 4.32 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.201, allocations: 356.4 kB / 350.3 MB, free: 3.988 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001571/0.2026, allocations: 0.8092 MB / 351.1 MB, free: 3.172 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002885/0.2055, allocations: 3.606 MB / 354.7 MB, free: 14.22 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004109/0.2096, allocations: 4.813 MB / 359.5 MB, free: 7.973 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.674e-05/0.2096, allocations: 32 kB / 359.5 MB, free: 7.941 MB / 314.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.007177/0.2168, allocations: 4.571 MB / 364.1 MB, free: 3.324 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.197e-05/0.2168, allocations: 48 kB / 364.2 MB, free: 3.277 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.645e-05/0.2169, allocations: 104 kB / 364.3 MB, free: 3.176 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004843/0.2217, allocations: 1.695 MB / 366 MB, free: 1.449 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/0.2234, allocations: 1.084 MB / 367 MB, free: 372 kB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005807/0.2293, allocations: 3.86 MB / 370.9 MB, free: 12.41 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.2308, allocations: 211.7 kB / 371.1 MB, free: 12.2 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002826/0.2311, allocations: 268.6 kB / 371.4 MB, free: 11.94 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.000903/0.232, allocations: 0.4961 MB / 371.9 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003014/0.2323, allocations: 167.8 kB / 372 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0051/0.2374, allocations: 2.188 MB / 374.2 MB, free: 9.035 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.507e-05/0.2374, allocations: 35.98 kB / 374.3 MB, free: 9 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.583e-05/0.2374, allocations: 8 kB / 374.3 MB, free: 8.992 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.2375, allocations: 7.969 kB / 374.3 MB, free: 8.984 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009265/0.2467, allocations: 4.972 MB / 379.2 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.999e-06/0.2467, allocations: 0 / 379.2 MB, free: 3.941 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005125/0.2472, allocations: 191.7 kB / 379.4 MB, free: 3.754 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004862/0.2521, allocations: 1.709 MB / 381.1 MB, free: 2.012 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001112/0.2522, allocations: 39.97 kB / 381.2 MB, free: 1.973 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005126/0.2573, allocations: 3.176 MB / 384.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.2573, allocations: 3.984 kB / 384.4 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005722/0.2631, allocations: 3.155 MB / 387.5 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.2633, allocations: 226.2 kB / 387.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001965/0.2635, allocations: 35.92 kB / 387.8 MB, free: 11.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006243/0.2641, allocations: 31.98 kB / 387.8 MB, free: 11.2 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002468/0.2643, allocations: 112.7 kB / 387.9 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.728e-05/0.2644, allocations: 43.95 kB / 388 MB, free: 11.05 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0006432/0.2651, allocations: 0.7623 MB / 388.7 MB, free: 10.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2651, allocations: 0 / 388.7 MB, free: 10.27 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002341/0.2674, allocations: 0.8984 MB / 389.6 MB, free: 9.367 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.0003105/0.2677, allocations: 168.1 kB / 389.8 MB, free: 9.195 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.003288/0.271, allocations: 2.782 MB / 392.6 MB, free: 6.395 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.356e-05/0.2711, allocations: 63.94 kB / 392.6 MB, free: 6.328 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001524/0.2726, allocations: 1.043 MB / 393.7 MB, free: 5.25 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001113/0.2737, allocations: 385.7 kB / 394 MB, free: 4.879 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005079/0.2788, allocations: 5.14 MB / 399.2 MB, free: 15.68 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006435/0.2795, allocations: 0.8087 MB / 400 MB, free: 14.86 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007373/0.2802, allocations: 364.6 kB / 400.4 MB, free: 14.5 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000565/0.2808, allocations: 397.2 kB / 400.7 MB, free: 14.11 MB / 362.7 MB Notification: Performance of SimCode: time 8.31e-07/0.2808, allocations: 3.938 kB / 400.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of Templates: time 0.14/0.4208, allocations: 42.23 MB / 443 MB, free: 117 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 -s gbode -gbm=radauIIA3 -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.766783319413662]