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.001076/0.001076, allocations: 114.8 kB / 18.46 MB, free: 4.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0011/0.0011, allocations: 204 kB / 19.41 MB, free: 3.645 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.4 MB / 247.6 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001163/0.001164, allocations: 59.89 kB / 359.4 MB, free: 12.9 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2176, allocations: 50.54 MB / 409.9 MB, free: 1.578 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007683/0.2253, allocations: 7.015 MB / 417 MB, free: 10.53 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005492/0.2308, allocations: 3.15 MB / 420.1 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000792/0.2316, allocations: 31.94 kB / 420.1 MB, free: 7.34 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.2336, allocations: 0.9068 MB / 421 MB, free: 6.43 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003068/0.2366, allocations: 1.366 MB / 422.4 MB, free: 5.062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.2379, allocations: 0.5186 MB / 422.9 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003442/0.2413, allocations: 2.755 MB / 425.7 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001674/0.243, allocations: 1.318 MB / 427 MB, free: 452 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001237/0.2443, allocations: 0.8602 MB / 427.9 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002699/0.247, allocations: 2.132 MB / 430 MB, free: 13.44 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005174/0.2475, allocations: 180 kB / 430.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001752/0.2493, allocations: 0.9555 MB / 431.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001153/0.2504, allocations: 1.11 MB / 432.2 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001581/0.252, allocations: 1.297 MB / 433.5 MB, free: 9.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004607/0.2567, allocations: 4.396 MB / 437.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2567, allocations: 0 / 437.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2567, allocations: 0 / 437.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001083/0.2568, allocations: 0 / 437.9 MB, free: 5.48 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.007788/0.2646, allocations: 3.44 MB / 441.4 MB, free: 1.977 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.2646, allocations: 8.031 kB / 441.4 MB, free: 1.969 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005702/0.2703, allocations: 1.668 MB / 443 MB, free: 304 kB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002592/0.273, allocations: 1.492 MB / 444.5 MB, free: 14.76 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.694e-05/0.2731, allocations: 127.2 kB / 444.7 MB, free: 14.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003621/0.2734, allocations: 175.8 kB / 444.8 MB, free: 14.46 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0089/0.2823, allocations: 6.592 MB / 451.4 MB, free: 7.328 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.669e-05/0.2824, allocations: 35.7 kB / 451.5 MB, free: 7.293 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002563/0.2827, allocations: 87.89 kB / 451.5 MB, free: 7.207 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001918/0.2846, allocations: 1.323 MB / 452.9 MB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009489/0.2941, allocations: 5.847 MB / 458.7 MB, free: 36 kB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02945/0.3236, allocations: 28.01 MB / 486.7 MB, free: 3.18 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005952/0.3296, allocations: 2.781 MB / 489.5 MB, free: 252 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001584/0.3312, allocations: 1.306 MB / 490.8 MB, free: 14.93 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006525/0.3319, allocations: 0.6356 MB / 491.4 MB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.48e-05/0.3319, allocations: 55.11 kB / 491.5 MB, free: 14.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.147e-06/0.3319, allocations: 0 / 491.5 MB, free: 14.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07261/0.4045, allocations: 21.16 MB / 0.5006 GB, free: 8.832 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.463e-05/0.4046, allocations: 171.2 kB / 0.5008 GB, free: 8.629 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003718/0.4084, allocations: 2.792 MB / 0.5035 GB, free: 5.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001977/0.4086, allocations: 45.7 kB / 0.5036 GB, free: 5.77 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001357/0.41, allocations: 2.171 MB / 0.5057 GB, free: 3.574 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006279/0.4106, allocations: 0.6551 MB / 0.5063 GB, free: 2.914 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001399/0.412, allocations: 1.004 MB / 0.5073 GB, free: 1.898 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 8.897e-05/0.4121, allocations: 305.1 kB / 0.5076 GB, free: 1.598 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003116/0.4152, allocations: 2.235 MB / 0.5098 GB, free: 15.36 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004879/0.4201, allocations: 5.154 MB / 0.5148 GB, free: 8.746 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008532/0.4286, allocations: 7.96 MB / 0.5226 GB, free: 15.34 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.698e-05/0.4287, allocations: 32 kB / 0.5226 GB, free: 15.31 MB / 462.1 MB Notification: Performance of matching and sorting (n=645) (initialization): time 0.02206/0.4508, allocations: 10.31 MB / 0.5327 GB, free: 4.973 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.567e-05/0.4509, allocations: 56.03 kB / 0.5327 GB, free: 4.918 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001169/0.451, allocations: 100 kB / 0.5328 GB, free: 4.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01174/0.4628, allocations: 3.431 MB / 0.5362 GB, free: 1.363 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003124/0.4659, allocations: 1.084 MB / 0.5373 GB, free: 284 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1903/0.6562, allocations: 12.84 MB / 0.5498 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003269/0.6595, allocations: 332.8 kB / 0.5501 GB, free: 116.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003217/0.6598, allocations: 308.5 kB / 0.5504 GB, free: 116.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.001485/0.6613, allocations: 1.463 MB / 0.5518 GB, free: 115.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003504/0.6617, allocations: 266.3 kB / 0.5521 GB, free: 115.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01443/0.6761, allocations: 5.991 MB / 0.5579 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.425e-05/0.6761, allocations: 7.516 kB / 0.5579 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.829e-06/0.6761, allocations: 0 / 0.5579 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.6764, allocations: 318 kB / 0.5583 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003258/0.6767, allocations: 46.59 kB / 0.5583 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001463/0.6782, allocations: 143 kB / 0.5584 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003424/0.6785, allocations: 127.2 kB / 0.5586 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.009975/0.6885, allocations: 5.793 MB / 0.5642 GB, free: 108.2 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005584/0.6941, allocations: 5.945 MB / 0.57 GB, free: 102.3 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001504/0.6956, allocations: 1.612 MB / 0.5716 GB, free: 100.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001743/0.6974, allocations: 1.726 MB / 0.5733 GB, free: 98.94 MB / 462.1 MB Notification: Performance of Backend: time 3.41e-07/0.6974, allocations: 0 / 0.5733 GB, free: 98.94 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.008193/0.7056, allocations: 5.081 MB / 0.5782 GB, free: 93.89 MB / 462.1 MB Notification: Performance of SimCode: time 0.006515/0.7121, allocations: 6.857 MB / 0.5849 GB, free: 87.04 MB / 462.1 MB Notification: Performance of Templates: time 0.05258/0.7647, allocations: 44.84 MB / 0.6287 GB, free: 42.31 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