Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001772/0.001772, allocations: 96.3 kB / 21.73 MB, free: 2.703 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.002146/0.002146, allocations: 165.2 kB / 25.02 MB, free: 8.945 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 158.6 MB / 186.8 MB, free: 2.914 MB / 170.7 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|wheel1.angles.1.|wheel1.angles.2.|wheel1.angles.3.|wheel1.der_angles.1.|wheel1.der_angles.2.|wheel1.der_angles.3.|wheel1.x|wheel1.y",fileNamePrefix="Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.374e-06/2.374e-06, allocations: 0 / 250.4 MB, free: 7.914 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.75e-05/2.988e-05, allocations: 5.969 kB / 250.4 MB, free: 7.91 MB / 234.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01317/0.0132, allocations: 6.266 MB / 256.6 MB, free: 1.609 MB / 234.7 MB Notification: Performance of NFInst.instExpressions: time 0.008774/0.02197, allocations: 2.972 MB / 259.6 MB, free: 14.63 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001167/0.02314, allocations: 39.81 kB / 259.6 MB, free: 14.59 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003153/0.02629, allocations: 0.9339 MB / 260.6 MB, free: 13.65 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00513/0.03142, allocations: 1.447 MB / 262 MB, free: 12.2 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001816/0.03324, allocations: 0.5925 MB / 262.6 MB, free: 11.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.007945/0.04118, allocations: 4.025 MB / 266.6 MB, free: 7.578 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004253/0.04544, allocations: 1.876 MB / 268.5 MB, free: 5.684 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003903/0.04934, allocations: 1.442 MB / 270 MB, free: 4.238 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003406/0.05275, allocations: 1.703 MB / 271.7 MB, free: 2.531 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0007312/0.05348, allocations: 184 kB / 271.8 MB, free: 2.352 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002474/0.05595, allocations: 0.928 MB / 272.8 MB, free: 1.422 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001697/0.05765, allocations: 1.211 MB / 274 MB, free: 212 kB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001296/0.05894, allocations: 0.7438 MB / 274.7 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006618/0.06556, allocations: 4.497 MB / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.06557, allocations: 0 / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.06557, allocations: 0 / 279.2 MB, free: 10.95 MB / 266.7 MB Notification: Performance of Transformations before backend: time 0.0001197/0.06569, allocations: 0 / 279.2 MB, free: 10.95 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.008856/0.07455, allocations: 3.306 MB / 282.5 MB, free: 7.594 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.675e-05/0.07459, allocations: 11.98 kB / 282.5 MB, free: 7.582 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007376/0.08197, allocations: 2.09 MB / 284.6 MB, free: 5.488 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004036/0.08601, allocations: 1.519 MB / 286.2 MB, free: 3.938 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.08617, allocations: 123.5 kB / 286.3 MB, free: 3.816 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005696/0.08674, allocations: 171.8 kB / 286.4 MB, free: 3.648 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01337/0.1001, allocations: 6.598 MB / 293 MB, free: 12.51 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.459e-05/0.1002, allocations: 35.7 kB / 293.1 MB, free: 12.48 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003124/0.1005, allocations: 87.89 kB / 293.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002436/0.1029, allocations: 1.323 MB / 294.5 MB, free: 11.07 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01252/0.1155, allocations: 5.773 MB / 300.3 MB, free: 5.293 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03989/0.1554, allocations: 26.73 MB / 327 MB, free: 9.727 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006942/0.1623, allocations: 2.311 MB / 329.3 MB, free: 7.367 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001884/0.1642, allocations: 1.216 MB / 330.5 MB, free: 6.137 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005587/0.1647, allocations: 200.1 kB / 330.7 MB, free: 5.941 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.575e-05/0.1648, allocations: 51 kB / 330.8 MB, free: 5.883 MB / 314.7 MB Notification: Performance of pre-optimization done (n=129): time 5.771e-06/0.1648, allocations: 4 kB / 330.8 MB, free: 5.879 MB / 314.7 MB Notification: Performance of matching and sorting (n=163): time 0.08032/0.2451, allocations: 21.43 MB / 352.2 MB, free: 396 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001554/0.2453, allocations: 179.1 kB / 352.4 MB, free: 180 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1225/0.3677, allocations: 2.792 MB / 355.2 MB, free: 103.1 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002931/0.368, allocations: 45.67 kB / 355.2 MB, free: 103 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007511/0.3688, allocations: 2.162 MB / 357.4 MB, free: 101.8 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000505/0.3693, allocations: 0.6423 MB / 358 MB, free: 101.3 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/0.3704, allocations: 0.9975 MB / 359 MB, free: 100.8 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.888e-05/0.3704, allocations: 353.2 kB / 359.3 MB, free: 100.5 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002422/0.3729, allocations: 2.229 MB / 361.6 MB, free: 99.69 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003262/0.3761, allocations: 5.155 MB / 366.7 MB, free: 95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006184/0.3823, allocations: 7.968 MB / 374.7 MB, free: 86.94 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.031e-05/0.3824, allocations: 28 kB / 374.7 MB, free: 86.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.01935/0.4017, allocations: 10.52 MB / 385.2 MB, free: 76.95 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.242e-05/0.4018, allocations: 52.06 kB / 385.3 MB, free: 76.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-05/0.4018, allocations: 104 kB / 385.4 MB, free: 76.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01249/0.4143, allocations: 4.157 MB / 389.6 MB, free: 72.62 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003131/0.4175, allocations: 1.085 MB / 390.6 MB, free: 71.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01568/0.4331, allocations: 12.67 MB / 403.3 MB, free: 58.76 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004215/0.4374, allocations: 375.4 kB / 403.7 MB, free: 58.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007436/0.4381, allocations: 306.8 kB / 404 MB, free: 58.1 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 (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.002012/0.4401, allocations: 1.459 MB / 405.4 MB, free: 56.63 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007027/0.4408, allocations: 282.3 kB / 405.7 MB, free: 56.35 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/0.4549, allocations: 5.952 MB / 411.7 MB, free: 50.36 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.439e-05/0.4549, allocations: 34.89 kB / 411.7 MB, free: 50.33 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-05/0.455, allocations: 8 kB / 411.7 MB, free: 50.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.797e-05/0.455, allocations: 7.969 kB / 411.7 MB, free: 50.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02502/0.48, allocations: 12.54 MB / 424.2 MB, free: 37.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-05/0.48, allocations: 4 kB / 424.3 MB, free: 37.77 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001086/0.4811, allocations: 239.5 kB / 424.5 MB, free: 37.54 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01353/0.4947, allocations: 4.831 MB / 429.3 MB, free: 32.68 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000481/0.4951, allocations: 46.62 kB / 429.4 MB, free: 32.63 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/0.5108, allocations: 12.66 MB / 442 MB, free: 19.87 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.5108, allocations: 0 / 442 MB, free: 19.87 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01813/0.529, allocations: 10.09 MB / 452.1 MB, free: 9.727 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007949/0.5298, allocations: 238.2 kB / 452.3 MB, free: 9.492 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004026/0.5302, allocations: 42.17 kB / 452.4 MB, free: 9.453 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001758/0.5319, allocations: 219.6 kB / 452.6 MB, free: 9.238 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004693/0.5324, allocations: 116.7 kB / 452.7 MB, free: 9.125 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001537/0.5325, allocations: 51.97 kB / 452.8 MB, free: 9.074 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002197/0.5347, allocations: 1.61 MB / 454.4 MB, free: 7.449 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.5347, allocations: 0 / 454.4 MB, free: 7.449 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004072/0.5388, allocations: 0.9269 MB / 455.3 MB, free: 6.523 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.0004725/0.5393, allocations: 185.1 kB / 455.5 MB, free: 6.336 MB / 330.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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.008683/0.548, allocations: 5.572 MB / 461.1 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.272e-06/0.548, allocations: 0 / 461.1 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005288/0.5533, allocations: 2.273 MB / 463.3 MB, free: 14.44 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002243/0.5555, allocations: 288.8 kB / 463.6 MB, free: 14.17 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01403/0.5695, allocations: 7.31 MB / 470.9 MB, free: 6.816 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002724/0.5723, allocations: 1.752 MB / 472.7 MB, free: 5.031 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.003947/0.5762, allocations: 1.493 MB / 474.2 MB, free: 3.535 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007001/0.5769, allocations: 180.4 kB / 474.3 MB, free: 3.359 MB / 346.7 MB Notification: Performance of SimCode: time 2.574e-06/0.5769, allocations: 0 / 474.3 MB, free: 3.359 MB / 346.7 MB Notification: Performance of Templates: time 0.1741/0.751, allocations: 39.66 MB / 0.502 GB, free: 104.9 MB / 362.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.674153008963913]