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.001111/0.001111, allocations: 102 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001234/0.001234, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.274/1.274, allocations: 227.4 MB / 246.3 MB, free: 9.055 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 58.78 kB / 306.4 MB, free: 0.7227 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08335/0.0846, allocations: 50.54 MB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.01221/0.09685, allocations: 13.93 MB / 370.8 MB, free: 188 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.1684/0.2653, allocations: 4.397 MB / 375.2 MB, free: 8.863 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001425/0.2668, allocations: 53.09 kB / 375.3 MB, free: 8.855 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.2686, allocations: 0.8708 MB / 376.1 MB, free: 8.75 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002625/0.2712, allocations: 1.255 MB / 377.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009996/0.2722, allocations: 493.3 kB / 377.9 MB, free: 8.344 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.00596/0.2782, allocations: 4.83 MB / 382.7 MB, free: 7.316 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002035/0.2802, allocations: 1.273 MB / 384 MB, free: 6.922 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.2814, allocations: 0.6947 MB / 384.7 MB, free: 6.695 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001535/0.283, allocations: 1.309 MB / 386 MB, free: 6.219 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002361/0.2832, allocations: 104.7 kB / 386.1 MB, free: 6.219 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.2849, allocations: 0.9467 MB / 387 MB, free: 5.805 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00086/0.2858, allocations: 1.07 MB / 388.1 MB, free: 5.227 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009157/0.2867, allocations: 1.231 MB / 389.3 MB, free: 4.305 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003303/0.29, allocations: 4.178 MB / 393.5 MB, free: 1.578 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.29, allocations: 1.219 kB / 393.5 MB, free: 1.578 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.29, allocations: 0 / 393.5 MB, free: 1.578 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.308e-05/0.2901, allocations: 0 / 393.5 MB, free: 1.578 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.00684/0.2969, allocations: 3.368 MB / 396.9 MB, free: 15.38 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.297, allocations: 10.97 kB / 396.9 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004761/0.2975, allocations: 459.6 kB / 397.3 MB, free: 15.08 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005541/0.303, allocations: 1.666 MB / 399 MB, free: 14.22 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002832/0.3059, allocations: 1.704 MB / 400.7 MB, free: 12.96 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.776e-05/0.3059, allocations: 132 kB / 400.8 MB, free: 12.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002829/0.3062, allocations: 165.4 kB / 401 MB, free: 12.72 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008054/0.3143, allocations: 6.601 MB / 407.6 MB, free: 5.66 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-05/0.3144, allocations: 27.75 kB / 407.6 MB, free: 5.633 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002176/0.3146, allocations: 94.73 kB / 407.7 MB, free: 5.566 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001727/0.3163, allocations: 1.325 MB / 409.1 MB, free: 4.254 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008361/0.3247, allocations: 5.841 MB / 414.9 MB, free: 14.4 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02475/0.3495, allocations: 28.07 MB / 443 MB, free: 1.621 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005169/0.3547, allocations: 2.742 MB / 445.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00131/0.356, allocations: 1.274 MB / 447 MB, free: 13.45 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005568/0.3565, allocations: 0.6297 MB / 447.6 MB, free: 12.71 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/0.3566, allocations: 43.12 kB / 447.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of pre-optimization done (n=120): time 2.855e-06/0.3566, allocations: 0 / 447.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=154): time 0.06597/0.4226, allocations: 20.55 MB / 468.2 MB, free: 8.023 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/0.4227, allocations: 145.5 kB / 468.3 MB, free: 7.852 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004031/0.4267, allocations: 2.832 MB / 471.2 MB, free: 5.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002348/0.427, allocations: 49.7 kB / 471.2 MB, free: 4.949 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001305/0.4283, allocations: 2.103 MB / 473.3 MB, free: 2.848 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006402/0.4289, allocations: 0.6077 MB / 473.9 MB, free: 2.246 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001589/0.4305, allocations: 0.9957 MB / 474.9 MB, free: 1.238 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.116e-05/0.4306, allocations: 301.1 kB / 475.2 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002949/0.4335, allocations: 2.211 MB / 477.4 MB, free: 14.72 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004506/0.4381, allocations: 5.173 MB / 482.6 MB, free: 8.07 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007889/0.446, allocations: 7.977 MB / 490.6 MB, free: 14.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.99e-05/0.446, allocations: 32 kB / 490.6 MB, free: 14.59 MB / 414.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02128/0.4673, allocations: 10.28 MB / 0.4892 GB, free: 4.285 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.531e-05/0.4675, allocations: 52 kB / 0.4892 GB, free: 4.234 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001218/0.4676, allocations: 104.9 kB / 0.4893 GB, free: 4.133 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01132/0.4789, allocations: 3.433 MB / 0.4927 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003342/0.4823, allocations: 1.103 MB / 0.4937 GB, free: 15.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01811/0.5004, allocations: 12 MB / 0.5054 GB, free: 3.441 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00379/0.5042, allocations: 337.5 kB / 0.5058 GB, free: 3.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008081/0.5051, allocations: 304 kB / 0.5061 GB, free: 2.816 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.002699/0.5078, allocations: 1.478 MB / 0.5075 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006202/0.5084, allocations: 252.7 kB / 0.5077 GB, free: 1.078 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01534/0.5237, allocations: 5.995 MB / 0.5136 GB, free: 11.05 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.133e-05/0.5238, allocations: 22.12 kB / 0.5136 GB, free: 11.03 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.764e-05/0.5239, allocations: 8 kB / 0.5136 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.606e-05/0.5239, allocations: 11.97 kB / 0.5136 GB, free: 11.01 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1849/0.7088, allocations: 13.17 MB / 0.5265 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/0.7089, allocations: 1.188 kB / 0.5265 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001083/0.71, allocations: 234.5 kB / 0.5267 GB, free: 142.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0124/0.7224, allocations: 4.005 MB / 0.5306 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002524/0.7226, allocations: 48.92 kB / 0.5307 GB, free: 142.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01545/0.7381, allocations: 12.02 MB / 0.5424 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7381, allocations: 3.344 kB / 0.5424 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01702/0.7551, allocations: 9.893 MB / 0.5521 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004525/0.7556, allocations: 308.8 kB / 0.5524 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003276/0.7559, allocations: 35.7 kB / 0.5524 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001404/0.7574, allocations: 189.8 kB / 0.5526 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000372/0.7577, allocations: 103.9 kB / 0.5527 GB, free: 134.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001367/0.7579, allocations: 51.12 kB / 0.5527 GB, free: 134.8 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001848/0.7597, allocations: 1.76 MB / 0.5545 GB, free: 133.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.7597, allocations: 0 / 0.5545 GB, free: 133.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002992/0.7627, allocations: 0.8092 MB / 0.5552 GB, free: 133.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.01692/0.7797, allocations: 10.54 MB / 0.5655 GB, free: 124.7 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.007843/0.7875, allocations: 6.216 MB / 0.5716 GB, free: 118.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.888e-06/0.7875, allocations: 0 / 0.5716 GB, free: 118.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003896/0.7914, allocations: 2.856 MB / 0.5744 GB, free: 115.5 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.7932, allocations: 276.3 kB / 0.5747 GB, free: 115.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05789/0.8511, allocations: 45.94 MB / 0.6195 GB, free: 63.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/0.8527, allocations: 2.314 MB / 0.6218 GB, free: 61.43 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002856/0.8555, allocations: 1.523 MB / 0.6233 GB, free: 59.9 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/0.8566, allocations: 1.124 MB / 0.6244 GB, free: 58.78 MB / 446.1 MB Notification: Performance of SimCode: time 1.543e-06/0.8566, allocations: 4 kB / 0.6244 GB, free: 58.77 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.429/3.286, allocations: 63.46 MB / 0.6863 GB, free: 11.57 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002809/3.286, allocations: 243.3 kB / 0.6866 GB, free: 11.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.302/6.589, allocations: 0 / 0.6866 GB, free: 11.3 MB / 462.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 & /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.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