Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 108.5 kB / 17.06 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001196/0.001196, allocations: 188 kB / 18 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 43.92 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2722, allocations: 49.44 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.00794/0.2802, allocations: 7.041 MB / 407.8 MB, free: 1.82 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006659/0.2869, allocations: 3.135 MB / 410.9 MB, free: 14.67 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001034/0.288, allocations: 31.94 kB / 410.9 MB, free: 14.64 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001861/0.2899, allocations: 0.8951 MB / 411.8 MB, free: 13.74 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002932/0.2928, allocations: 1.393 MB / 413.2 MB, free: 12.34 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001035/0.2939, allocations: 0.5186 MB / 413.7 MB, free: 11.82 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003057/0.2969, allocations: 2.736 MB / 416.5 MB, free: 9.086 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/0.2983, allocations: 1.318 MB / 417.8 MB, free: 7.746 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001011/0.2994, allocations: 0.8641 MB / 418.7 MB, free: 6.879 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00218/0.3016, allocations: 2.022 MB / 420.7 MB, free: 4.852 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003503/0.3019, allocations: 180 kB / 420.9 MB, free: 4.676 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001662/0.3036, allocations: 0.9751 MB / 421.8 MB, free: 3.699 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.3046, allocations: 1.126 MB / 423 MB, free: 2.57 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001301/0.306, allocations: 1.309 MB / 424.3 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004251/0.3102, allocations: 4.423 MB / 428.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3102, allocations: 0 / 428.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3103, allocations: 0 / 428.7 MB, free: 12.82 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.5e-05/0.3103, allocations: 0 / 428.7 MB, free: 12.82 MB / 350.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.007012/0.3173, allocations: 3.269 MB / 432 MB, free: 9.492 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.059e-05/0.3174, allocations: 8.031 kB / 432 MB, free: 9.484 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006193/0.3236, allocations: 1.647 MB / 433.6 MB, free: 7.832 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00296/0.3266, allocations: 1.53 MB / 435.1 MB, free: 6.258 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.365e-05/0.3267, allocations: 127.2 kB / 435.3 MB, free: 6.133 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003686/0.3271, allocations: 163.9 kB / 435.4 MB, free: 5.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01021/0.3373, allocations: 6.607 MB / 442 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.646e-05/0.3374, allocations: 31.75 kB / 442.1 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002628/0.3377, allocations: 83.91 kB / 442.2 MB, free: 14.71 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001988/0.3397, allocations: 1.327 MB / 443.5 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.3499, allocations: 5.843 MB / 449.3 MB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03295/0.3829, allocations: 27.96 MB / 477.3 MB, free: 10.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006289/0.3892, allocations: 2.782 MB / 480.1 MB, free: 7.785 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001494/0.3907, allocations: 1.31 MB / 481.4 MB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006623/0.3914, allocations: 0.6395 MB / 482 MB, free: 5.707 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.643e-05/0.3914, allocations: 47.12 kB / 482.1 MB, free: 5.652 MB / 398.1 MB Notification: Performance of pre-optimization done (n=129): time 2.755e-06/0.3915, allocations: 0 / 482.1 MB, free: 5.652 MB / 398.1 MB Notification: Performance of matching and sorting (n=163): time 0.0748/0.4663, allocations: 20.99 MB / 0.4913 GB, free: 0.5352 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.568e-05/0.4664, allocations: 175.2 kB / 0.4914 GB, free: 336 kB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004482/0.4709, allocations: 2.799 MB / 0.4942 GB, free: 13.51 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002896/0.4712, allocations: 45.7 kB / 0.4942 GB, free: 13.46 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001486/0.4727, allocations: 2.075 MB / 0.4962 GB, free: 11.35 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000817/0.4735, allocations: 0.6252 MB / 0.4968 GB, free: 10.72 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001696/0.4752, allocations: 1.007 MB / 0.4978 GB, free: 9.699 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.029e-05/0.4753, allocations: 305.1 kB / 0.4981 GB, free: 9.398 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003199/0.4785, allocations: 2.231 MB / 0.5003 GB, free: 7.16 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004713/0.4833, allocations: 5.15 MB / 0.5053 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008589/0.4919, allocations: 7.975 MB / 0.5131 GB, free: 7.141 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.683e-05/0.4919, allocations: 28 kB / 0.5131 GB, free: 7.113 MB / 446.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02224/0.5142, allocations: 10.29 MB / 0.5232 GB, free: 12.79 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.113e-05/0.5143, allocations: 52 kB / 0.5232 GB, free: 12.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.84e-05/0.5144, allocations: 107.9 kB / 0.5233 GB, free: 12.64 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01159/0.526, allocations: 3.439 MB / 0.5267 GB, free: 9.172 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003608/0.5296, allocations: 1.084 MB / 0.5278 GB, free: 8.086 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2641/0.7938, allocations: 12.84 MB / 0.5403 GB, free: 125.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004513/0.7983, allocations: 328.6 kB / 0.5406 GB, free: 125.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000586/0.799, allocations: 302.7 kB / 0.5409 GB, free: 125.2 MB / 462.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.002074/0.801, allocations: 1.47 MB / 0.5423 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000471/0.8015, allocations: 255.7 kB / 0.5426 GB, free: 124.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01462/0.8161, allocations: 5.99 MB / 0.5484 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.781e-05/0.8162, allocations: 35.05 kB / 0.5485 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.035e-05/0.8163, allocations: 7.75 kB / 0.5485 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.92e-05/0.8163, allocations: 9.297 kB / 0.5485 GB, free: 122.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0255/0.8418, allocations: 13.22 MB / 0.5614 GB, free: 114.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.253e-05/0.8419, allocations: 7.625 kB / 0.5614 GB, free: 114.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001104/0.843, allocations: 228.7 kB / 0.5616 GB, free: 114.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01155/0.8545, allocations: 4.005 MB / 0.5655 GB, free: 110.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003032/0.8549, allocations: 47.95 kB / 0.5656 GB, free: 110.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0155/0.8704, allocations: 12.83 MB / 0.5781 GB, free: 97.79 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8704, allocations: 3.562 kB / 0.5781 GB, free: 97.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01815/0.8886, allocations: 10.08 MB / 0.588 GB, free: 87.84 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007291/0.8893, allocations: 303.3 kB / 0.5882 GB, free: 87.53 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003989/0.8897, allocations: 51.75 kB / 0.5883 GB, free: 87.48 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/0.8914, allocations: 183.7 kB / 0.5885 GB, free: 87.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004372/0.8918, allocations: 112.7 kB / 0.5886 GB, free: 87.19 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001393/0.892, allocations: 51.97 kB / 0.5886 GB, free: 87.14 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00207/0.894, allocations: 1.734 MB / 0.5903 GB, free: 85.39 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.8941, allocations: 0 / 0.5903 GB, free: 85.39 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003707/0.8978, allocations: 0.8215 MB / 0.5911 GB, free: 84.58 MB / 462.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.0004311/0.8982, allocations: 163 kB / 0.5913 GB, free: 84.42 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.008815/0.907, allocations: 6.28 MB / 0.5974 GB, free: 78.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.9071, allocations: 4 kB / 0.5974 GB, free: 78.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004461/0.9115, allocations: 2.888 MB / 0.6002 GB, free: 74.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/0.9135, allocations: 299 kB / 0.6005 GB, free: 74.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009139/0.9227, allocations: 7.296 MB / 0.6076 GB, free: 67.39 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/0.9243, allocations: 2.325 MB / 0.6099 GB, free: 65.04 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002664/0.927, allocations: 1.507 MB / 0.6114 GB, free: 63.53 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004296/0.9275, allocations: 187.4 kB / 0.6116 GB, free: 63.35 MB / 462.1 MB Notification: Performance of SimCode: time 9.71e-07/0.9275, allocations: 0 / 0.6116 GB, free: 63.35 MB / 462.1 MB Notification: Performance of Templates: time 0.05/0.9775, allocations: 38.61 MB / 0.6493 GB, free: 24.9 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & ./Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches