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.0008829/0.0008829, allocations: 80.11 kB / 9.934 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001286/0.002169, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007978/0.0007978, allocations: 165.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001026/0.001824, allocations: 463.6 kB / 11.72 MB, free: 2.453 MB / 13.93 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.9751/0.9751, allocations: 177.4 MB / 189.9 MB, free: 4.828 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07968/1.055, allocations: 53.86 MB / 243.8 MB, free: 14.9 MB / 250.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 2.905e-06/2.905e-06, allocations: 3.984 kB / 245 MB, free: 13.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.448e-06/1.235e-05, allocations: 2.312 kB / 245 MB, free: 13.63 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.005082/0.005095, allocations: 6.763 MB / 251.8 MB, free: 6.84 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003679/0.008774, allocations: 3.196 MB / 255 MB, free: 3.633 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002755/0.009049, allocations: 35.88 kB / 255 MB, free: 3.598 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009726/0.01002, allocations: 0.93 MB / 255.9 MB, free: 2.664 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001449/0.01147, allocations: 1.4 MB / 257.3 MB, free: 1.258 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005159/0.01199, allocations: 0.5302 MB / 257.9 MB, free: 0.7266 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.002346/0.01433, allocations: 3.92 MB / 261.8 MB, free: 12.8 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009731/0.01531, allocations: 1.429 MB / 263.2 MB, free: 11.36 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001041/0.01635, allocations: 1.469 MB / 264.7 MB, free: 9.883 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001199/0.01755, allocations: 1.539 MB / 266.2 MB, free: 8.34 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001582/0.0177, allocations: 172 kB / 266.4 MB, free: 8.172 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008669/0.01857, allocations: 0.9163 MB / 267.3 MB, free: 7.254 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005903/0.01916, allocations: 1.064 MB / 268.4 MB, free: 6.188 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004936/0.01965, allocations: 0.584 MB / 269 MB, free: 5.602 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001913/0.02157, allocations: 2.662 MB / 271.6 MB, free: 2.93 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.216e-05/0.02158, allocations: 0 / 271.6 MB, free: 2.93 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.72e-07/0.02158, allocations: 0 / 271.6 MB, free: 2.93 MB / 266.7 MB Notification: Performance of Transformations before backend: time 2.403e-05/0.0216, allocations: 0 / 271.6 MB, free: 2.93 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.1098/0.1314, allocations: 3.646 MB / 275.3 MB, free: 13 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.439e-05/0.1315, allocations: 9.156 kB / 275.3 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/0.1339, allocations: 0.8428 MB / 276.1 MB, free: 13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001652/0.1356, allocations: 1.095 MB / 277.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.1e-05/0.1356, allocations: 134.1 kB / 277.3 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002542/0.1359, allocations: 170.2 kB / 277.5 MB, free: 12.71 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004061/0.14, allocations: 3.268 MB / 280.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.049e-05/0.14, allocations: 38.98 kB / 280.8 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.1402, allocations: 86.38 kB / 280.9 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001257/0.1415, allocations: 1.183 MB / 282.1 MB, free: 11.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003476/0.145, allocations: 1.72 MB / 283.8 MB, free: 11.14 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.01539/0.1603, allocations: 21.94 MB / 305.8 MB, free: 9.973 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001888/0.1622, allocations: 1.046 MB / 306.8 MB, free: 9.629 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003048/0.1625, allocations: 301.7 kB / 307.1 MB, free: 9.574 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002087/0.1627, allocations: 167.2 kB / 307.3 MB, free: 9.543 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.1628, allocations: 53.75 kB / 307.3 MB, free: 9.496 MB / 282.7 MB Notification: Performance of pre-optimization done (n=129): time 3.747e-06/0.1628, allocations: 0 / 307.3 MB, free: 9.496 MB / 282.7 MB Notification: Performance of matching and sorting (n=163): time 0.01983/0.1826, allocations: 7.738 MB / 315 MB, free: 2.883 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000612/0.1832, allocations: 169.8 kB / 315.2 MB, free: 2.684 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001878/0.1851, allocations: 2.213 MB / 317.4 MB, free: 0.8359 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001459/0.1852, allocations: 47.7 kB / 317.5 MB, free: 0.7852 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009356/0.1862, allocations: 2.079 MB / 319.6 MB, free: 14.82 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004769/0.1867, allocations: 0.6475 MB / 320.2 MB, free: 14.21 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000818/0.1875, allocations: 0.9277 MB / 321.1 MB, free: 13.38 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1876, allocations: 352 kB / 321.5 MB, free: 13.05 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001254/0.1888, allocations: 0.8064 MB / 322.3 MB, free: 12.23 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002723/0.1916, allocations: 3.601 MB / 325.9 MB, free: 7.355 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003887/0.1954, allocations: 4.817 MB / 330.7 MB, free: 1.332 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.106e-05/0.1955, allocations: 28 kB / 330.7 MB, free: 1.305 MB / 298.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.007818/0.2033, allocations: 4.576 MB / 335.3 MB, free: 12.69 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.849e-05/0.2033, allocations: 48 kB / 335.3 MB, free: 12.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.067e-05/0.2034, allocations: 104 kB / 335.4 MB, free: 12.54 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004838/0.2083, allocations: 1.699 MB / 337.1 MB, free: 10.82 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002056/0.2103, allocations: 1.162 MB / 338.3 MB, free: 9.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006106/0.2164, allocations: 3.859 MB / 342.2 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00229/0.2187, allocations: 212.7 kB / 342.4 MB, free: 5.543 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003537/0.2191, allocations: 265 kB / 342.6 MB, free: 5.285 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.0009129/0.22, allocations: 0.5057 MB / 343.1 MB, free: 4.77 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003329/0.2203, allocations: 162.4 kB / 343.3 MB, free: 4.613 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004962/0.2253, allocations: 2.183 MB / 345.5 MB, free: 2.391 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.655e-05/0.2253, allocations: 35.98 kB / 345.5 MB, free: 2.355 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.642e-05/0.2253, allocations: 8 kB / 345.5 MB, free: 2.348 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.2254, allocations: 4.641 kB / 345.5 MB, free: 2.344 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009689/0.235, allocations: 4.983 MB / 350.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.847e-06/0.2351, allocations: 4.062 kB / 350.5 MB, free: 13.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005571/0.2356, allocations: 207.7 kB / 350.7 MB, free: 13.32 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003453/0.236, allocations: 224.7 kB / 350.9 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004868/0.2408, allocations: 1.71 MB / 352.6 MB, free: 11.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001416/0.241, allocations: 39.97 kB / 352.7 MB, free: 11.33 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00516/0.2461, allocations: 3.167 MB / 355.9 MB, free: 8.094 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.2461, allocations: 4 kB / 355.9 MB, free: 8.09 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005979/0.2521, allocations: 3.163 MB / 359 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003298/0.2524, allocations: 40.89 kB / 359.1 MB, free: 4.883 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006514/0.2531, allocations: 32 kB / 359.1 MB, free: 4.852 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002332/0.2533, allocations: 120.7 kB / 359.2 MB, free: 4.734 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-05/0.2534, allocations: 39.97 kB / 359.2 MB, free: 4.695 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007459/0.2542, allocations: 0.7584 MB / 360 MB, free: 4.012 MB / 330.7 MB Notification: Performance of sort global known variables: time 2e-07/0.2542, allocations: 0 / 360 MB, free: 4.012 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002506/0.2567, allocations: 0.9079 MB / 360.9 MB, free: 3.105 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.0003403/0.257, allocations: 154.5 kB / 361.1 MB, free: 2.949 MB / 330.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.003469/0.2605, allocations: 2.794 MB / 363.9 MB, free: 204 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000107/0.2606, allocations: 70.56 kB / 363.9 MB, free: 120 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00167/0.2623, allocations: 1.056 MB / 365 MB, free: 15.05 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001231/0.2635, allocations: 0.5273 MB / 365.5 MB, free: 14.53 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007428/0.2709, allocations: 5.207 MB / 370.7 MB, free: 9.301 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006954/0.2716, allocations: 0.8097 MB / 371.5 MB, free: 8.469 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001016/0.2726, allocations: 364.5 kB / 371.9 MB, free: 8.109 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005812/0.2732, allocations: 413.2 kB / 372.3 MB, free: 7.703 MB / 346.7 MB Notification: Performance of SimCode: time 1.573e-06/0.2732, allocations: 0 / 372.3 MB, free: 7.703 MB / 346.7 MB Notification: Performance of Templates: time 0.04732/0.3205, allocations: 42.65 MB / 414.9 MB, free: 13.34 MB / 394.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 -emit_protected -ignoreHideResult -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.6072467314079404]