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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=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_trunk_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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001134/0.001134, allocations: 109.8 kB / 18.3 MB, free: 4.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00125/0.00125, allocations: 211.8 kB / 19.26 MB, free: 3.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.272/1.272, allocations: 227.4 MB / 247.4 MB, free: 10.61 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001987/0.001987, allocations: 60.59 kB / 307.6 MB, free: 0.6328 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0944/0.09641, allocations: 50.53 MB / 358.2 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.00743/0.1039, allocations: 7.002 MB / 365.2 MB, free: 7.062 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005745/0.1097, allocations: 3.173 MB / 368.3 MB, free: 3.879 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007976/0.1105, allocations: 31.94 kB / 368.4 MB, free: 3.848 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.1125, allocations: 0.899 MB / 369.3 MB, free: 2.945 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003325/0.1158, allocations: 1.343 MB / 370.6 MB, free: 1.598 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.1169, allocations: 0.5147 MB / 371.1 MB, free: 1.082 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.169/0.2859, allocations: 2.75 MB / 373.9 MB, free: 9.895 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001815/0.2878, allocations: 1.33 MB / 375.2 MB, free: 9.816 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.2891, allocations: 0.856 MB / 376.1 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002542/0.2916, allocations: 2.134 MB / 378.2 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006031/0.2922, allocations: 182.8 kB / 378.4 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001749/0.294, allocations: 0.951 MB / 379.3 MB, free: 9.566 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001137/0.2951, allocations: 1.115 MB / 380.4 MB, free: 9.449 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001162/0.2963, allocations: 1.291 MB / 381.7 MB, free: 8.961 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004542/0.3009, allocations: 4.212 MB / 385.9 MB, free: 7.637 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.3009, allocations: 0 / 385.9 MB, free: 7.637 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.3009, allocations: 0 / 385.9 MB, free: 7.637 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001041/0.301, allocations: 5.312 kB / 385.9 MB, free: 7.633 MB / 302.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.00873/0.3098, allocations: 3.345 MB / 389.3 MB, free: 5.73 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.3098, allocations: 9.469 kB / 389.3 MB, free: 5.73 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005826/0.3156, allocations: 1.656 MB / 391 MB, free: 4.875 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002992/0.3187, allocations: 1.472 MB / 392.4 MB, free: 3.996 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.061e-05/0.3188, allocations: 121.7 kB / 392.5 MB, free: 3.965 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003614/0.3191, allocations: 184 kB / 392.7 MB, free: 3.918 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00808/0.3272, allocations: 6.593 MB / 399.3 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.757e-05/0.3273, allocations: 32.84 kB / 399.3 MB, free: 15.85 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002533/0.3276, allocations: 91.89 kB / 399.4 MB, free: 15.81 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001925/0.3295, allocations: 1.328 MB / 400.8 MB, free: 14.72 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009935/0.3395, allocations: 5.844 MB / 406.6 MB, free: 9.023 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02989/0.3694, allocations: 28.04 MB / 434.7 MB, free: 12.32 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005656/0.3751, allocations: 2.785 MB / 437.4 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.3765, allocations: 1.306 MB / 438.7 MB, free: 8.066 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006119/0.3772, allocations: 0.6374 MB / 439.4 MB, free: 7.324 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.3772, allocations: 45.84 kB / 439.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of pre-optimization done (n=129): time 3.597e-06/0.3772, allocations: 0 / 439.4 MB, free: 7.273 MB / 350.1 MB Notification: Performance of matching and sorting (n=163): time 0.06857/0.4458, allocations: 20.98 MB / 460.4 MB, free: 2.195 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.129e-05/0.4459, allocations: 179.2 kB / 460.6 MB, free: 1.984 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004005/0.4499, allocations: 2.791 MB / 463.4 MB, free: 15.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003046/0.4502, allocations: 45.7 kB / 463.4 MB, free: 15.12 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001311/0.4515, allocations: 2.078 MB / 465.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007424/0.4523, allocations: 0.6269 MB / 466.1 MB, free: 12.43 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001684/0.454, allocations: 0.9958 MB / 467.1 MB, free: 11.42 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.585e-05/0.4541, allocations: 309.1 kB / 467.4 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003072/0.4572, allocations: 2.227 MB / 469.7 MB, free: 8.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00476/0.4619, allocations: 5.155 MB / 474.8 MB, free: 2.281 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008174/0.4701, allocations: 7.968 MB / 482.8 MB, free: 8.879 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.554e-05/0.4702, allocations: 28 kB / 482.8 MB, free: 8.852 MB / 398.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02227/0.4925, allocations: 10.3 MB / 493.1 MB, free: 14.53 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.209e-05/0.4926, allocations: 48 kB / 493.1 MB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001188/0.4928, allocations: 104 kB / 493.2 MB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01121/0.504, allocations: 3.431 MB / 496.7 MB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003358/0.5074, allocations: 1.092 MB / 497.8 MB, free: 9.832 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01789/0.5253, allocations: 12.85 MB / 0.4987 GB, free: 12.84 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003643/0.5289, allocations: 334.6 kB / 0.499 GB, free: 12.52 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000767/0.5297, allocations: 304.1 kB / 0.4993 GB, free: 12.22 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.002643/0.5324, allocations: 1.465 MB / 0.5007 GB, free: 10.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005877/0.533, allocations: 248.7 kB / 0.5009 GB, free: 10.5 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01545/0.5484, allocations: 6.004 MB / 0.5068 GB, free: 4.457 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.619e-05/0.5486, allocations: 34.41 kB / 0.5068 GB, free: 4.426 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.911e-05/0.5486, allocations: 8 kB / 0.5068 GB, free: 4.418 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.249e-05/0.5486, allocations: 3.984 kB / 0.5068 GB, free: 4.414 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02893/0.5776, allocations: 13.23 MB / 0.5198 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.468e-05/0.5776, allocations: 0 / 0.5198 GB, free: 7.137 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.5787, allocations: 239.6 kB / 0.52 GB, free: 6.902 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01205/0.5908, allocations: 4.018 MB / 0.5239 GB, free: 2.859 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003612/0.5912, allocations: 47.95 kB / 0.524 GB, free: 2.812 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1669/0.7581, allocations: 12.82 MB / 0.5365 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.7582, allocations: 2.375 kB / 0.5365 GB, free: 141.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01936/0.7775, allocations: 10.08 MB / 0.5463 GB, free: 138.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005657/0.7781, allocations: 299.7 kB / 0.5466 GB, free: 138.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006199/0.7788, allocations: 38.8 kB / 0.5466 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001753/0.7805, allocations: 187.7 kB / 0.5468 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003995/0.7809, allocations: 113.4 kB / 0.5469 GB, free: 138.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.7811, allocations: 57.8 kB / 0.547 GB, free: 138.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002038/0.7831, allocations: 1.729 MB / 0.5487 GB, free: 137.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.7831, allocations: 0 / 0.5487 GB, free: 137.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003579/0.7867, allocations: 0.8135 MB / 0.5495 GB, free: 137.8 MB / 446.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.0003943/0.7871, allocations: 168.7 kB / 0.5496 GB, free: 137.7 MB / 446.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.00906/0.7962, allocations: 6.81 MB / 0.5563 GB, free: 135 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.7962, allocations: 0 / 0.5563 GB, free: 135 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004272/0.8005, allocations: 2.895 MB / 0.5591 GB, free: 132.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00215/0.8027, allocations: 296.5 kB / 0.5594 GB, free: 132.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009936/0.8126, allocations: 7.679 MB / 0.5669 GB, free: 125.2 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001587/0.8142, allocations: 2.317 MB / 0.5692 GB, free: 122.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000595/0.8148, allocations: 231.4 kB / 0.5694 GB, free: 122.7 MB / 446.1 MB Notification: Performance of SimCode: time 6.71e-07/0.8149, allocations: 0 / 0.5694 GB, free: 122.7 MB / 446.1 MB Notification: Performance of Templates: time 0.4576/1.272, allocations: 128.6 MB / 0.695 GB, free: 139.8 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches