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.001208/0.001208, allocations: 122.2 kB / 17.79 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 201.2 kB / 18.74 MB, free: 4.32 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.431/1.431, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.0013, allocations: 63.89 kB / 358.2 MB, free: 13.42 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2766/0.278, allocations: 50.54 MB / 408.8 MB, free: 1.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008484/0.2865, allocations: 7.018 MB / 415.8 MB, free: 10.48 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006171/0.2927, allocations: 3.146 MB / 418.9 MB, free: 7.324 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.2939, allocations: 31.94 kB / 419 MB, free: 7.293 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002297/0.2962, allocations: 0.9067 MB / 419.9 MB, free: 6.383 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003641/0.2999, allocations: 1.366 MB / 421.2 MB, free: 5.016 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001278/0.3012, allocations: 0.5147 MB / 421.7 MB, free: 4.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004086/0.3053, allocations: 2.759 MB / 424.5 MB, free: 1.734 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002318/0.3076, allocations: 1.318 MB / 425.8 MB, free: 404 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00183/0.3095, allocations: 0.868 MB / 426.7 MB, free: 15.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002954/0.3125, allocations: 2.128 MB / 428.8 MB, free: 13.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006873/0.3132, allocations: 180 kB / 429 MB, free: 13.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002075/0.3153, allocations: 0.9516 MB / 429.9 MB, free: 12.26 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001639/0.3169, allocations: 1.118 MB / 431.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002462/0.3194, allocations: 1.293 MB / 432.4 MB, free: 9.84 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006087/0.3255, allocations: 4.411 MB / 436.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.3255, allocations: 0 / 436.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.454e-06/0.3255, allocations: 0 / 436.8 MB, free: 5.414 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001564/0.3257, allocations: 0 / 436.8 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.01009/0.3358, allocations: 3.448 MB / 440.2 MB, free: 1.902 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.3359, allocations: 12.02 kB / 440.2 MB, free: 1.891 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001151/0.337, allocations: 462.3 kB / 440.7 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006371/0.3434, allocations: 1.676 MB / 442.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004371/0.3478, allocations: 1.729 MB / 444.1 MB, free: 13.97 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.348, allocations: 127.2 kB / 444.2 MB, free: 13.85 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006337/0.3486, allocations: 175.8 kB / 444.4 MB, free: 13.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01114/0.3598, allocations: 6.588 MB / 451 MB, free: 6.547 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001191/0.3599, allocations: 39.69 kB / 451 MB, free: 6.508 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000499/0.3604, allocations: 87.89 kB / 451.1 MB, free: 6.422 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002062/0.3625, allocations: 1.331 MB / 452.4 MB, free: 5.094 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01059/0.3731, allocations: 5.843 MB / 458.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03713/0.4103, allocations: 28 MB / 486.3 MB, free: 2.395 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006356/0.4167, allocations: 2.788 MB / 489.1 MB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.4184, allocations: 1.302 MB / 490.4 MB, free: 14.14 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007952/0.4192, allocations: 0.6357 MB / 491 MB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.4193, allocations: 51.06 kB / 491 MB, free: 13.33 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.398e-06/0.4193, allocations: 0 / 491 MB, free: 13.33 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07365/0.4929, allocations: 21.16 MB / 0.5002 GB, free: 8.059 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.916e-05/0.4931, allocations: 183.2 kB / 0.5004 GB, free: 7.844 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004359/0.4974, allocations: 2.8 MB / 0.5031 GB, free: 5.027 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003079/0.4978, allocations: 45.7 kB / 0.5032 GB, free: 4.977 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001546/0.4993, allocations: 2.163 MB / 0.5053 GB, free: 2.789 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008248/0.5002, allocations: 0.659 MB / 0.5059 GB, free: 2.125 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001816/0.502, allocations: 1 MB / 0.5069 GB, free: 1.113 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001335/0.5022, allocations: 301.1 kB / 0.5072 GB, free: 0.8164 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00346/0.5056, allocations: 2.219 MB / 0.5093 GB, free: 14.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005648/0.5113, allocations: 5.146 MB / 0.5144 GB, free: 7.988 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009934/0.5212, allocations: 7.947 MB / 0.5221 GB, free: 14.59 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000119/0.5214, allocations: 32 kB / 0.5222 GB, free: 14.56 MB / 462.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02653/0.5479, allocations: 10.29 MB / 0.5322 GB, free: 4.242 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002775/0.5483, allocations: 51.94 kB / 0.5323 GB, free: 4.191 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004075/0.5487, allocations: 104 kB / 0.5324 GB, free: 4.09 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01217/0.5609, allocations: 3.424 MB / 0.5357 GB, free: 0.6406 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2295/0.7904, allocations: 1.075 MB / 0.5367 GB, free: 122.2 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01884/0.8093, allocations: 12.85 MB / 0.5493 GB, free: 117.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00439/0.8137, allocations: 332.5 kB / 0.5496 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001023/0.8148, allocations: 302.4 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.002911/0.8177, allocations: 1.469 MB / 0.5513 GB, free: 116.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006789/0.8184, allocations: 265.8 kB / 0.5516 GB, free: 116.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01435/0.8328, allocations: 5.995 MB / 0.5574 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.869e-05/0.8329, allocations: 33.38 kB / 0.5575 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.069e-05/0.8329, allocations: 11.61 kB / 0.5575 GB, free: 114 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.709e-05/0.8329, allocations: 7.969 kB / 0.5575 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02647/0.8594, allocations: 13.21 MB / 0.5704 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.203e-05/0.8595, allocations: 0 / 0.5704 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001112/0.8606, allocations: 231.6 kB / 0.5706 GB, free: 100.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01118/0.8718, allocations: 4.018 MB / 0.5745 GB, free: 96.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003473/0.8722, allocations: 47.89 kB / 0.5746 GB, free: 96.55 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01576/0.888, allocations: 12.84 MB / 0.5871 GB, free: 83.64 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.888, allocations: 0.875 kB / 0.5871 GB, free: 83.64 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01781/0.9058, allocations: 10.08 MB / 0.597 GB, free: 73.6 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000759/0.9066, allocations: 322.3 kB / 0.5973 GB, free: 73.27 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007797/0.9074, allocations: 39.98 kB / 0.5973 GB, free: 73.23 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/0.9094, allocations: 187.4 kB / 0.5975 GB, free: 73.05 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004586/0.9099, allocations: 116.7 kB / 0.5976 GB, free: 72.94 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001905/0.9101, allocations: 51.97 kB / 0.5977 GB, free: 72.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002751/0.9129, allocations: 1.734 MB / 0.5994 GB, free: 71.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.663e-06/0.9129, allocations: 0 / 0.5994 GB, free: 71.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004268/0.9172, allocations: 0.8108 MB / 0.6001 GB, free: 70.34 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.01836/0.9356, allocations: 10.74 MB / 0.6106 GB, free: 59.56 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.009628/0.9452, allocations: 6.252 MB / 0.6167 GB, free: 53.19 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.9452, allocations: 0 / 0.6167 GB, free: 53.19 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004656/0.9499, allocations: 2.902 MB / 0.6196 GB, free: 50.15 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002477/0.9524, allocations: 306.4 kB / 0.6199 GB, free: 49.87 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06721/1.02, allocations: 42.38 MB / 0.6612 GB, free: 3.215 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002883/1.023, allocations: 2.314 MB / 0.6635 GB, free: 0.8672 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003416/1.026, allocations: 1.511 MB / 0.665 GB, free: 15.35 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001911/1.028, allocations: 1.116 MB / 0.6661 GB, free: 14.23 MB / 478.1 MB Notification: Performance of SimCode: time 1.783e-06/1.028, allocations: 11.88 kB / 0.6661 GB, free: 14.22 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3465/1.374, allocations: 61.8 MB / 0.7264 GB, free: 176.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.82/16.19, allocations: 3.969 kB / 0.7264 GB, free: 176.2 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.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