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: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001757/0.001757, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002009/0.002009, allocations: 206.4 kB / 18.58 MB, free: 4.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.453/1.453, allocations: 227.4 MB / 246.8 MB, free: 10.63 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002094/0.002094, allocations: 64.7 kB / 307.1 MB, free: 0.5312 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1389/0.141, allocations: 50.53 MB / 357.6 MB, free: 14.01 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01071/0.1518, allocations: 7.006 MB / 364.6 MB, free: 6.961 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007428/0.1592, allocations: 3.173 MB / 367.8 MB, free: 3.777 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001566/0.1609, allocations: 31.94 kB / 367.8 MB, free: 3.746 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00234/0.1633, allocations: 0.8873 MB / 368.7 MB, free: 2.855 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004047/0.1674, allocations: 1.347 MB / 370 MB, free: 1.504 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001355/0.1687, allocations: 0.5225 MB / 370.6 MB, free: 0.9805 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2419/0.4106, allocations: 2.748 MB / 373.3 MB, free: 9.938 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00294/0.4136, allocations: 1.33 MB / 374.6 MB, free: 9.855 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002152/0.4158, allocations: 0.8526 MB / 375.5 MB, free: 9.773 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004067/0.4199, allocations: 2.13 MB / 377.6 MB, free: 9.613 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001041/0.421, allocations: 183.2 kB / 377.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002882/0.4239, allocations: 0.9632 MB / 378.8 MB, free: 9.609 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001742/0.4256, allocations: 1.107 MB / 379.9 MB, free: 9.492 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001974/0.4276, allocations: 1.297 MB / 381.2 MB, free: 8.977 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006812/0.4344, allocations: 4.222 MB / 385.4 MB, free: 7.652 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.234e-06/0.4345, allocations: 0 / 385.4 MB, free: 7.652 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4345, allocations: 3.094 kB / 385.4 MB, free: 7.652 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001504/0.4346, allocations: 1.188 kB / 385.4 MB, free: 7.652 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.01041/0.445, allocations: 3.363 MB / 388.7 MB, free: 5.719 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.699e-05/0.4451, allocations: 9.781 kB / 388.8 MB, free: 5.719 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006846/0.4458, allocations: 462.8 kB / 389.2 MB, free: 5.426 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005997/0.4518, allocations: 1.663 MB / 390.9 MB, free: 4.57 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003369/0.4552, allocations: 1.706 MB / 392.6 MB, free: 3.578 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001136/0.4553, allocations: 129.1 kB / 392.7 MB, free: 3.543 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003611/0.4557, allocations: 177.5 kB / 392.9 MB, free: 3.5 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008009/0.4637, allocations: 6.598 MB / 399.5 MB, free: 15.36 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.801e-05/0.4638, allocations: 33.25 kB / 399.5 MB, free: 15.34 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002345/0.4641, allocations: 83.91 kB / 399.6 MB, free: 15.29 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002115/0.4662, allocations: 1.331 MB / 400.9 MB, free: 13.98 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0106/0.4768, allocations: 5.839 MB / 406.8 MB, free: 8.281 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03321/0.51, allocations: 28.04 MB / 434.8 MB, free: 11.57 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006879/0.5169, allocations: 2.794 MB / 437.6 MB, free: 8.621 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001979/0.519, allocations: 1.313 MB / 438.9 MB, free: 7.297 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008154/0.5198, allocations: 0.6307 MB / 439.5 MB, free: 6.562 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.104e-05/0.5199, allocations: 47.06 kB / 439.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of pre-optimization done (n=129): time 4.358e-06/0.5199, allocations: 0 / 439.6 MB, free: 6.508 MB / 350.1 MB Notification: Performance of matching and sorting (n=163): time 0.07508/0.595, allocations: 20.99 MB / 460.6 MB, free: 1.426 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.5952, allocations: 171.2 kB / 460.7 MB, free: 1.223 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007133/0.6023, allocations: 2.796 MB / 463.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004265/0.6028, allocations: 45.7 kB / 463.6 MB, free: 14.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002291/0.6051, allocations: 2.072 MB / 465.7 MB, free: 12.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001006/0.6061, allocations: 0.6307 MB / 466.3 MB, free: 11.66 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002504/0.6086, allocations: 0.998 MB / 467.3 MB, free: 10.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001012/0.6087, allocations: 310.6 kB / 467.6 MB, free: 10.35 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003604/0.6123, allocations: 2.223 MB / 469.8 MB, free: 8.121 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005557/0.6179, allocations: 5.141 MB / 474.9 MB, free: 1.531 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009738/0.6277, allocations: 7.949 MB / 482.9 MB, free: 8.148 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000129/0.6278, allocations: 32 kB / 482.9 MB, free: 8.117 MB / 398.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02577/0.6536, allocations: 10.28 MB / 493.2 MB, free: 13.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001461/0.6538, allocations: 48 kB / 493.3 MB, free: 13.77 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002015/0.654, allocations: 104 kB / 493.4 MB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01196/0.666, allocations: 3.435 MB / 496.8 MB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003728/0.6698, allocations: 1.084 MB / 497.9 MB, free: 9.125 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02069/0.6905, allocations: 12.85 MB / 0.4988 GB, free: 12.14 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004897/0.6954, allocations: 335.4 kB / 0.4991 GB, free: 11.82 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001296/0.6968, allocations: 304 kB / 0.4994 GB, free: 11.52 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 (573): * Single equations (assignments): 562 * 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.004502/0.7013, allocations: 1.471 MB / 0.5008 GB, free: 10.04 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001017/0.7023, allocations: 244.8 kB / 0.501 GB, free: 9.793 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01737/0.7197, allocations: 5.996 MB / 0.5069 GB, free: 3.758 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.226e-05/0.7198, allocations: 28 kB / 0.5069 GB, free: 3.73 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.695e-05/0.7199, allocations: 8 kB / 0.5069 GB, free: 3.723 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.531e-05/0.7199, allocations: 7.969 kB / 0.5069 GB, free: 3.715 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03313/0.7531, allocations: 13.23 MB / 0.5199 GB, free: 6.438 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.917e-05/0.7531, allocations: 3.984 kB / 0.5199 GB, free: 6.434 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001278/0.7544, allocations: 223.7 kB / 0.5201 GB, free: 6.215 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01302/0.7675, allocations: 4.022 MB / 0.524 GB, free: 2.168 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004888/0.768, allocations: 43.95 kB / 0.524 GB, free: 2.117 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.216/0.984, allocations: 12.83 MB / 0.5366 GB, free: 141.5 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.597e-06/0.984, allocations: 1.188 kB / 0.5366 GB, free: 141.5 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02166/1.006, allocations: 10.09 MB / 0.5464 GB, free: 138.3 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009486/1.007, allocations: 293.7 kB / 0.5467 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005474/1.007, allocations: 45.5 kB / 0.5467 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001643/1.009, allocations: 187.5 kB / 0.5469 GB, free: 138.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004967/1.009, allocations: 113.2 kB / 0.547 GB, free: 138.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001475/1.01, allocations: 54.69 kB / 0.5471 GB, free: 138.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00275/1.012, allocations: 1.733 MB / 0.5488 GB, free: 137.5 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.012, allocations: 0 / 0.5488 GB, free: 137.5 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004737/1.017, allocations: 0.8074 MB / 0.5496 GB, free: 137.4 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.01898/1.036, allocations: 10.73 MB / 0.56 GB, free: 131.9 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.01136/1.047, allocations: 6.787 MB / 0.5667 GB, free: 125.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.481e-06/1.048, allocations: 0 / 0.5667 GB, free: 125.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004632/1.052, allocations: 2.905 MB / 0.5695 GB, free: 122 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002527/1.055, allocations: 299.4 kB / 0.5698 GB, free: 121.8 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06828/1.123, allocations: 44.76 MB / 0.6135 GB, free: 71.61 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001887/1.125, allocations: 2.332 MB / 0.6158 GB, free: 69.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003023/1.128, allocations: 1.503 MB / 0.6172 GB, free: 67.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001441/1.129, allocations: 1.124 MB / 0.6183 GB, free: 66.62 MB / 446.1 MB Notification: Performance of SimCode: time 1.653e-06/1.129, allocations: 0 / 0.6183 GB, free: 66.62 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1025/1.232, allocations: 64.74 MB / 0.6816 GB, free: 2.117 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.48/13.71, allocations: 3.938 kB / 0.6816 GB, free: 2.113 MB / 446.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > 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