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.001259/0.001259, allocations: 121.1 kB / 17.79 MB, free: 5.273 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001274/0.001274, allocations: 203.8 kB / 18.74 MB, free: 4.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.4 MB / 247 MB, free: 10.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001799/0.001799, allocations: 67.89 kB / 358.3 MB, free: 13.34 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3112/0.313, allocations: 50.55 MB / 408.8 MB, free: 1.441 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008441/0.3215, allocations: 7.018 MB / 415.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005934/0.3274, allocations: 3.154 MB / 419 MB, free: 7.227 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000705/0.3282, allocations: 27.94 kB / 419 MB, free: 7.199 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.33, allocations: 0.899 MB / 419.9 MB, free: 6.297 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002765/0.3328, allocations: 1.343 MB / 421.3 MB, free: 4.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.3339, allocations: 0.5186 MB / 421.8 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003492/0.3374, allocations: 2.755 MB / 424.5 MB, free: 1.672 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001483/0.3389, allocations: 1.322 MB / 425.9 MB, free: 336 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001046/0.34, allocations: 0.8525 MB / 426.7 MB, free: 15.47 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002527/0.3425, allocations: 2.135 MB / 428.9 MB, free: 13.33 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003659/0.3429, allocations: 176 kB / 429 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.3446, allocations: 0.9594 MB / 430 MB, free: 12.2 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001034/0.3456, allocations: 1.106 MB / 431.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001257/0.3469, allocations: 1.305 MB / 432.4 MB, free: 9.777 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004655/0.3515, allocations: 4.407 MB / 436.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3516, allocations: 0 / 436.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3516, allocations: 0 / 436.8 MB, free: 5.355 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.06e-05/0.3516, allocations: 4 kB / 436.8 MB, free: 5.352 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.007395/0.359, allocations: 3.44 MB / 440.3 MB, free: 1.848 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.43e-05/0.3591, allocations: 12.03 kB / 440.3 MB, free: 1.836 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005052/0.3596, allocations: 462.3 kB / 440.7 MB, free: 1.375 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005902/0.3655, allocations: 1.68 MB / 442.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003295/0.3688, allocations: 1.729 MB / 444.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001087/0.369, allocations: 131.2 kB / 444.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003374/0.3693, allocations: 167.8 kB / 444.4 MB, free: 13.62 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009457/0.3788, allocations: 6.596 MB / 451 MB, free: 6.488 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.838e-05/0.3789, allocations: 35.7 kB / 451 MB, free: 6.453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002457/0.3791, allocations: 87.89 kB / 451.1 MB, free: 6.367 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002045/0.3812, allocations: 1.327 MB / 452.5 MB, free: 5.043 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01009/0.3913, allocations: 5.839 MB / 458.3 MB, free: 15.2 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03277/0.4241, allocations: 28 MB / 486.3 MB, free: 2.348 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00618/0.4303, allocations: 2.796 MB / 489.1 MB, free: 15.4 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.4319, allocations: 1.306 MB / 490.4 MB, free: 14.07 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007378/0.4327, allocations: 0.6317 MB / 491 MB, free: 13.32 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.355e-05/0.4327, allocations: 43.12 kB / 491.1 MB, free: 13.27 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.157e-06/0.4328, allocations: 0 / 491.1 MB, free: 13.27 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.06949/0.5023, allocations: 21.18 MB / 0.5003 GB, free: 7.98 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001094/0.5024, allocations: 171.2 kB / 0.5004 GB, free: 7.777 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003761/0.5062, allocations: 2.804 MB / 0.5032 GB, free: 4.957 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002435/0.5064, allocations: 45.7 kB / 0.5032 GB, free: 4.906 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00154/0.508, allocations: 2.171 MB / 0.5053 GB, free: 2.711 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006771/0.5087, allocations: 0.6473 MB / 0.5059 GB, free: 2.059 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001362/0.51, allocations: 1.008 MB / 0.5069 GB, free: 1.039 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.5102, allocations: 301.1 kB / 0.5072 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003154/0.5133, allocations: 2.219 MB / 0.5094 GB, free: 14.52 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005598/0.5189, allocations: 5.142 MB / 0.5144 GB, free: 7.918 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01/0.5289, allocations: 7.952 MB / 0.5222 GB, free: 14.52 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.747e-05/0.5291, allocations: 28 kB / 0.5222 GB, free: 14.5 MB / 462.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02378/0.5528, allocations: 10.28 MB / 0.5322 GB, free: 4.188 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.082e-05/0.553, allocations: 51.94 kB / 0.5323 GB, free: 4.137 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001117/0.5531, allocations: 104 kB / 0.5324 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01197/0.5651, allocations: 3.432 MB / 0.5357 GB, free: 0.5781 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2445/0.8096, allocations: 1.074 MB / 0.5368 GB, free: 122 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/0.8262, allocations: 12.85 MB / 0.5493 GB, free: 117 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003398/0.8296, allocations: 334.2 kB / 0.5497 GB, free: 116.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004329/0.8301, allocations: 304.4 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.001741/0.8318, allocations: 1.464 MB / 0.5514 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/0.8322, allocations: 266.4 kB / 0.5516 GB, free: 116.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01333/0.8456, allocations: 5.997 MB / 0.5575 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.856e-05/0.8457, allocations: 31.98 kB / 0.5575 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/0.8457, allocations: 11.5 kB / 0.5575 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.153e-05/0.8457, allocations: 7.922 kB / 0.5575 GB, free: 113.8 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0232/0.8689, allocations: 13.21 MB / 0.5704 GB, free: 100.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.481e-05/0.869, allocations: 6.938 kB / 0.5704 GB, free: 100.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009661/0.87, allocations: 227.7 kB / 0.5707 GB, free: 100.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01077/0.8808, allocations: 4.01 MB / 0.5746 GB, free: 96.44 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002558/0.881, allocations: 51.19 kB / 0.5746 GB, free: 96.39 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01478/0.8958, allocations: 12.84 MB / 0.5872 GB, free: 83.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.8959, allocations: 3.984 kB / 0.5872 GB, free: 83.49 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01719/0.9131, allocations: 10.09 MB / 0.597 GB, free: 73.44 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006064/0.9137, allocations: 322.7 kB / 0.5973 GB, free: 73.12 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003522/0.9141, allocations: 39.98 kB / 0.5974 GB, free: 73.08 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00145/0.9155, allocations: 183.7 kB / 0.5975 GB, free: 72.9 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004074/0.916, allocations: 108.8 kB / 0.5976 GB, free: 72.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001392/0.9161, allocations: 51.97 kB / 0.5977 GB, free: 72.74 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001882/0.918, allocations: 1.738 MB / 0.5994 GB, free: 70.99 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.918, allocations: 2.078 kB / 0.5994 GB, free: 70.99 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003158/0.9212, allocations: 0.8087 MB / 0.6002 GB, free: 70.19 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.01708/0.9383, allocations: 10.74 MB / 0.6107 GB, free: 59.4 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.008748/0.947, allocations: 6.257 MB / 0.6168 GB, free: 53.02 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.9471, allocations: 0 / 0.6168 GB, free: 53.02 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004256/0.9513, allocations: 2.899 MB / 0.6196 GB, free: 49.99 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002012/0.9534, allocations: 299.8 kB / 0.6199 GB, free: 49.71 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0539/1.007, allocations: 42.37 MB / 0.6613 GB, free: 3.059 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/1.009, allocations: 2.306 MB / 0.6635 GB, free: 0.7188 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002867/1.012, allocations: 1.515 MB / 0.665 GB, free: 15.2 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001478/1.013, allocations: 1.128 MB / 0.6661 GB, free: 14.07 MB / 478.1 MB Notification: Performance of SimCode: time 5.81e-07/1.013, allocations: 0 / 0.6661 GB, free: 14.07 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.351/4.364, allocations: 61.81 MB / 0.7265 GB, free: 176.4 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.52/19.88, allocations: 5.094 kB / 0.7265 GB, free: 176.4 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 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.mat","/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