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.001471/0.001471, allocations: 88.98 kB / 20.68 MB, free: 1.02 MB / 14.72 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.001536/0.001536, allocations: 161.3 kB / 23.95 MB, free: 4.148 MB / 14.72 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 1.546/1.546, allocations: 177 MB / 204.1 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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.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_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.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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 325 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.659e-05/2.85e-05, allocations: 7.281 kB / 325 MB, free: 0.4961 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.00938/0.009409, allocations: 6.241 MB / 331.3 MB, free: 12.4 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006984/0.01639, allocations: 2.997 MB / 334.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001048/0.01744, allocations: 34.75 kB / 334.3 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002122/0.01956, allocations: 0.9232 MB / 335.2 MB, free: 9.656 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003708/0.02327, allocations: 1.415 MB / 336.6 MB, free: 8.699 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.02466, allocations: 0.5852 MB / 337.2 MB, free: 8.312 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00581/0.03047, allocations: 4.177 MB / 341.4 MB, free: 4.688 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002741/0.03322, allocations: 1.789 MB / 343.2 MB, free: 2.883 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002379/0.03559, allocations: 1.427 MB / 344.6 MB, free: 1.453 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002596/0.03819, allocations: 1.699 MB / 346.3 MB, free: 15.75 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003829/0.03857, allocations: 184 kB / 346.5 MB, free: 15.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001877/0.04045, allocations: 0.9124 MB / 347.4 MB, free: 14.66 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001274/0.04172, allocations: 1.192 MB / 348.6 MB, free: 13.46 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.04277, allocations: 0.7242 MB / 349.3 MB, free: 12.73 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005911/0.04868, allocations: 4.458 MB / 353.8 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/0.04868, allocations: 0 / 353.8 MB, free: 8.262 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.04869, allocations: 0 / 353.8 MB, free: 8.262 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.858e-05/0.04876, allocations: 0 / 353.8 MB, free: 8.262 MB / 318.1 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.008801/0.05757, allocations: 3.392 MB / 357.2 MB, free: 4.824 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.42e-05/0.05761, allocations: 11.98 kB / 357.2 MB, free: 4.812 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006703/0.06431, allocations: 1.731 MB / 358.9 MB, free: 3.078 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003138/0.06745, allocations: 1.433 MB / 360.3 MB, free: 1.613 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.06758, allocations: 127.5 kB / 360.5 MB, free: 1.488 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003862/0.06796, allocations: 175.8 kB / 360.6 MB, free: 1.316 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01091/0.07887, allocations: 6.59 MB / 367.2 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.727e-05/0.07896, allocations: 39.75 kB / 367.3 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002828/0.07924, allocations: 87.88 kB / 367.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002268/0.08151, allocations: 1.323 MB / 368.7 MB, free: 8.734 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01109/0.0926, allocations: 5.773 MB / 374.4 MB, free: 2.949 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03338/0.126, allocations: 26.67 MB / 401.1 MB, free: 7.445 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006209/0.1322, allocations: 2.287 MB / 403.4 MB, free: 5.113 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001664/0.1339, allocations: 1.22 MB / 404.6 MB, free: 3.879 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004958/0.1343, allocations: 184.2 kB / 404.8 MB, free: 3.699 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.846e-05/0.1344, allocations: 51.06 kB / 404.9 MB, free: 3.637 MB / 366.1 MB Notification: Performance of pre-optimization done (n=129): time 3.878e-06/0.1344, allocations: 0 / 404.9 MB, free: 3.637 MB / 366.1 MB Notification: Performance of matching and sorting (n=163): time 0.0782/0.2126, allocations: 21.34 MB / 426.2 MB, free: 14.24 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001251/0.2127, allocations: 179.2 kB / 426.4 MB, free: 14.02 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003778/0.2165, allocations: 2.737 MB / 429.1 MB, free: 11.25 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003161/0.2168, allocations: 53.69 kB / 429.2 MB, free: 11.2 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001701/0.2185, allocations: 2.159 MB / 431.3 MB, free: 9.012 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008438/0.2194, allocations: 0.6434 MB / 432 MB, free: 8.363 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001517/0.2209, allocations: 0.9965 MB / 433 MB, free: 7.355 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002059/0.2211, allocations: 357.9 kB / 433.3 MB, free: 7 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003551/0.2246, allocations: 2.227 MB / 435.5 MB, free: 4.766 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006222/0.2309, allocations: 5.15 MB / 440.7 MB, free: 14.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01095/0.2418, allocations: 7.97 MB / 448.7 MB, free: 4.754 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.443e-05/0.2419, allocations: 36 kB / 448.7 MB, free: 4.719 MB / 414.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02637/0.2683, allocations: 10.25 MB / 458.9 MB, free: 10.43 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/0.2684, allocations: 52 kB / 459 MB, free: 10.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001563/0.2685, allocations: 100 kB / 459.1 MB, free: 10.29 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01347/0.282, allocations: 3.428 MB / 462.5 MB, free: 6.832 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003973/0.286, allocations: 1.095 MB / 463.6 MB, free: 5.734 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2073/0.4932, allocations: 12.63 MB / 476.2 MB, free: 120.5 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004016/0.4972, allocations: 363.2 kB / 476.6 MB, free: 120.4 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007715/0.498, allocations: 307.3 kB / 476.9 MB, free: 120.4 MB / 430.1 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.002337/0.5004, allocations: 1.46 MB / 478.4 MB, free: 119.8 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005777/0.5009, allocations: 237.7 kB / 478.6 MB, free: 119.8 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01649/0.5174, allocations: 5.945 MB / 484.5 MB, free: 118.1 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.029e-05/0.5175, allocations: 36.12 kB / 484.6 MB, free: 118.1 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.397e-05/0.5175, allocations: 7.938 kB / 484.6 MB, free: 118.1 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.642e-05/0.5175, allocations: 11.28 kB / 484.6 MB, free: 118.1 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02705/0.5446, allocations: 12.51 MB / 497.1 MB, free: 112.6 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.89e-05/0.5446, allocations: 0 / 497.1 MB, free: 112.6 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001095/0.5457, allocations: 238.4 kB / 497.3 MB, free: 112.6 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01212/0.5578, allocations: 4.004 MB / 0.4896 GB, free: 109.6 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003182/0.5581, allocations: 46 kB / 0.4896 GB, free: 109.6 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01615/0.5743, allocations: 12.63 MB / 0.502 GB, free: 96.91 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.5743, allocations: 7.906 kB / 0.502 GB, free: 96.91 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01864/0.5929, allocations: 10.04 MB / 0.5118 GB, free: 86.98 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005248/0.5935, allocations: 247.4 kB / 0.512 GB, free: 86.82 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005155/0.594, allocations: 34.89 kB / 0.512 GB, free: 86.79 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001881/0.5959, allocations: 215.6 kB / 0.5123 GB, free: 86.58 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004551/0.5963, allocations: 124.6 kB / 0.5124 GB, free: 86.46 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001604/0.5965, allocations: 47.97 kB / 0.5124 GB, free: 86.41 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.001821/0.5983, allocations: 1.574 MB / 0.514 GB, free: 84.82 MB / 430.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5983, allocations: 0 / 0.514 GB, free: 84.82 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.003582/0.6019, allocations: 0.9049 MB / 0.5148 GB, free: 83.93 MB / 430.1 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.0004546/0.6023, allocations: 182.3 kB / 0.515 GB, free: 83.76 MB / 430.1 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.008071/0.6104, allocations: 5.565 MB / 0.5204 GB, free: 78.18 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.6104, allocations: 0 / 0.5204 GB, free: 78.18 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004158/0.6146, allocations: 2.264 MB / 0.5227 GB, free: 75.89 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001846/0.6164, allocations: 266.8 kB / 0.5229 GB, free: 75.63 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009068/0.6255, allocations: 7.196 MB / 0.5299 GB, free: 68.44 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002154/0.6276, allocations: 1.749 MB / 0.5316 GB, free: 66.65 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002724/0.6304, allocations: 1.486 MB / 0.5331 GB, free: 65.16 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006051/0.631, allocations: 180.4 kB / 0.5333 GB, free: 64.98 MB / 430.1 MB Notification: Performance of SimCode: time 1.113e-06/0.631, allocations: 4.703 kB / 0.5333 GB, free: 64.98 MB / 430.1 MB Notification: Performance of Templates: time 0.05072/0.6817, allocations: 39.14 MB / 0.5715 GB, free: 26.23 MB / 430.1 MB " [Timeout remaining time 659] 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.526147000491619]