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.001795/0.001795, allocations: 112.8 kB / 17.06 MB, free: 5.969 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.002111/0.002111, allocations: 200 kB / 18.01 MB, free: 5.047 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.444/1.444, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001663/0.001663, allocations: 43.92 kB / 350.8 MB, free: 3.734 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2871, allocations: 49.44 MB / 400.2 MB, free: 8.379 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009153/0.2962, allocations: 7.045 MB / 407.3 MB, free: 1.73 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006318/0.3026, allocations: 3.123 MB / 410.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009345/0.3036, allocations: 35.94 kB / 410.4 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001932/0.3056, allocations: 0.899 MB / 411.3 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003439/0.309, allocations: 1.382 MB / 412.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001151/0.3102, allocations: 0.5186 MB / 413.2 MB, free: 11.75 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003742/0.314, allocations: 2.727 MB / 416 MB, free: 9.02 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002011/0.316, allocations: 1.322 MB / 417.3 MB, free: 7.676 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001651/0.3177, allocations: 0.8564 MB / 418.2 MB, free: 6.816 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002835/0.3205, allocations: 2.018 MB / 420.2 MB, free: 4.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006239/0.3211, allocations: 180 kB / 420.3 MB, free: 4.617 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.3234, allocations: 0.9751 MB / 421.3 MB, free: 3.641 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00148/0.3248, allocations: 1.13 MB / 422.5 MB, free: 2.508 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002147/0.327, allocations: 1.305 MB / 423.8 MB, free: 1.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006623/0.3336, allocations: 4.458 MB / 428.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.3337, allocations: 0 / 428.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of FrontEnd: time 5.601e-06/0.3337, allocations: 4 kB / 428.2 MB, free: 12.72 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001497/0.3338, 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.009356/0.3432, allocations: 3.354 MB / 431.6 MB, free: 9.301 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.3433, allocations: 8.031 kB / 431.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001219/0.3445, allocations: 462.3 kB / 432 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00664/0.3511, allocations: 1.68 MB / 433.7 MB, free: 7.148 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004448/0.3556, allocations: 1.842 MB / 435.6 MB, free: 5.262 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002242/0.3559, allocations: 123.2 kB / 435.7 MB, free: 5.141 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001094/0.357, allocations: 171.8 kB / 435.8 MB, free: 4.973 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01356/0.3706, allocations: 6.6 MB / 442.4 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001314/0.3707, allocations: 31.75 kB / 442.5 MB, free: 13.8 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006302/0.3714, allocations: 87.84 kB / 442.6 MB, free: 13.72 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0023/0.3737, allocations: 1.319 MB / 443.9 MB, free: 12.4 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01177/0.3855, allocations: 5.847 MB / 449.7 MB, free: 6.551 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03945/0.425, allocations: 28.01 MB / 477.7 MB, free: 9.691 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007033/0.4321, allocations: 2.79 MB / 480.5 MB, free: 6.746 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001971/0.4341, allocations: 1.302 MB / 481.8 MB, free: 5.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009521/0.435, allocations: 0.6278 MB / 482.5 MB, free: 4.688 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.157e-05/0.4351, allocations: 55.05 kB / 482.5 MB, free: 4.625 MB / 398.1 MB Notification: Performance of pre-optimization done (n=129): time 4.378e-06/0.4351, allocations: 0 / 482.5 MB, free: 4.625 MB / 398.1 MB Notification: Performance of matching and sorting (n=163): time 0.07907/0.5142, allocations: 21.17 MB / 0.4919 GB, free: 15.35 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.5144, allocations: 175.2 kB / 0.492 GB, free: 15.14 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004821/0.5192, allocations: 2.805 MB / 0.4948 GB, free: 12.32 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003202/0.5196, allocations: 45.7 kB / 0.4948 GB, free: 12.27 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001777/0.5213, allocations: 2.175 MB / 0.497 GB, free: 10.07 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008728/0.5222, allocations: 0.659 MB / 0.4976 GB, free: 9.406 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001913/0.5242, allocations: 0.9926 MB / 0.4986 GB, free: 8.402 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001318/0.5243, allocations: 305.1 kB / 0.4989 GB, free: 8.102 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003547/0.5279, allocations: 2.223 MB / 0.501 GB, free: 5.871 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005932/0.5338, allocations: 5.138 MB / 0.506 GB, free: 15.28 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01039/0.5442, allocations: 7.958 MB / 0.5138 GB, free: 5.879 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001022/0.5443, allocations: 31.98 kB / 0.5138 GB, free: 5.848 MB / 446.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02587/0.5702, allocations: 10.28 MB / 0.5239 GB, free: 11.53 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000124/0.5704, allocations: 51.94 kB / 0.5239 GB, free: 11.48 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001614/0.5706, allocations: 100.9 kB / 0.524 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01251/0.5831, allocations: 3.431 MB / 0.5274 GB, free: 7.926 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003614/0.5867, allocations: 1.08 MB / 0.5284 GB, free: 6.844 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2299/0.8167, allocations: 12.85 MB / 0.541 GB, free: 125.1 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003447/0.8202, allocations: 337.3 kB / 0.5413 GB, free: 125 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000436/0.8206, allocations: 306.3 kB / 0.5416 GB, free: 125 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.00181/0.8224, allocations: 1.459 MB / 0.543 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004437/0.8229, allocations: 275.7 kB / 0.5433 GB, free: 124.4 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01404/0.8369, allocations: 5.995 MB / 0.5491 GB, free: 122.6 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.367e-05/0.837, allocations: 30.91 kB / 0.5492 GB, free: 122.6 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.416e-05/0.8371, allocations: 6.062 kB / 0.5492 GB, free: 122.6 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.205e-05/0.8371, allocations: 6 kB / 0.5492 GB, free: 122.6 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02565/0.8628, allocations: 13.23 MB / 0.5621 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.894e-05/0.8628, allocations: 0 / 0.5621 GB, free: 113.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001087/0.8639, allocations: 224.7 kB / 0.5623 GB, free: 113.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01133/0.8753, allocations: 4.009 MB / 0.5662 GB, free: 109.7 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003397/0.8757, allocations: 48.89 kB / 0.5663 GB, free: 109.7 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01578/0.8914, allocations: 12.83 MB / 0.5788 GB, free: 96.79 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.8915, allocations: 0 / 0.5788 GB, free: 96.79 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01808/0.9096, allocations: 10.1 MB / 0.5887 GB, free: 86.79 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000622/0.9102, allocations: 318.3 kB / 0.589 GB, free: 86.47 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007005/0.911, allocations: 47.31 kB / 0.589 GB, free: 86.43 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/0.9129, allocations: 183.7 kB / 0.5892 GB, free: 86.25 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005055/0.9134, allocations: 108.8 kB / 0.5893 GB, free: 86.14 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000198/0.9136, allocations: 55.81 kB / 0.5894 GB, free: 86.09 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002335/0.9159, allocations: 1.738 MB / 0.5911 GB, free: 84.34 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/0.9159, allocations: 0 / 0.5911 GB, free: 84.34 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003667/0.9196, allocations: 0.8246 MB / 0.5919 GB, free: 83.53 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.0187/0.9383, allocations: 10.74 MB / 0.6023 GB, free: 72.74 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.009402/0.9478, allocations: 6.261 MB / 0.6085 GB, free: 66.36 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.985e-06/0.9478, allocations: 4 kB / 0.6085 GB, free: 66.36 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004531/0.9523, allocations: 2.892 MB / 0.6113 GB, free: 63.33 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00234/0.9547, allocations: 290 kB / 0.6116 GB, free: 63.05 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0629/1.018, allocations: 42.41 MB / 0.653 GB, free: 16.37 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002573/1.02, allocations: 2.318 MB / 0.6552 GB, free: 14.02 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002922/1.023, allocations: 1.515 MB / 0.6567 GB, free: 12.5 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/1.025, allocations: 1.12 MB / 0.6578 GB, free: 11.38 MB / 462.1 MB Notification: Performance of SimCode: time 5.11e-07/1.025, allocations: 0 / 0.6578 GB, free: 11.38 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1158/1.14, allocations: 61.88 MB / 0.7183 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.5/16.64, allocations: 21.64 kB / 0.7183 GB, free: 13.83 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