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.001403/0.001403, allocations: 113.9 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001711/0.001711, allocations: 208 kB / 19.41 MB, free: 3.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.314/1.314, allocations: 227.4 MB / 247.6 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001168/0.001168, allocations: 63.89 kB / 359.4 MB, free: 12.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2032/0.2044, allocations: 50.54 MB / 409.9 MB, free: 1.695 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007542/0.212, allocations: 7.012 MB / 417 MB, free: 10.65 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005179/0.2172, allocations: 3.158 MB / 420.1 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006054/0.2178, allocations: 31.94 kB / 420.1 MB, free: 7.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001723/0.2195, allocations: 0.8951 MB / 421 MB, free: 6.551 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00252/0.2221, allocations: 1.339 MB / 422.4 MB, free: 5.207 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00088/0.223, allocations: 0.5225 MB / 422.9 MB, free: 4.684 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002599/0.2256, allocations: 2.754 MB / 425.7 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001223/0.2268, allocations: 1.322 MB / 427 MB, free: 0.582 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007627/0.2276, allocations: 0.8563 MB / 427.8 MB, free: 15.72 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002132/0.2297, allocations: 2.135 MB / 430 MB, free: 13.58 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002694/0.23, allocations: 176 kB / 430.1 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001308/0.2313, allocations: 0.9595 MB / 431.1 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008376/0.2322, allocations: 1.106 MB / 432.2 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009958/0.2332, allocations: 1.297 MB / 433.5 MB, free: 10.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003559/0.2368, allocations: 4.381 MB / 437.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2368, allocations: 0 / 437.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.2368, allocations: 0 / 437.9 MB, free: 5.641 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.55e-05/0.2368, allocations: 0 / 437.9 MB, free: 5.641 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.006642/0.2435, allocations: 3.351 MB / 441.2 MB, free: 2.23 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.2435, allocations: 12.02 kB / 441.2 MB, free: 2.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005572/0.2491, allocations: 1.658 MB / 442.9 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00286/0.252, allocations: 1.487 MB / 444.4 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.952e-05/0.252, allocations: 127.1 kB / 444.5 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000314/0.2524, allocations: 171.8 kB / 444.7 MB, free: 14.72 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007995/0.2604, allocations: 6.604 MB / 451.3 MB, free: 7.578 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.876e-05/0.2604, allocations: 27.75 kB / 451.3 MB, free: 7.551 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000223/0.2607, allocations: 83.89 kB / 451.4 MB, free: 7.469 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001813/0.2625, allocations: 1.327 MB / 452.7 MB, free: 6.145 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008989/0.2715, allocations: 5.843 MB / 458.6 MB, free: 304 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02632/0.2978, allocations: 27.96 MB / 486.5 MB, free: 3.484 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005691/0.3035, allocations: 2.79 MB / 489.3 MB, free: 0.5391 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.305, allocations: 1.302 MB / 490.6 MB, free: 15.22 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00066/0.3057, allocations: 0.6278 MB / 491.2 MB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.395e-05/0.3058, allocations: 55.06 kB / 491.3 MB, free: 14.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.387e-06/0.3058, allocations: 0 / 491.3 MB, free: 14.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07002/0.3758, allocations: 21 MB / 0.5003 GB, free: 9.293 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.629e-05/0.3759, allocations: 167.7 kB / 0.5005 GB, free: 9.094 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003393/0.3793, allocations: 2.787 MB / 0.5032 GB, free: 6.289 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001465/0.3795, allocations: 49.7 kB / 0.5032 GB, free: 6.234 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0013/0.3808, allocations: 2.075 MB / 0.5053 GB, free: 4.125 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005589/0.3813, allocations: 0.6286 MB / 0.5059 GB, free: 3.488 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001304/0.3826, allocations: 0.9919 MB / 0.5068 GB, free: 2.484 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.706e-05/0.3827, allocations: 309.1 kB / 0.5071 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003069/0.3858, allocations: 2.231 MB / 0.5093 GB, free: 15.94 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004881/0.3907, allocations: 5.154 MB / 0.5143 GB, free: 9.328 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008504/0.3992, allocations: 7.966 MB / 0.5221 GB, free: 15.92 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.406e-05/0.3993, allocations: 32 kB / 0.5222 GB, free: 15.89 MB / 462.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02236/0.4217, allocations: 10.3 MB / 0.5322 GB, free: 5.555 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.447e-05/0.4217, allocations: 48 kB / 0.5323 GB, free: 5.508 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001153/0.4219, allocations: 104 kB / 0.5324 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01182/0.4337, allocations: 3.427 MB / 0.5357 GB, free: 1.953 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003106/0.4368, allocations: 1.092 MB / 0.5368 GB, free: 0.8594 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1884/0.6253, allocations: 12.83 MB / 0.5493 GB, free: 116.6 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003385/0.6287, allocations: 332.1 kB / 0.5496 GB, free: 116.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005664/0.6293, allocations: 310.2 kB / 0.5499 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.001893/0.6312, allocations: 1.466 MB / 0.5513 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004357/0.6316, allocations: 251.1 kB / 0.5516 GB, free: 115.9 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/0.6457, allocations: 5.996 MB / 0.5574 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-05/0.6457, allocations: 11.31 kB / 0.5575 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.6457, allocations: 0 / 0.5575 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00036/0.6461, allocations: 304.1 kB / 0.5577 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003075/0.6464, allocations: 35.5 kB / 0.5578 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001446/0.6478, allocations: 146.2 kB / 0.5579 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003184/0.6482, allocations: 134.7 kB / 0.558 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009686/0.6579, allocations: 5.784 MB / 0.5637 GB, free: 108.9 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005533/0.6634, allocations: 5.934 MB / 0.5695 GB, free: 102.9 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001478/0.6649, allocations: 1.62 MB / 0.5711 GB, free: 101.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001755/0.6667, allocations: 1.73 MB / 0.5728 GB, free: 99.59 MB / 462.1 MB Notification: Performance of Backend: time 4.01e-07/0.6667, allocations: 0 / 0.5728 GB, free: 99.59 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.007967/0.6747, allocations: 5.05 MB / 0.5777 GB, free: 94.54 MB / 462.1 MB Notification: Performance of SimCode: time 0.006439/0.6811, allocations: 6.775 MB / 0.5843 GB, free: 87.78 MB / 462.1 MB Notification: Performance of Templates: time 0.05263/0.7337, allocations: 44.83 MB / 0.6281 GB, free: 43.07 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/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