Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001308/0.001308, allocations: 109.5 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001491/0.001491, allocations: 183.9 kB / 23.72 MB, free: 4.699 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.394/1.394, allocations: 225.6 MB / 252.5 MB, free: 13.02 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 39.94 kB / 370.4 MB, free: 9.836 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2547, allocations: 52.2 MB / 422.6 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008843/0.2636, allocations: 7.085 MB / 429.7 MB, free: 7.465 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006116/0.2697, allocations: 3.185 MB / 432.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008706/0.2705, allocations: 35.88 kB / 432.9 MB, free: 4.234 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002152/0.2727, allocations: 0.9184 MB / 433.9 MB, free: 3.312 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003305/0.276, allocations: 1.401 MB / 435.3 MB, free: 1.906 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001082/0.2771, allocations: 0.5264 MB / 435.8 MB, free: 1.379 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003694/0.2808, allocations: 2.73 MB / 438.5 MB, free: 14.64 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002019/0.2828, allocations: 1.227 MB / 439.7 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001557/0.2843, allocations: 0.8836 MB / 440.6 MB, free: 12.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003032/0.2874, allocations: 2.135 MB / 442.8 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005753/0.288, allocations: 180 kB / 442.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002195/0.2902, allocations: 1.026 MB / 444 MB, free: 9.172 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001597/0.2917, allocations: 1.157 MB / 445.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002122/0.2939, allocations: 1.309 MB / 446.4 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006152/0.3, allocations: 4.459 MB / 450.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.404e-06/0.3, allocations: 0 / 450.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3, allocations: 0 / 450.9 MB, free: 2.223 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001696/0.3002, allocations: 0 / 450.9 MB, free: 2.223 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.00941/0.3096, allocations: 3.282 MB / 454.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.762e-05/0.3097, allocations: 8.031 kB / 454.2 MB, free: 14.89 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00115/0.3108, allocations: 466.2 kB / 454.6 MB, free: 14.42 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006054/0.3169, allocations: 1.676 MB / 456.3 MB, free: 12.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004006/0.3209, allocations: 1.778 MB / 458.1 MB, free: 10.93 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001365/0.321, allocations: 131.2 kB / 458.2 MB, free: 10.8 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005578/0.3216, allocations: 171.8 kB / 458.4 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0107/0.3323, allocations: 6.596 MB / 465 MB, free: 3.5 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.888e-05/0.3324, allocations: 27.75 kB / 465 MB, free: 3.473 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004031/0.3328, allocations: 91.89 kB / 465.1 MB, free: 3.383 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002048/0.3348, allocations: 1.327 MB / 466.4 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01118/0.346, allocations: 5.835 MB / 472.3 MB, free: 12.21 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03721/0.3832, allocations: 27.91 MB / 0.4885 GB, free: 15.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005978/0.3892, allocations: 2.255 MB / 0.4907 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001697/0.3909, allocations: 1.224 MB / 0.4918 GB, free: 11.91 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000536/0.3914, allocations: 192.1 kB / 0.492 GB, free: 11.72 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.778e-05/0.3915, allocations: 43.06 kB / 0.4921 GB, free: 11.67 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.94e-06/0.3915, allocations: 0 / 0.4921 GB, free: 11.67 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07267/0.4641, allocations: 20.93 MB / 0.5125 GB, free: 6.691 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001377/0.4643, allocations: 167.2 kB / 0.5127 GB, free: 6.488 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00553/0.4698, allocations: 2.809 MB / 0.5154 GB, free: 3.664 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003535/0.4702, allocations: 53.64 kB / 0.5155 GB, free: 3.605 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002009/0.4722, allocations: 2.163 MB / 0.5176 GB, free: 1.418 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000958/0.4731, allocations: 0.6628 MB / 0.5182 GB, free: 0.75 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002147/0.4753, allocations: 1 MB / 0.5192 GB, free: 15.74 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.4754, allocations: 317.1 kB / 0.5195 GB, free: 15.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003619/0.479, allocations: 2.215 MB / 0.5217 GB, free: 13.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006559/0.4856, allocations: 5.138 MB / 0.5267 GB, free: 6.609 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0107/0.4963, allocations: 7.954 MB / 0.5345 GB, free: 13.21 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.854e-05/0.4964, allocations: 32 kB / 0.5345 GB, free: 13.18 MB / 462.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.0251/0.5215, allocations: 10.25 MB / 0.5445 GB, free: 2.906 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.5216, allocations: 48 kB / 0.5445 GB, free: 2.859 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001741/0.5218, allocations: 107.9 kB / 0.5446 GB, free: 2.754 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.2553/0.7771, allocations: 3.421 MB / 0.548 GB, free: 119.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003417/0.7806, allocations: 1.088 MB / 0.549 GB, free: 119.3 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0158/0.7964, allocations: 12.74 MB / 0.5615 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003493/0.7999, allocations: 341 kB / 0.5618 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005441/0.8004, allocations: 305.2 kB / 0.5621 GB, free: 114.2 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.001808/0.8022, allocations: 1.459 MB / 0.5635 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004348/0.8026, allocations: 264.2 kB / 0.5638 GB, free: 113.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01322/0.8159, allocations: 5.973 MB / 0.5696 GB, free: 110.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.251e-05/0.8159, allocations: 27.98 kB / 0.5696 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.203e-05/0.8159, allocations: 8 kB / 0.5696 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.949e-05/0.816, allocations: 7.922 kB / 0.5697 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02318/0.8391, allocations: 13.19 MB / 0.5825 GB, free: 97.34 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.267e-05/0.8392, allocations: 7.828 kB / 0.5825 GB, free: 97.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/0.8402, allocations: 227.7 kB / 0.5828 GB, free: 97.12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01039/0.8506, allocations: 4.014 MB / 0.5867 GB, free: 93.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003422/0.8509, allocations: 53.89 kB / 0.5867 GB, free: 93.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01451/0.8654, allocations: 12.71 MB / 0.5991 GB, free: 80.3 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/0.8654, allocations: 256 / 0.5991 GB, free: 80.3 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/0.8827, allocations: 10.08 MB / 0.609 GB, free: 70.27 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007063/0.8834, allocations: 241.5 kB / 0.6092 GB, free: 70.05 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007017/0.8841, allocations: 43.81 kB / 0.6093 GB, free: 70.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001839/0.8859, allocations: 183.7 kB / 0.6094 GB, free: 69.83 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004252/0.8863, allocations: 124.6 kB / 0.6096 GB, free: 69.71 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001736/0.8865, allocations: 51.97 kB / 0.6096 GB, free: 69.66 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002492/0.889, allocations: 1.738 MB / 0.6113 GB, free: 67.91 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.889, allocations: 0 / 0.6113 GB, free: 67.91 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004517/0.8935, allocations: 0.8227 MB / 0.6121 GB, free: 67.09 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.01727/0.9108, allocations: 10.7 MB / 0.6225 GB, free: 56.34 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/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 4.0.0+maint.om/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.008231/0.919, allocations: 5.576 MB / 0.628 GB, free: 50.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.499e-06/0.919, allocations: 0 / 0.628 GB, free: 50.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003883/0.9229, allocations: 2.261 MB / 0.6302 GB, free: 48.48 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002244/0.9251, allocations: 310.3 kB / 0.6305 GB, free: 48.18 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06241/0.9876, allocations: 42.39 MB / 0.6719 GB, free: 1.516 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002648/0.9902, allocations: 2.319 MB / 0.6742 GB, free: 15.17 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003608/0.9938, allocations: 1.511 MB / 0.6756 GB, free: 13.65 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002017/0.9958, allocations: 1.132 MB / 0.6767 GB, free: 12.52 MB / 478.1 MB Notification: Performance of SimCode: time 1.022e-06/0.9958, allocations: 0 / 0.6767 GB, free: 12.52 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1497/1.146, allocations: 67.5 MB / 0.7427 GB, free: 9.355 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.93/18.07, allocations: 4 kB / 0.7427 GB, free: 9.352 MB / 0.5294 GB " [Timeout remaining time 642] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 20.93397451308556]