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.0009483/0.0009483, allocations: 82.64 kB / 21.42 MB, free: 3.074 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.001708/0.001708, allocations: 172.1 kB / 24.82 MB, free: 8.773 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 1.011/1.011, allocations: 177.1 MB / 205.3 MB, free: 5.527 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.603e-06/1.603e-06, allocations: 0 / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.46e-05/1.62e-05, allocations: 2.312 kB / 273.4 MB, free: 1.301 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.005402/0.005418, allocations: 6.652 MB / 280.1 MB, free: 10.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004447/0.009865, allocations: 3.068 MB / 283.1 MB, free: 7.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005442/0.01041, allocations: 35.88 kB / 283.2 MB, free: 7.508 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001197/0.01161, allocations: 0.9456 MB / 284.1 MB, free: 6.559 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00193/0.01354, allocations: 1.427 MB / 285.5 MB, free: 5.125 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006627/0.0142, allocations: 0.5925 MB / 286.1 MB, free: 4.531 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002767/0.01697, allocations: 4.177 MB / 290.3 MB, free: 360 kB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.1085/0.1255, allocations: 1.858 MB / 292.2 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0025/0.128, allocations: 1.443 MB / 293.6 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002554/0.1305, allocations: 1.676 MB / 295.3 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004522/0.131, allocations: 172.9 kB / 295.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001401/0.1324, allocations: 0.9027 MB / 296.4 MB, free: 15.86 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008914/0.1333, allocations: 1.182 MB / 297.5 MB, free: 15.79 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000973/0.1342, allocations: 0.7076 MB / 298.2 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002787/0.137, allocations: 2.888 MB / 301.1 MB, free: 15 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.137, allocations: 0.75 kB / 301.1 MB, free: 15 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.137, allocations: 1.375 kB / 301.1 MB, free: 15 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.993e-05/0.1371, allocations: 5.656 kB / 301.1 MB, free: 15 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.00473/0.1418, allocations: 3.44 MB / 304.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.1419, allocations: 9.594 kB / 304.6 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002486/0.1444, allocations: 1.121 MB / 305.7 MB, free: 12.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001191/0.1456, allocations: 1.212 MB / 306.9 MB, free: 12.31 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.1456, allocations: 126.4 kB / 307 MB, free: 12.28 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/0.1458, allocations: 168.2 kB / 307.2 MB, free: 12.25 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002875/0.1487, allocations: 3.76 MB / 311 MB, free: 9.598 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.963e-05/0.1487, allocations: 31.08 kB / 311 MB, free: 9.594 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001593/0.1489, allocations: 84.25 kB / 311.1 MB, free: 9.566 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009005/0.1498, allocations: 1.177 MB / 312.3 MB, free: 9.148 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0025/0.1523, allocations: 1.759 MB / 314 MB, free: 7.781 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.01571/0.168, allocations: 30.92 MB / 344.9 MB, free: 8.512 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002207/0.1702, allocations: 1.097 MB / 346 MB, free: 7.391 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003662/0.1706, allocations: 383.8 kB / 346.4 MB, free: 7 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.1708, allocations: 156.6 kB / 346.6 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.1708, allocations: 52.89 kB / 346.6 MB, free: 6.793 MB / 298.7 MB Notification: Performance of pre-optimization done (n=129): time 3.256e-06/0.1708, allocations: 4 kB / 346.6 MB, free: 6.789 MB / 298.7 MB Notification: Performance of matching and sorting (n=163): time 0.02276/0.1936, allocations: 9.07 MB / 355.7 MB, free: 13.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/0.1937, allocations: 171.2 kB / 355.8 MB, free: 13.54 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002716/0.1964, allocations: 2.497 MB / 358.3 MB, free: 11.4 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.1965, allocations: 47.58 kB / 358.4 MB, free: 11.35 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001037/0.1975, allocations: 2.312 MB / 360.7 MB, free: 9.141 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004666/0.198, allocations: 0.6799 MB / 361.4 MB, free: 8.496 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001048/0.199, allocations: 1.096 MB / 362.5 MB, free: 7.492 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001814/0.1992, allocations: 0.5363 MB / 363 MB, free: 6.973 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/0.2002, allocations: 0.6849 MB / 363.7 MB, free: 6.281 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003301/0.2035, allocations: 5.047 MB / 368.7 MB, free: 15.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004605/0.2082, allocations: 6.246 MB / 375 MB, free: 7.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.42e-05/0.2082, allocations: 32 kB / 375 MB, free: 7.059 MB / 330.7 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.008716/0.2169, allocations: 5.266 MB / 380.3 MB, free: 1.754 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.607e-05/0.217, allocations: 52 kB / 380.3 MB, free: 1.703 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.079e-05/0.217, allocations: 103.9 kB / 380.4 MB, free: 1.602 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005002/0.222, allocations: 1.718 MB / 382.2 MB, free: 15.85 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001725/0.2237, allocations: 1.037 MB / 383.2 MB, free: 14.81 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006371/0.2301, allocations: 4.498 MB / 387.7 MB, free: 10.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002067/0.2322, allocations: 215.7 kB / 387.9 MB, free: 9.992 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003081/0.2325, allocations: 267.9 kB / 388.2 MB, free: 9.73 MB / 346.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.001094/0.2336, allocations: 0.5475 MB / 388.7 MB, free: 9.172 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004122/0.234, allocations: 278.4 kB / 389 MB, free: 8.898 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005851/0.2399, allocations: 2.416 MB / 391.4 MB, free: 6.445 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.653e-05/0.2399, allocations: 35.97 kB / 391.4 MB, free: 6.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.2399, allocations: 8 kB / 391.4 MB, free: 6.402 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.381e-05/0.2399, allocations: 15.92 kB / 391.5 MB, free: 6.387 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.2506, allocations: 5.751 MB / 397.2 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.2506, allocations: 7.938 kB / 397.2 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/0.2511, allocations: 171.8 kB / 397.4 MB, free: 396 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005059/0.2561, allocations: 1.605 MB / 399 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001166/0.2563, allocations: 39.95 kB / 399 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005342/0.2616, allocations: 3.807 MB / 402.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/0.2616, allocations: 4 kB / 402.8 MB, free: 10.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006713/0.2683, allocations: 3.536 MB / 406.4 MB, free: 7.195 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/0.2686, allocations: 226.2 kB / 406.6 MB, free: 6.973 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001946/0.2688, allocations: 35.98 kB / 406.6 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006796/0.2695, allocations: 31.98 kB / 406.7 MB, free: 6.906 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002336/0.2698, allocations: 116.7 kB / 406.8 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.946e-05/0.2698, allocations: 43.97 kB / 406.8 MB, free: 6.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001039/0.2709, allocations: 0.9844 MB / 407.8 MB, free: 5.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.6e-07/0.2709, allocations: 0 / 407.8 MB, free: 5.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002915/0.2738, allocations: 0.8984 MB / 408.7 MB, free: 4.852 MB / 362.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.00039/0.2742, allocations: 179.1 kB / 408.9 MB, free: 4.668 MB / 362.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.004255/0.2785, allocations: 3.137 MB / 412 MB, free: 1.504 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.2785, allocations: 8 kB / 412 MB, free: 1.496 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002096/0.2806, allocations: 1.234 MB / 413.3 MB, free: 216 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001051/0.2816, allocations: 277.3 kB / 413.5 MB, free: 15.94 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006453/0.2881, allocations: 5.334 MB / 418.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007735/0.2888, allocations: 0.8245 MB / 419.7 MB, free: 9.699 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001187/0.29, allocations: 359.5 kB / 420 MB, free: 9.344 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000569/0.2906, allocations: 446 kB / 420.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of SimCode: time 1.162e-06/0.2906, allocations: 0 / 420.5 MB, free: 8.906 MB / 378.7 MB Notification: Performance of Templates: time 0.1469/0.4375, allocations: 42.37 MB / 462.8 MB, free: 99.8 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 -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.8277351618744433]