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.001489/0.001489, allocations: 118.8 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001635/0.001635, allocations: 198 kB / 18.73 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.583/1.583, allocations: 227.4 MB / 246.9 MB, free: 10.47 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002013/0.002013, allocations: 67.89 kB / 358.2 MB, free: 13.4 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3456/0.3476, allocations: 50.54 MB / 408.8 MB, free: 1.504 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009577/0.3572, allocations: 7.022 MB / 415.8 MB, free: 10.45 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006943/0.3642, allocations: 3.154 MB / 418.9 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007947/0.3651, allocations: 35.88 kB / 419 MB, free: 7.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002101/0.3672, allocations: 0.8835 MB / 419.9 MB, free: 6.367 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003666/0.3709, allocations: 1.351 MB / 421.2 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001251/0.3722, allocations: 0.5186 MB / 421.7 MB, free: 4.492 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004088/0.3763, allocations: 2.758 MB / 424.5 MB, free: 1.73 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001995/0.3783, allocations: 1.314 MB / 425.8 MB, free: 404 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001731/0.3801, allocations: 0.8564 MB / 426.7 MB, free: 15.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00309/0.3832, allocations: 2.132 MB / 428.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005949/0.3838, allocations: 180 kB / 429 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00212/0.386, allocations: 0.9515 MB / 429.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001279/0.3873, allocations: 1.11 MB / 431 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00167/0.3889, allocations: 1.297 MB / 432.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00603/0.395, allocations: 4.419 MB / 436.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.395, allocations: 0 / 436.7 MB, free: 5.418 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.395, allocations: 4 kB / 436.7 MB, free: 5.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001027/0.3951, allocations: 0 / 436.7 MB, free: 5.414 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.0105/0.4056, allocations: 3.444 MB / 440.2 MB, free: 1.906 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/0.4057, allocations: 8.031 kB / 440.2 MB, free: 1.898 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009811/0.4067, allocations: 462.3 kB / 440.6 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006354/0.4131, allocations: 1.68 MB / 442.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004029/0.4172, allocations: 1.729 MB / 444.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001282/0.4173, allocations: 127.2 kB / 444.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005491/0.4179, allocations: 167.9 kB / 444.3 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01249/0.4304, allocations: 6.6 MB / 450.9 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001142/0.4305, allocations: 39.69 kB / 451 MB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003629/0.4309, allocations: 87.89 kB / 451.1 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00234/0.4333, allocations: 1.331 MB / 452.4 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01223/0.4455, allocations: 5.84 MB / 458.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05195/0.4975, allocations: 28 MB / 486.2 MB, free: 2.398 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009945/0.5075, allocations: 2.782 MB / 489 MB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002775/0.5103, allocations: 1.302 MB / 490.3 MB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/0.5116, allocations: 0.6317 MB / 491 MB, free: 13.4 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.384e-05/0.5117, allocations: 51.06 kB / 491 MB, free: 13.34 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 6.473e-06/0.5117, allocations: 0 / 491 MB, free: 13.34 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.08161/0.5933, allocations: 21.17 MB / 0.5002 GB, free: 8.059 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/0.5935, allocations: 171.2 kB / 0.5003 GB, free: 7.855 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004358/0.5979, allocations: 2.8 MB / 0.5031 GB, free: 5.039 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003804/0.5983, allocations: 49.7 kB / 0.5031 GB, free: 4.984 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001998/0.6003, allocations: 2.167 MB / 0.5052 GB, free: 2.793 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009754/0.6013, allocations: 0.6589 MB / 0.5059 GB, free: 2.129 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001577/0.6029, allocations: 1 MB / 0.5069 GB, free: 1.117 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.603, allocations: 301.1 kB / 0.5071 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003585/0.6066, allocations: 2.227 MB / 0.5093 GB, free: 14.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00635/0.613, allocations: 5.135 MB / 0.5143 GB, free: 7.996 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0119/0.6249, allocations: 7.954 MB / 0.5221 GB, free: 14.6 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001048/0.6251, allocations: 28 kB / 0.5221 GB, free: 14.57 MB / 462.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02671/0.6518, allocations: 10.28 MB / 0.5322 GB, free: 4.258 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.701e-05/0.6519, allocations: 51.94 kB / 0.5322 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001319/0.6521, allocations: 108.1 kB / 0.5323 GB, free: 4.102 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01221/0.6643, allocations: 3.427 MB / 0.5357 GB, free: 0.6484 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2755/0.9398, allocations: 1.075 MB / 0.5367 GB, free: 122.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01813/0.958, allocations: 12.84 MB / 0.5493 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003963/0.962, allocations: 334.7 kB / 0.5496 GB, free: 116.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005119/0.9625, allocations: 313.1 kB / 0.5499 GB, free: 116.9 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.001958/0.9645, allocations: 1.46 MB / 0.5513 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004633/0.9649, allocations: 270 kB / 0.5516 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01369/0.9786, allocations: 5.992 MB / 0.5574 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.759e-05/0.9788, allocations: 35.81 kB / 0.5574 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.252e-05/0.9788, allocations: 8 kB / 0.5575 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-05/0.9788, allocations: 7.594 kB / 0.5575 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02504/1.004, allocations: 13.22 MB / 0.5704 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.689e-05/1.004, allocations: 0 / 0.5704 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/1.005, allocations: 235.7 kB / 0.5706 GB, free: 100.5 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01094/1.016, allocations: 4.015 MB / 0.5745 GB, free: 96.53 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003435/1.016, allocations: 58.48 kB / 0.5746 GB, free: 96.48 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01525/1.032, allocations: 12.83 MB / 0.5871 GB, free: 83.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-06/1.032, allocations: 6 kB / 0.5871 GB, free: 83.59 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01797/1.05, allocations: 10.09 MB / 0.597 GB, free: 73.54 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006713/1.05, allocations: 322.3 kB / 0.5973 GB, free: 73.22 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004/1.051, allocations: 31.98 kB / 0.5973 GB, free: 73.19 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001646/1.052, allocations: 187.7 kB / 0.5975 GB, free: 73 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004566/1.053, allocations: 120.2 kB / 0.5976 GB, free: 72.89 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001474/1.053, allocations: 55.97 kB / 0.5976 GB, free: 72.83 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002302/1.055, allocations: 1.73 MB / 0.5993 GB, free: 71.09 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.5e-07/1.055, allocations: 0 / 0.5993 GB, free: 71.09 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003924/1.059, allocations: 0.8049 MB / 0.6001 GB, free: 70.29 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.01812/1.077, allocations: 10.73 MB / 0.6106 GB, free: 59.52 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.009144/1.087, allocations: 6.258 MB / 0.6167 GB, free: 53.14 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.133e-06/1.087, allocations: 0 / 0.6167 GB, free: 53.14 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004358/1.091, allocations: 2.904 MB / 0.6195 GB, free: 50.1 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/1.093, allocations: 307.1 kB / 0.6198 GB, free: 49.82 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06228/1.155, allocations: 42.37 MB / 0.6612 GB, free: 3.164 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001771/1.157, allocations: 2.31 MB / 0.6635 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003047/1.16, allocations: 1.511 MB / 0.6649 GB, free: 15.3 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001729/1.162, allocations: 1.128 MB / 0.666 GB, free: 14.18 MB / 478.1 MB Notification: Performance of SimCode: time 2.996e-06/1.162, allocations: 0 / 0.666 GB, free: 14.18 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3826/1.545, allocations: 61.8 MB / 0.7264 GB, free: 179.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.02/17.56, allocations: 7.5 kB / 0.7264 GB, free: 179.8 MB / 0.5137 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.1.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