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.001129/0.001129, allocations: 122.2 kB / 17.78 MB, free: 5.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001249/0.001249, allocations: 201.2 kB / 18.72 MB, free: 4.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.483/1.483, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001454/0.001454, allocations: 63.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3267/0.3282, allocations: 50.54 MB / 408.7 MB, free: 1.562 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007819/0.3361, allocations: 7.026 MB / 415.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006156/0.3423, allocations: 3.15 MB / 418.9 MB, free: 7.348 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.3438, allocations: 31.94 kB / 419 MB, free: 7.316 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002673/0.3466, allocations: 0.8989 MB / 419.9 MB, free: 6.414 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0038/0.3504, allocations: 1.37 MB / 421.2 MB, free: 5.039 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001353/0.3518, allocations: 0.5186 MB / 421.7 MB, free: 4.52 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003819/0.3556, allocations: 2.754 MB / 424.5 MB, free: 1.762 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.3577, allocations: 1.318 MB / 425.8 MB, free: 432 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001785/0.3595, allocations: 0.8719 MB / 426.7 MB, free: 15.55 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003119/0.3626, allocations: 2.128 MB / 428.8 MB, free: 13.41 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007045/0.3634, allocations: 180 kB / 429 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.3655, allocations: 0.9478 MB / 429.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001493/0.3671, allocations: 1.118 MB / 431.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002312/0.3694, allocations: 1.293 MB / 432.3 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006192/0.3756, allocations: 4.411 MB / 436.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.574e-06/0.3756, allocations: 0 / 436.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3756, allocations: 0 / 436.8 MB, free: 5.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001542/0.3758, allocations: 4 kB / 436.8 MB, free: 5.438 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.01003/0.3859, allocations: 3.44 MB / 440.2 MB, free: 1.934 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.313e-05/0.3859, allocations: 8.031 kB / 440.2 MB, free: 1.926 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001579/0.3875, allocations: 466.3 kB / 440.7 MB, free: 1.461 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00652/0.3941, allocations: 1.676 MB / 442.3 MB, free: 15.78 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004367/0.3985, allocations: 1.733 MB / 444.1 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.3987, allocations: 127.2 kB / 444.2 MB, free: 13.88 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008931/0.3996, allocations: 171.8 kB / 444.4 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01412/0.4137, allocations: 6.592 MB / 451 MB, free: 6.574 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002186/0.414, allocations: 35.7 kB / 451 MB, free: 6.539 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009906/0.415, allocations: 87.89 kB / 451.1 MB, free: 6.453 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002542/0.4176, allocations: 1.323 MB / 452.4 MB, free: 5.133 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01202/0.4296, allocations: 5.851 MB / 458.3 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03899/0.4687, allocations: 28.01 MB / 486.3 MB, free: 2.422 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00646/0.4752, allocations: 2.778 MB / 489 MB, free: 15.49 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/0.4772, allocations: 1.31 MB / 490.3 MB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008817/0.4781, allocations: 0.6278 MB / 491 MB, free: 13.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.181e-05/0.4782, allocations: 47.12 kB / 491 MB, free: 13.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 6.011e-06/0.4782, allocations: 0 / 491 MB, free: 13.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07346/0.5517, allocations: 21.18 MB / 0.5002 GB, free: 8.086 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.5518, allocations: 179.1 kB / 0.5004 GB, free: 7.875 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005068/0.5569, allocations: 2.8 MB / 0.5031 GB, free: 5.059 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004389/0.5574, allocations: 49.7 kB / 0.5031 GB, free: 5.004 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002034/0.5594, allocations: 2.167 MB / 0.5053 GB, free: 2.812 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001065/0.5605, allocations: 0.659 MB / 0.5059 GB, free: 2.148 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002435/0.563, allocations: 0.9965 MB / 0.5069 GB, free: 1.141 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5631, allocations: 301.1 kB / 0.5072 GB, free: 0.8438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003845/0.567, allocations: 2.219 MB / 0.5093 GB, free: 14.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006392/0.5734, allocations: 5.142 MB / 0.5144 GB, free: 8.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01032/0.5837, allocations: 7.951 MB / 0.5221 GB, free: 14.62 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001108/0.5839, allocations: 32 kB / 0.5222 GB, free: 14.59 MB / 462.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02506/0.609, allocations: 10.28 MB / 0.5322 GB, free: 4.277 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001312/0.6091, allocations: 51.94 kB / 0.5322 GB, free: 4.227 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001776/0.6093, allocations: 104 kB / 0.5323 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01218/0.6215, allocations: 3.431 MB / 0.5357 GB, free: 0.668 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2783/0.8999, allocations: 1.077 MB / 0.5367 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01836/0.9183, allocations: 12.84 MB / 0.5493 GB, free: 117.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004014/0.9223, allocations: 338 kB / 0.5496 GB, free: 117.1 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007429/0.9231, allocations: 301.1 kB / 0.5499 GB, free: 117 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 (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.002481/0.9256, allocations: 1.47 MB / 0.5513 GB, free: 116.5 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005839/0.9262, allocations: 265.4 kB / 0.5516 GB, free: 116.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01376/0.94, allocations: 5.997 MB / 0.5574 GB, free: 114.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.641e-05/0.9401, allocations: 27.28 kB / 0.5575 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.269e-05/0.9401, allocations: 15.61 kB / 0.5575 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.102e-05/0.9402, allocations: 7.969 kB / 0.5575 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02438/0.9645, allocations: 13.21 MB / 0.5704 GB, free: 100.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.161e-05/0.9646, allocations: 0 / 0.5704 GB, free: 100.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001075/0.9657, allocations: 227.7 kB / 0.5706 GB, free: 100.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01072/0.9764, allocations: 4.011 MB / 0.5745 GB, free: 96.67 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003412/0.9768, allocations: 51.89 kB / 0.5746 GB, free: 96.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01517/0.992, allocations: 12.84 MB / 0.5871 GB, free: 83.72 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.9921, allocations: 4 kB / 0.5871 GB, free: 83.72 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0177/1.01, allocations: 10.09 MB / 0.597 GB, free: 73.67 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007836/1.011, allocations: 318.4 kB / 0.5973 GB, free: 73.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004106/1.011, allocations: 39.98 kB / 0.5973 GB, free: 73.31 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001575/1.013, allocations: 183.7 kB / 0.5975 GB, free: 73.13 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004646/1.013, allocations: 120.1 kB / 0.5976 GB, free: 73.02 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001478/1.013, allocations: 55.97 kB / 0.5976 GB, free: 72.96 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002048/1.015, allocations: 1.73 MB / 0.5993 GB, free: 71.22 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1.015, allocations: 4 kB / 0.5993 GB, free: 71.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004089/1.019, allocations: 0.8072 MB / 0.6001 GB, free: 70.42 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.01764/1.037, allocations: 10.73 MB / 0.6106 GB, free: 59.65 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.009235/1.046, allocations: 6.262 MB / 0.6167 GB, free: 53.27 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/1.046, allocations: 8 kB / 0.6167 GB, free: 53.26 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004332/1.051, allocations: 2.902 MB / 0.6196 GB, free: 50.23 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002033/1.053, allocations: 301.2 kB / 0.6199 GB, free: 49.94 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06346/1.116, allocations: 42.37 MB / 0.6612 GB, free: 3.293 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001916/1.118, allocations: 2.326 MB / 0.6635 GB, free: 0.9336 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003001/1.121, allocations: 1.503 MB / 0.665 GB, free: 15.43 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001635/1.123, allocations: 1.12 MB / 0.6661 GB, free: 14.3 MB / 478.1 MB Notification: Performance of SimCode: time 1.042e-06/1.123, allocations: 3.938 kB / 0.6661 GB, free: 14.3 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3462/1.469, allocations: 61.8 MB / 0.7264 GB, free: 184.7 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.44/16.91, allocations: 7.594 kB / 0.7264 GB, free: 184.7 MB / 0.5138 GB (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 & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.csv --start-time 0 --stop-time 4 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0016 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.csv","/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