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.001103/0.001103, allocations: 118.8 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001231/0.001231, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.337/1.337, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001127/0.001127, allocations: 63.89 kB / 358.7 MB, free: 12.93 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2795/0.2806, allocations: 50.54 MB / 409.2 MB, free: 1.609 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007769/0.2884, allocations: 7.015 MB / 416.3 MB, free: 10.56 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006288/0.2947, allocations: 3.154 MB / 419.4 MB, free: 7.398 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009867/0.2958, allocations: 35.88 kB / 419.5 MB, free: 7.363 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00187/0.2977, allocations: 0.8873 MB / 420.3 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003043/0.3007, allocations: 1.351 MB / 421.7 MB, free: 5.117 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001048/0.3018, allocations: 0.5147 MB / 422.2 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003581/0.3054, allocations: 2.758 MB / 425 MB, free: 1.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001342/0.3067, allocations: 1.322 MB / 426.3 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001001/0.3078, allocations: 0.8602 MB / 427.1 MB, free: 15.63 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00235/0.3101, allocations: 2.128 MB / 429.3 MB, free: 13.5 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000386/0.3105, allocations: 180 kB / 429.4 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001543/0.3121, allocations: 0.9594 MB / 430.4 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008974/0.313, allocations: 1.106 MB / 431.5 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001116/0.3141, allocations: 1.301 MB / 432.8 MB, free: 9.945 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004115/0.3182, allocations: 4.381 MB / 437.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.3183, allocations: 0 / 437.2 MB, free: 5.555 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3183, allocations: 4 kB / 437.2 MB, free: 5.551 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.882e-05/0.3183, allocations: 3.984 kB / 437.2 MB, free: 5.547 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.007285/0.3256, allocations: 3.343 MB / 440.5 MB, free: 2.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3257, allocations: 12.03 kB / 440.6 MB, free: 2.133 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005886/0.3316, allocations: 1.655 MB / 442.2 MB, free: 484 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003476/0.3351, allocations: 1.499 MB / 443.7 MB, free: 14.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.482e-05/0.3352, allocations: 123.2 kB / 443.8 MB, free: 14.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003405/0.3355, allocations: 171.8 kB / 444 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009311/0.3449, allocations: 6.592 MB / 450.6 MB, free: 7.504 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.311e-05/0.345, allocations: 35.75 kB / 450.6 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002421/0.3452, allocations: 83.89 kB / 450.7 MB, free: 7.387 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002159/0.3474, allocations: 1.323 MB / 452 MB, free: 6.066 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.3581, allocations: 5.847 MB / 457.9 MB, free: 220 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0344/0.3926, allocations: 27.96 MB / 485.8 MB, free: 3.402 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005984/0.3986, allocations: 2.786 MB / 488.6 MB, free: 472 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001496/0.4001, allocations: 1.31 MB / 489.9 MB, free: 15.13 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007132/0.4008, allocations: 0.6317 MB / 490.6 MB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.868e-05/0.4009, allocations: 51.05 kB / 490.6 MB, free: 14.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.206e-06/0.4009, allocations: 0 / 490.6 MB, free: 14.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07021/0.4711, allocations: 21 MB / 0.4996 GB, free: 9.203 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.608e-05/0.4712, allocations: 175.2 kB / 0.4998 GB, free: 8.996 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003298/0.4745, allocations: 2.783 MB / 0.5025 GB, free: 6.195 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002131/0.4748, allocations: 45.7 kB / 0.5026 GB, free: 6.145 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001264/0.476, allocations: 2.075 MB / 0.5046 GB, free: 4.035 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005673/0.4766, allocations: 0.6247 MB / 0.5052 GB, free: 3.402 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001236/0.4779, allocations: 0.9998 MB / 0.5062 GB, free: 2.391 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.817e-05/0.4779, allocations: 305.1 kB / 0.5065 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002851/0.4808, allocations: 2.231 MB / 0.5086 GB, free: 15.85 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004594/0.4854, allocations: 5.15 MB / 0.5137 GB, free: 9.246 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008337/0.4938, allocations: 7.969 MB / 0.5215 GB, free: 15.83 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-05/0.4938, allocations: 28 kB / 0.5215 GB, free: 15.8 MB / 462.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02198/0.5158, allocations: 10.29 MB / 0.5315 GB, free: 5.48 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.389e-05/0.5159, allocations: 48 kB / 0.5316 GB, free: 5.434 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.872e-05/0.516, allocations: 111.9 kB / 0.5317 GB, free: 5.324 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01157/0.5276, allocations: 3.424 MB / 0.535 GB, free: 1.875 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003285/0.5309, allocations: 1.092 MB / 0.5361 GB, free: 0.7812 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2324/0.7633, allocations: 12.83 MB / 0.5486 GB, free: 116.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003705/0.767, allocations: 334.9 kB / 0.5489 GB, free: 116.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005526/0.7676, allocations: 302.5 kB / 0.5492 GB, free: 116.5 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.001786/0.7694, allocations: 1.477 MB / 0.5507 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000458/0.7699, allocations: 257.3 kB / 0.5509 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01428/0.7841, allocations: 5.99 MB / 0.5568 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.837e-05/0.7842, allocations: 31.12 kB / 0.5568 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.696e-05/0.7843, allocations: 11.56 kB / 0.5568 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.164e-05/0.7843, allocations: 7.641 kB / 0.5568 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02432/0.8086, allocations: 13.21 MB / 0.5697 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.318e-05/0.8087, allocations: 0 / 0.5697 GB, free: 101.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001007/0.8097, allocations: 229.1 kB / 0.5699 GB, free: 101.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01122/0.8209, allocations: 4.009 MB / 0.5739 GB, free: 97.58 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002735/0.8212, allocations: 51.47 kB / 0.5739 GB, free: 97.54 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0149/0.8361, allocations: 12.84 MB / 0.5864 GB, free: 84.65 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8362, allocations: 0 / 0.5864 GB, free: 84.65 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01834/0.8545, allocations: 10.08 MB / 0.5963 GB, free: 74.64 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006613/0.8552, allocations: 305.6 kB / 0.5966 GB, free: 74.32 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003312/0.8556, allocations: 39.98 kB / 0.5966 GB, free: 74.29 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001496/0.8571, allocations: 183.7 kB / 0.5968 GB, free: 74.11 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004048/0.8575, allocations: 116.8 kB / 0.5969 GB, free: 73.99 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/0.8576, allocations: 51.97 kB / 0.5969 GB, free: 73.94 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002102/0.8597, allocations: 1.734 MB / 0.5986 GB, free: 72.2 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.8597, allocations: 0 / 0.5986 GB, free: 72.2 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003476/0.8632, allocations: 0.8106 MB / 0.5994 GB, free: 71.39 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.0004008/0.8636, allocations: 167.5 kB / 0.5996 GB, free: 71.23 MB / 462.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.00816/0.8718, allocations: 6.272 MB / 0.6057 GB, free: 64.84 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.8718, allocations: 0 / 0.6057 GB, free: 64.84 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004069/0.8759, allocations: 2.904 MB / 0.6085 GB, free: 61.8 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001637/0.8775, allocations: 291.8 kB / 0.6088 GB, free: 61.53 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008235/0.8858, allocations: 7.291 MB / 0.6159 GB, free: 54.22 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001528/0.8873, allocations: 2.322 MB / 0.6182 GB, free: 51.87 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00245/0.8898, allocations: 1.503 MB / 0.6197 GB, free: 50.36 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004097/0.8902, allocations: 191.4 kB / 0.6199 GB, free: 50.18 MB / 462.1 MB Notification: Performance of SimCode: time 4.91e-07/0.8902, allocations: 0 / 0.6199 GB, free: 50.18 MB / 462.1 MB Notification: Performance of Templates: time 0.05097/0.9412, allocations: 38.65 MB / 0.6576 GB, free: 11.72 MB / 462.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/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_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches