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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00108/0.001081, allocations: 90.3 kB / 16.65 MB, free: 6.535 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001237/0.001237, allocations: 176.9 kB / 17.56 MB, free: 6.18 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.386/1.386, allocations: 223.3 MB / 241.6 MB, free: 14.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002733/0.0002733, allocations: 4 kB / 301.5 MB, free: 5.801 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.103, allocations: 50.41 MB / 351.9 MB, free: 3.375 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01359/0.1166, allocations: 13.44 MB / 365.4 MB, free: 5.875 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.009093/0.1258, allocations: 4.343 MB / 369.7 MB, free: 1.52 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/0.1283, allocations: 51.88 kB / 369.8 MB, free: 1.469 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.1294, allocations: 270.8 kB / 370 MB, free: 1.203 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.1976/0.327, allocations: 1.282 MB / 371.3 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001282/0.3284, allocations: 487 kB / 371.8 MB, free: 8.773 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00594/0.3343, allocations: 4.735 MB / 376.5 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002334/0.3367, allocations: 1.643 MB / 378.2 MB, free: 8.547 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001102/0.3378, allocations: 0.6635 MB / 378.8 MB, free: 8.523 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001467/0.3393, allocations: 1.24 MB / 380.1 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002051/0.3395, allocations: 84.59 kB / 380.2 MB, free: 8.383 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001717/0.3412, allocations: 0.952 MB / 381.1 MB, free: 8.379 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009461/0.3422, allocations: 1.063 MB / 382.2 MB, free: 8.258 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009607/0.3431, allocations: 1.233 MB / 383.4 MB, free: 7.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003499/0.3466, allocations: 4.135 MB / 387.5 MB, free: 5.887 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.3466, allocations: 1 kB / 387.6 MB, free: 5.887 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3466, allocations: 0 / 387.6 MB, free: 5.887 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.178e-05/0.3467, allocations: 0 / 387.6 MB, free: 5.887 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.005213/0.3519, allocations: 2.745 MB / 390.3 MB, free: 4.16 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.352, allocations: 9.219 kB / 390.3 MB, free: 4.16 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004893/0.3525, allocations: 463.4 kB / 390.8 MB, free: 4.012 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005705/0.3582, allocations: 1.711 MB / 392.5 MB, free: 3.207 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002723/0.3609, allocations: 1.822 MB / 394.3 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.808e-05/0.361, allocations: 124.2 kB / 394.4 MB, free: 2.324 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002996/0.3613, allocations: 172.5 kB / 394.6 MB, free: 2.285 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008555/0.3699, allocations: 6.601 MB / 401.2 MB, free: 13.12 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.422e-05/0.37, allocations: 31.84 kB / 401.2 MB, free: 13.11 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002458/0.3702, allocations: 89.06 kB / 401.3 MB, free: 13.05 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001985/0.3722, allocations: 1.335 MB / 402.6 MB, free: 11.74 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01062/0.3828, allocations: 5.849 MB / 408.5 MB, free: 6.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03727/0.4202, allocations: 28.09 MB / 436.6 MB, free: 9.258 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00609/0.4263, allocations: 2.749 MB / 439.3 MB, free: 6.367 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001611/0.4279, allocations: 1.274 MB / 440.6 MB, free: 5.086 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006722/0.4286, allocations: 0.6405 MB / 441.2 MB, free: 4.34 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.309e-05/0.4287, allocations: 39.12 kB / 441.3 MB, free: 4.293 MB / 350.1 MB Notification: Performance of pre-optimization done (n=120): time 3.667e-06/0.4287, allocations: 0 / 441.3 MB, free: 4.293 MB / 350.1 MB Notification: Performance of matching and sorting (n=154): time 0.07292/0.5016, allocations: 20.61 MB / 461.9 MB, free: 15.6 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.315e-05/0.5018, allocations: 141.5 kB / 462 MB, free: 15.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005385/0.5072, allocations: 2.848 MB / 464.9 MB, free: 12.57 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004191/0.5076, allocations: 49.7 kB / 464.9 MB, free: 12.52 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001729/0.5094, allocations: 2.103 MB / 467 MB, free: 10.41 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009432/0.5103, allocations: 0.6039 MB / 467.6 MB, free: 9.816 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001072/0.5114, allocations: 412.7 kB / 468 MB, free: 9.406 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.298e-05/0.5115, allocations: 313 kB / 468.3 MB, free: 9.098 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003737/0.5153, allocations: 2.208 MB / 470.5 MB, free: 6.883 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005971/0.5212, allocations: 5.176 MB / 475.7 MB, free: 240 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/0.5318, allocations: 7.976 MB / 483.7 MB, free: 6.801 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001166/0.532, allocations: 32 kB / 483.7 MB, free: 6.77 MB / 398.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02564/0.5577, allocations: 10.3 MB / 494 MB, free: 12.44 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.5579, allocations: 52 kB / 494.1 MB, free: 12.39 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000191/0.5581, allocations: 104 kB / 494.2 MB, free: 12.29 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01255/0.5706, allocations: 3.5 MB / 497.7 MB, free: 8.762 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00389/0.5746, allocations: 1.099 MB / 498.8 MB, free: 7.66 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01977/0.5944, allocations: 12.05 MB / 0.4989 GB, free: 11.48 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004543/0.5989, allocations: 339.4 kB / 0.4992 GB, free: 11.14 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001087/0.6, allocations: 304 kB / 0.4995 GB, free: 10.85 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * 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 (581): * Single equations (assignments): 571 * Array equations: 3 * 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.003656/0.6037, allocations: 1.468 MB / 0.5009 GB, free: 9.371 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007249/0.6045, allocations: 248.8 kB / 0.5011 GB, free: 9.125 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01677/0.6212, allocations: 6.037 MB / 0.507 GB, free: 3.051 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.132e-05/0.6213, allocations: 16 kB / 0.507 GB, free: 3.035 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.042e-05/0.6214, allocations: 8 kB / 0.5071 GB, free: 3.027 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.832e-05/0.6214, allocations: 15.91 kB / 0.5071 GB, free: 3.012 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03159/0.653, allocations: 13.2 MB / 0.52 GB, free: 5.762 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.855e-05/0.6531, allocations: 12.11 kB / 0.52 GB, free: 5.75 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00123/0.6543, allocations: 227.7 kB / 0.5202 GB, free: 5.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01352/0.6679, allocations: 4.135 MB / 0.5242 GB, free: 1.367 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000405/0.6683, allocations: 47.95 kB / 0.5243 GB, free: 1.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2141/0.8824, allocations: 12.09 MB / 0.5361 GB, free: 146.8 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.8825, allocations: 0.9688 kB / 0.5361 GB, free: 146.8 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02116/0.9036, allocations: 9.955 MB / 0.5458 GB, free: 143.7 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008038/0.9045, allocations: 309 kB / 0.5461 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004122/0.9049, allocations: 37.12 kB / 0.5461 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/0.9065, allocations: 181.8 kB / 0.5463 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004535/0.907, allocations: 111.9 kB / 0.5464 GB, free: 143.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001371/0.9071, allocations: 47.3 kB / 0.5465 GB, free: 143.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002333/0.9094, allocations: 1.766 MB / 0.5482 GB, free: 142.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.41e-07/0.9095, allocations: 0 / 0.5482 GB, free: 142.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003785/0.9132, allocations: 0.8263 MB / 0.549 GB, free: 142.8 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (104): * Single equations (assignments): 94 * Array equations: 3 * 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.01883/0.9321, allocations: 10.57 MB / 0.5593 GB, free: 136.8 MB / 446.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.009587/0.9417, allocations: 6.213 MB / 0.5654 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.9417, allocations: 0 / 0.5654 GB, free: 130.6 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004458/0.9462, allocations: 2.863 MB / 0.5682 GB, free: 127.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00232/0.9485, allocations: 289.8 kB / 0.5685 GB, free: 127.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07037/1.019, allocations: 46.19 MB / 0.6136 GB, free: 75.58 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001707/1.021, allocations: 2.314 MB / 0.6158 GB, free: 73.24 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.003135/1.024, allocations: 1.523 MB / 0.6173 GB, free: 71.71 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001332/1.025, allocations: 1.128 MB / 0.6184 GB, free: 70.58 MB / 446.1 MB Notification: Performance of SimCode: time 1.402e-06/1.025, allocations: 0 / 0.6184 GB, free: 70.58 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08367/1.109, allocations: 62.92 MB / 0.6799 GB, free: 8 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000138/1.109, allocations: 243 kB / 0.6801 GB, free: 7.742 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.505/4.614, allocations: 0 / 0.6801 GB, free: 7.742 MB / 446.1 MB (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 --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) 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) Reference file matches