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.001113/0.001113, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001201/0.001201, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.495/1.495, allocations: 227.4 MB / 246.8 MB, free: 10.51 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 60.09 kB / 307.1 MB, free: 0.4961 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09203/0.09337, allocations: 50.53 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008478/0.1019, allocations: 7.016 MB / 364.6 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005983/0.1079, allocations: 3.161 MB / 367.8 MB, free: 3.75 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008942/0.1089, allocations: 31.88 kB / 367.8 MB, free: 3.719 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002033/0.111, allocations: 0.899 MB / 368.7 MB, free: 2.816 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003291/0.1143, allocations: 1.354 MB / 370 MB, free: 1.461 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001096/0.1154, allocations: 0.5108 MB / 370.6 MB, free: 0.9492 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.1679/0.2833, allocations: 2.752 MB / 373.3 MB, free: 9.887 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002227/0.2855, allocations: 1.327 MB / 374.6 MB, free: 9.805 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001585/0.2871, allocations: 0.8544 MB / 375.5 MB, free: 9.715 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002879/0.29, allocations: 2.128 MB / 377.6 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000735/0.2908, allocations: 178.8 kB / 377.8 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.2928, allocations: 0.9565 MB / 378.7 MB, free: 9.559 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.294, allocations: 1.115 MB / 379.9 MB, free: 9.441 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001283/0.2953, allocations: 1.296 MB / 381.2 MB, free: 8.926 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005084/0.3004, allocations: 4.222 MB / 385.4 MB, free: 7.602 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.364e-06/0.3004, allocations: 4 kB / 385.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.3004, allocations: 0 / 385.4 MB, free: 7.598 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001388/0.3006, allocations: 0 / 385.4 MB, free: 7.598 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.01084/0.3114, allocations: 3.355 MB / 388.7 MB, free: 5.676 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.792e-05/0.3115, allocations: 13.45 kB / 388.7 MB, free: 5.672 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008024/0.3123, allocations: 468.6 kB / 389.2 MB, free: 5.375 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006212/0.3185, allocations: 1.659 MB / 390.9 MB, free: 4.523 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003822/0.3224, allocations: 1.713 MB / 392.6 MB, free: 3.527 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.865e-05/0.3225, allocations: 126.6 kB / 392.7 MB, free: 3.492 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004232/0.3229, allocations: 173.8 kB / 392.9 MB, free: 3.453 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008674/0.3316, allocations: 6.595 MB / 399.5 MB, free: 15.3 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.643e-05/0.3317, allocations: 41.78 kB / 399.5 MB, free: 15.27 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000266/0.332, allocations: 85.14 kB / 399.6 MB, free: 15.22 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002076/0.3341, allocations: 1.327 MB / 400.9 MB, free: 13.91 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01001/0.3441, allocations: 5.841 MB / 406.8 MB, free: 8.215 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0331/0.3772, allocations: 28.04 MB / 434.8 MB, free: 11.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00653/0.3838, allocations: 2.79 MB / 437.6 MB, free: 8.539 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001715/0.3856, allocations: 1.302 MB / 438.9 MB, free: 7.223 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007024/0.3863, allocations: 0.6336 MB / 439.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.443e-05/0.3863, allocations: 51.06 kB / 439.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of pre-optimization done (n=129): time 3.397e-06/0.3863, allocations: 0 / 439.6 MB, free: 6.43 MB / 350.1 MB Notification: Performance of matching and sorting (n=163): time 0.07593/0.4623, allocations: 20.99 MB / 460.6 MB, free: 1.348 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.585e-05/0.4624, allocations: 175.2 kB / 460.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004197/0.4666, allocations: 2.8 MB / 463.5 MB, free: 14.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002494/0.4669, allocations: 45.7 kB / 463.6 MB, free: 14.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001496/0.4684, allocations: 2.075 MB / 465.7 MB, free: 12.2 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007951/0.4692, allocations: 0.63 MB / 466.3 MB, free: 11.57 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00164/0.4708, allocations: 0.994 MB / 467.3 MB, free: 10.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.503e-05/0.4709, allocations: 305.1 kB / 467.6 MB, free: 10.27 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003201/0.4742, allocations: 2.219 MB / 469.8 MB, free: 8.043 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00584/0.48, allocations: 5.141 MB / 474.9 MB, free: 1.453 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01077/0.4908, allocations: 7.946 MB / 482.9 MB, free: 8.074 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001289/0.491, allocations: 36 kB / 482.9 MB, free: 8.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02586/0.5169, allocations: 10.27 MB / 493.2 MB, free: 13.75 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001031/0.517, allocations: 52.94 kB / 493.2 MB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001368/0.5171, allocations: 104 kB / 493.3 MB, free: 13.59 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01243/0.5296, allocations: 3.436 MB / 496.8 MB, free: 10.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003748/0.5334, allocations: 1.088 MB / 497.9 MB, free: 9.047 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01988/0.5533, allocations: 12.85 MB / 0.4987 GB, free: 12.05 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003911/0.5572, allocations: 333.5 kB / 0.4991 GB, free: 11.73 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001021/0.5583, allocations: 308 kB / 0.4994 GB, free: 11.43 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.002861/0.5611, allocations: 1.471 MB / 0.5008 GB, free: 9.945 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006036/0.5618, allocations: 244.8 kB / 0.501 GB, free: 9.703 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01608/0.5778, allocations: 5.995 MB / 0.5069 GB, free: 3.668 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.96e-05/0.5779, allocations: 34.17 kB / 0.5069 GB, free: 3.637 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.443e-05/0.578, allocations: 8 kB / 0.5069 GB, free: 3.629 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.966e-05/0.578, allocations: 3.984 kB / 0.5069 GB, free: 3.625 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02959/0.6076, allocations: 13.23 MB / 0.5198 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.811e-05/0.6076, allocations: 0 / 0.5198 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001108/0.6088, allocations: 231.7 kB / 0.5201 GB, free: 6.125 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01287/0.6216, allocations: 4.023 MB / 0.524 GB, free: 2.078 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003278/0.622, allocations: 44.09 kB / 0.524 GB, free: 2.035 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1758/0.7979, allocations: 12.83 MB / 0.5366 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.977e-06/0.7979, allocations: 5.656 kB / 0.5366 GB, free: 141.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01958/0.8175, allocations: 10.08 MB / 0.5464 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006244/0.8181, allocations: 306.3 kB / 0.5467 GB, free: 138.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004003/0.8186, allocations: 35.25 kB / 0.5467 GB, free: 138.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001515/0.8201, allocations: 187.3 kB / 0.5469 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004151/0.8205, allocations: 109.4 kB / 0.547 GB, free: 138 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001406/0.8206, allocations: 60.12 kB / 0.5471 GB, free: 138 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00219/0.8228, allocations: 1.736 MB / 0.5488 GB, free: 137.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.8229, allocations: 3.875 kB / 0.5488 GB, free: 137.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003794/0.8267, allocations: 0.8073 MB / 0.5496 GB, free: 137.3 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.01804/0.8447, allocations: 10.72 MB / 0.56 GB, free: 131.8 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.009704/0.8544, allocations: 6.784 MB / 0.5667 GB, free: 125 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.8545, allocations: 4 kB / 0.5667 GB, free: 125 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004229/0.8587, allocations: 2.897 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.001886/0.8606, allocations: 299.2 kB / 0.5698 GB, free: 121.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05581/0.9164, allocations: 44.77 MB / 0.6135 GB, free: 71.53 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001683/0.9181, allocations: 2.322 MB / 0.6158 GB, free: 69.18 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002877/0.921, allocations: 1.511 MB / 0.6172 GB, free: 67.66 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001127/0.9222, allocations: 1.126 MB / 0.6183 GB, free: 66.54 MB / 446.1 MB Notification: Performance of SimCode: time 6.01e-07/0.9222, allocations: 0 / 0.6183 GB, free: 66.54 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08353/1.006, allocations: 64.74 MB / 0.6816 GB, free: 2.035 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.9, allocations: 7.938 kB / 0.6816 GB, free: 2.027 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 & 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