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.001307/0.001307, allocations: 117.8 kB / 17.78 MB, free: 5.281 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001542/0.001542, allocations: 204.6 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.295/1.295, allocations: 227.4 MB / 246.9 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001196, allocations: 63.89 kB / 358.2 MB, free: 13.39 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2558/0.257, allocations: 50.55 MB / 408.8 MB, free: 1.516 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.007968/0.265, allocations: 7.008 MB / 415.8 MB, free: 10.47 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005973/0.271, allocations: 3.154 MB / 418.9 MB, free: 7.309 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001006/0.272, allocations: 31.94 kB / 419 MB, free: 7.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001761/0.2738, allocations: 0.895 MB / 419.8 MB, free: 6.379 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002711/0.2766, allocations: 1.351 MB / 421.2 MB, free: 5.023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009618/0.2775, allocations: 0.5186 MB / 421.7 MB, free: 4.504 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003009/0.2806, allocations: 2.762 MB / 424.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001437/0.282, allocations: 1.314 MB / 425.8 MB, free: 412 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.2831, allocations: 0.8602 MB / 426.7 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002172/0.2853, allocations: 2.132 MB / 428.8 MB, free: 13.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003727/0.2857, allocations: 180 kB / 429 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.2871, allocations: 0.9555 MB / 429.9 MB, free: 12.27 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009138/0.2881, allocations: 1.11 MB / 431 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001223/0.2893, allocations: 1.297 MB / 432.3 MB, free: 9.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004574/0.2939, allocations: 4.393 MB / 436.7 MB, free: 5.445 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.357e-06/0.2939, allocations: 4 kB / 436.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.885e-06/0.2939, allocations: 0 / 436.7 MB, free: 5.441 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.034e-05/0.294, allocations: 0 / 436.7 MB, free: 5.441 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.007547/0.3016, allocations: 3.371 MB / 440.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.532e-05/0.3016, allocations: 8.031 kB / 440.1 MB, free: 2.004 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005198/0.3022, allocations: 466.3 kB / 440.6 MB, free: 1.539 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005614/0.3078, allocations: 1.662 MB / 442.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003191/0.311, allocations: 1.721 MB / 443.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.088e-05/0.3111, allocations: 123.2 kB / 444.1 MB, free: 13.98 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003211/0.3114, allocations: 171.8 kB / 444.2 MB, free: 13.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008658/0.3201, allocations: 6.596 MB / 450.8 MB, free: 6.676 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.104e-05/0.3202, allocations: 39.64 kB / 450.9 MB, free: 6.637 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002472/0.3205, allocations: 83.89 kB / 450.9 MB, free: 6.555 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001798/0.3223, allocations: 1.331 MB / 452.3 MB, free: 5.227 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009344/0.3316, allocations: 5.847 MB / 458.1 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03043/0.3621, allocations: 27.96 MB / 486.1 MB, free: 2.562 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005794/0.3679, allocations: 2.778 MB / 488.9 MB, free: 15.63 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001541/0.3695, allocations: 1.306 MB / 490.2 MB, free: 14.31 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006399/0.3702, allocations: 0.6317 MB / 490.8 MB, free: 13.57 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.3702, allocations: 51.06 kB / 490.8 MB, free: 13.51 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.038e-06/0.3702, allocations: 0 / 490.8 MB, free: 13.51 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07056/0.4408, allocations: 21.01 MB / 0.4999 GB, free: 8.367 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.633e-05/0.4409, allocations: 167.2 kB / 0.5 GB, free: 8.168 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004088/0.445, allocations: 2.799 MB / 0.5028 GB, free: 5.352 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003294/0.4454, allocations: 49.7 kB / 0.5028 GB, free: 5.297 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001431/0.4468, allocations: 2.071 MB / 0.5048 GB, free: 3.191 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008876/0.4477, allocations: 0.6286 MB / 0.5054 GB, free: 2.555 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002282/0.45, allocations: 0.9957 MB / 0.5064 GB, free: 1.547 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4502, allocations: 305.1 kB / 0.5067 GB, free: 1.246 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003359/0.4535, allocations: 2.215 MB / 0.5089 GB, free: 15.02 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005475/0.459, allocations: 5.146 MB / 0.5139 GB, free: 8.422 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009195/0.4682, allocations: 7.957 MB / 0.5217 GB, free: 15.02 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.818e-05/0.4684, allocations: 28 kB / 0.5217 GB, free: 14.99 MB / 462.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02384/0.4922, allocations: 10.27 MB / 0.5317 GB, free: 4.691 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.583e-05/0.4924, allocations: 55.97 kB / 0.5318 GB, free: 4.637 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001391/0.4925, allocations: 104 kB / 0.5319 GB, free: 4.535 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01168/0.5042, allocations: 3.423 MB / 0.5352 GB, free: 1.086 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2167/0.7209, allocations: 1.085 MB / 0.5363 GB, free: 121.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01837/0.7394, allocations: 12.83 MB / 0.5488 GB, free: 116.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00375/0.7432, allocations: 333.1 kB / 0.5491 GB, free: 116.7 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000693/0.7439, allocations: 309.1 kB / 0.5494 GB, free: 116.6 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.00207/0.746, allocations: 1.465 MB / 0.5508 GB, free: 116 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005027/0.7465, allocations: 251.3 kB / 0.5511 GB, free: 116 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01383/0.7603, allocations: 5.992 MB / 0.5569 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.145e-05/0.7604, allocations: 34.88 kB / 0.557 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.379e-05/0.7605, allocations: 7.875 kB / 0.557 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-05/0.7605, allocations: 11.62 kB / 0.557 GB, free: 114.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0253/0.7858, allocations: 13.21 MB / 0.5699 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-05/0.7859, allocations: 0.5 kB / 0.5699 GB, free: 101.2 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001073/0.787, allocations: 239.2 kB / 0.5701 GB, free: 101 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01099/0.798, allocations: 4.004 MB / 0.574 GB, free: 97 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003464/0.7983, allocations: 54.58 kB / 0.5741 GB, free: 96.95 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0155/0.8139, allocations: 12.83 MB / 0.5866 GB, free: 84.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.8139, allocations: 4 kB / 0.5866 GB, free: 84.05 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01825/0.8322, allocations: 10.08 MB / 0.5964 GB, free: 74.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006271/0.8328, allocations: 297.7 kB / 0.5967 GB, free: 73.71 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007204/0.8336, allocations: 39.58 kB / 0.5968 GB, free: 73.67 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001968/0.8356, allocations: 183.7 kB / 0.5969 GB, free: 73.49 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005232/0.8361, allocations: 120.8 kB / 0.5971 GB, free: 73.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002325/0.8364, allocations: 55.97 kB / 0.5971 GB, free: 73.32 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002529/0.8389, allocations: 1.73 MB / 0.5988 GB, free: 71.58 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.8389, allocations: 2.078 kB / 0.5988 GB, free: 71.58 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004347/0.8433, allocations: 0.8059 MB / 0.5996 GB, free: 70.78 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.01816/0.8615, allocations: 10.73 MB / 0.6101 GB, free: 60.01 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.008947/0.8705, allocations: 6.247 MB / 0.6162 GB, free: 53.64 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.704e-06/0.8705, allocations: 4 kB / 0.6162 GB, free: 53.63 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004792/0.8753, allocations: 2.898 MB / 0.619 GB, free: 50.61 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002379/0.8777, allocations: 302.5 kB / 0.6193 GB, free: 50.32 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06273/0.9405, allocations: 42.26 MB / 0.6606 GB, free: 3.77 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002211/0.9427, allocations: 2.322 MB / 0.6628 GB, free: 1.414 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002999/0.9458, allocations: 1.511 MB / 0.6643 GB, free: 15.9 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002013/0.9478, allocations: 1.128 MB / 0.6654 GB, free: 14.77 MB / 478.1 MB Notification: Performance of SimCode: time 7.71e-07/0.9479, allocations: 0 / 0.6654 GB, free: 14.77 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3713/1.319, allocations: 62.98 MB / 0.7269 GB, free: 176.7 MB / 0.5138 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.77/16.09, allocations: 4.172 kB / 0.7269 GB, free: 176.7 MB / 0.5138 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.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