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.001818/0.001819, allocations: 112.9 kB / 17.06 MB, free: 5.988 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.00184/0.00184, allocations: 198.9 kB / 18 MB, free: 5.066 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.513/1.513, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 51.92 kB / 350.8 MB, free: 3.75 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.3805, allocations: 49.43 MB / 400.2 MB, free: 8.398 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008581/0.3892, allocations: 7.033 MB / 407.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006361/0.3956, allocations: 3.138 MB / 410.4 MB, free: 14.58 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001004/0.3966, allocations: 31.88 kB / 410.4 MB, free: 14.55 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001898/0.3986, allocations: 0.8912 MB / 411.3 MB, free: 13.65 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003121/0.4017, allocations: 1.374 MB / 412.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.4028, allocations: 0.5186 MB / 413.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003432/0.4063, allocations: 2.742 MB / 416 MB, free: 9.008 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001501/0.4078, allocations: 1.318 MB / 417.3 MB, free: 7.668 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001129/0.4089, allocations: 0.8642 MB / 418.2 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002448/0.4114, allocations: 2.018 MB / 420.2 MB, free: 4.777 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004675/0.4119, allocations: 180 kB / 420.3 MB, free: 4.602 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002068/0.4139, allocations: 0.9788 MB / 421.3 MB, free: 3.621 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001637/0.4156, allocations: 1.13 MB / 422.5 MB, free: 2.488 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001952/0.4176, allocations: 1.305 MB / 423.8 MB, free: 1.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007277/0.4249, allocations: 4.436 MB / 428.2 MB, free: 12.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.266e-05/0.4249, allocations: 8 kB / 428.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.815e-06/0.4249, allocations: 0 / 428.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001262/0.4251, allocations: 0 / 428.2 MB, free: 12.72 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.01174/0.4368, allocations: 3.275 MB / 431.5 MB, free: 9.387 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.4369, allocations: 12.03 kB / 431.5 MB, free: 9.375 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000934/0.4379, allocations: 462.3 kB / 431.9 MB, free: 8.914 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01042/0.4483, allocations: 1.659 MB / 433.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006278/0.4546, allocations: 1.838 MB / 435.4 MB, free: 5.367 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001606/0.4548, allocations: 131.1 kB / 435.6 MB, free: 5.238 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006835/0.4555, allocations: 179.8 kB / 435.7 MB, free: 5.062 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0152/0.4708, allocations: 6.584 MB / 442.3 MB, free: 13.94 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001145/0.4709, allocations: 31.75 kB / 442.4 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004003/0.4714, allocations: 87.89 kB / 442.4 MB, free: 13.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003245/0.4746, allocations: 1.323 MB / 443.8 MB, free: 12.5 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01643/0.4911, allocations: 5.843 MB / 449.6 MB, free: 6.656 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03832/0.5294, allocations: 27.97 MB / 477.6 MB, free: 9.828 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006378/0.5359, allocations: 2.779 MB / 480.4 MB, free: 6.895 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0017/0.5376, allocations: 1.314 MB / 481.7 MB, free: 5.566 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007889/0.5384, allocations: 0.6356 MB / 482.3 MB, free: 4.816 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.543e-05/0.5385, allocations: 43.12 kB / 482.3 MB, free: 4.766 MB / 398.1 MB Notification: Performance of pre-optimization done (n=129): time 4.558e-06/0.5385, allocations: 7.938 kB / 482.4 MB, free: 4.758 MB / 398.1 MB Notification: Performance of matching and sorting (n=163): time 0.07201/0.6105, allocations: 21 MB / 0.4916 GB, free: 15.63 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.552e-05/0.6106, allocations: 175.2 kB / 0.4917 GB, free: 15.42 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004475/0.6151, allocations: 2.804 MB / 0.4945 GB, free: 12.6 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002528/0.6154, allocations: 45.7 kB / 0.4945 GB, free: 12.55 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00156/0.6169, allocations: 2.079 MB / 0.4965 GB, free: 10.44 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000755/0.6177, allocations: 0.6247 MB / 0.4971 GB, free: 9.805 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001618/0.6193, allocations: 0.9996 MB / 0.4981 GB, free: 8.793 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.373e-05/0.6194, allocations: 301.1 kB / 0.4984 GB, free: 8.496 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003139/0.6226, allocations: 2.223 MB / 0.5006 GB, free: 6.266 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005345/0.628, allocations: 5.139 MB / 0.5056 GB, free: 15.67 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009042/0.637, allocations: 7.953 MB / 0.5134 GB, free: 6.273 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.377e-05/0.6371, allocations: 28 kB / 0.5134 GB, free: 6.246 MB / 446.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.0241/0.6612, allocations: 10.27 MB / 0.5234 GB, free: 11.95 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.6614, allocations: 55.92 kB / 0.5235 GB, free: 11.89 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001719/0.6616, allocations: 104 kB / 0.5236 GB, free: 11.79 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01221/0.6738, allocations: 3.423 MB / 0.5269 GB, free: 8.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00387/0.6777, allocations: 1.084 MB / 0.528 GB, free: 7.254 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2537/0.9314, allocations: 12.85 MB / 0.5405 GB, free: 125 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00403/0.9355, allocations: 330 kB / 0.5408 GB, free: 125 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004476/0.936, allocations: 310.4 kB / 0.5411 GB, free: 124.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.001995/0.938, allocations: 1.468 MB / 0.5426 GB, free: 124.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004643/0.9384, allocations: 247.9 kB / 0.5428 GB, free: 124.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01398/0.9524, allocations: 6.001 MB / 0.5487 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.831e-05/0.9526, allocations: 34.14 kB / 0.5487 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.41e-05/0.9526, allocations: 7.875 kB / 0.5487 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.165e-05/0.9526, allocations: 3.75 kB / 0.5487 GB, free: 122.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02677/0.9794, allocations: 13.22 MB / 0.5616 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-05/0.9795, allocations: 0.75 kB / 0.5616 GB, free: 114.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.9807, allocations: 240.3 kB / 0.5618 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01111/0.9918, allocations: 4 MB / 0.5657 GB, free: 110.2 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003606/0.9922, allocations: 51.47 kB / 0.5658 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01514/1.007, allocations: 12.83 MB / 0.5783 GB, free: 97.26 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.007, allocations: 0 / 0.5783 GB, free: 97.26 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01774/1.025, allocations: 10.08 MB / 0.5882 GB, free: 87.29 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007023/1.026, allocations: 301.7 kB / 0.5885 GB, free: 86.98 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000351/1.026, allocations: 43.12 kB / 0.5885 GB, free: 86.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001553/1.028, allocations: 187.7 kB / 0.5887 GB, free: 86.75 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004018/1.028, allocations: 112.8 kB / 0.5888 GB, free: 86.64 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/1.028, allocations: 51.97 kB / 0.5888 GB, free: 86.59 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002009/1.03, allocations: 1.734 MB / 0.5905 GB, free: 84.85 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.3e-07/1.03, allocations: 0 / 0.5905 GB, free: 84.85 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00364/1.034, allocations: 0.8288 MB / 0.5913 GB, free: 84.03 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.01805/1.052, allocations: 10.73 MB / 0.6018 GB, free: 73.25 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.009938/1.062, allocations: 6.261 MB / 0.6079 GB, free: 66.87 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.787e-06/1.062, allocations: 0 / 0.6079 GB, free: 66.87 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004819/1.067, allocations: 2.888 MB / 0.6108 GB, free: 63.84 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002889/1.07, allocations: 300 kB / 0.611 GB, free: 63.56 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06857/1.138, allocations: 42.28 MB / 0.6523 GB, free: 16.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003036/1.142, allocations: 2.324 MB / 0.6546 GB, free: 14.64 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003211/1.145, allocations: 1.504 MB / 0.6561 GB, free: 13.13 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/1.146, allocations: 1.128 MB / 0.6572 GB, free: 12 MB / 462.1 MB Notification: Performance of SimCode: time 1.182e-06/1.146, allocations: 0 / 0.6572 GB, free: 12 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1162/1.263, allocations: 63.08 MB / 0.7188 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.84/20.1, allocations: 14.97 kB / 0.7188 GB, free: 13.27 MB / 0.5137 GB (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