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.001322/0.001322, allocations: 118.8 kB / 17.79 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001509/0.001509, allocations: 201.2 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.423/1.423, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001304/0.001305, allocations: 59.89 kB / 358.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3415, allocations: 50.54 MB / 408.8 MB, free: 1.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.00852/0.3501, allocations: 7.015 MB / 415.8 MB, free: 10.5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006091/0.3562, allocations: 3.154 MB / 418.9 MB, free: 7.336 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008893/0.3571, allocations: 31.94 kB / 419 MB, free: 7.305 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001866/0.359, allocations: 0.899 MB / 419.9 MB, free: 6.402 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003029/0.3621, allocations: 1.339 MB / 421.2 MB, free: 5.059 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001032/0.3631, allocations: 0.5225 MB / 421.7 MB, free: 4.535 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003528/0.3667, allocations: 2.75 MB / 424.5 MB, free: 1.781 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001719/0.3684, allocations: 1.329 MB / 425.8 MB, free: 440 kB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.3699, allocations: 0.868 MB / 426.7 MB, free: 15.56 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002852/0.3727, allocations: 2.128 MB / 428.8 MB, free: 13.43 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006688/0.3734, allocations: 176 kB / 429 MB, free: 13.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002138/0.3756, allocations: 0.9594 MB / 429.9 MB, free: 12.29 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001405/0.377, allocations: 1.11 MB / 431 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002001/0.379, allocations: 1.301 MB / 432.3 MB, free: 9.871 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006454/0.3855, allocations: 4.389 MB / 436.7 MB, free: 5.469 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.3855, allocations: 4 kB / 436.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.3856, allocations: 0 / 436.7 MB, free: 5.465 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001653/0.3857, allocations: 4 kB / 436.7 MB, free: 5.461 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.01069/0.3964, allocations: 3.359 MB / 440.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.562e-05/0.3965, allocations: 12.03 kB / 440.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00126/0.3978, allocations: 466.2 kB / 440.6 MB, free: 1.566 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006346/0.4041, allocations: 1.662 MB / 442.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004184/0.4083, allocations: 1.725 MB / 443.9 MB, free: 14.12 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001214/0.4085, allocations: 123.2 kB / 444.1 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006605/0.4092, allocations: 171.8 kB / 444.2 MB, free: 13.84 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01106/0.4202, allocations: 6.592 MB / 450.8 MB, free: 6.703 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001161/0.4204, allocations: 35.66 kB / 450.9 MB, free: 6.668 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004875/0.4209, allocations: 87.89 kB / 450.9 MB, free: 6.582 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002086/0.423, allocations: 1.335 MB / 452.3 MB, free: 5.25 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01091/0.4339, allocations: 5.836 MB / 458.1 MB, free: 15.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03719/0.4711, allocations: 27.96 MB / 486.1 MB, free: 2.594 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006271/0.4775, allocations: 2.787 MB / 488.9 MB, free: 15.66 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001682/0.4792, allocations: 1.306 MB / 490.2 MB, free: 14.34 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007807/0.48, allocations: 0.6278 MB / 490.8 MB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5e-05/0.4801, allocations: 55.11 kB / 490.9 MB, free: 13.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 4.418e-06/0.4801, allocations: 3.938 kB / 490.9 MB, free: 13.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07352/0.5536, allocations: 21.01 MB / 0.4999 GB, free: 8.398 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000103/0.5537, allocations: 171.2 kB / 0.5 GB, free: 8.195 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004847/0.5586, allocations: 2.792 MB / 0.5028 GB, free: 5.387 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003331/0.559, allocations: 45.7 kB / 0.5028 GB, free: 5.336 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001822/0.5608, allocations: 2.083 MB / 0.5048 GB, free: 3.219 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001147/0.562, allocations: 0.6325 MB / 0.5054 GB, free: 2.578 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002457/0.5644, allocations: 0.9879 MB / 0.5064 GB, free: 1.578 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001051/0.5645, allocations: 301.1 kB / 0.5067 GB, free: 1.281 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003469/0.568, allocations: 2.224 MB / 0.5089 GB, free: 15.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005583/0.5736, allocations: 5.138 MB / 0.5139 GB, free: 8.457 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009711/0.5834, allocations: 7.958 MB / 0.5217 GB, free: 15.05 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001129/0.5835, allocations: 32 kB / 0.5217 GB, free: 15.02 MB / 462.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02571/0.6093, allocations: 10.27 MB / 0.5317 GB, free: 4.719 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002038/0.6095, allocations: 51.94 kB / 0.5318 GB, free: 4.668 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002747/0.6098, allocations: 104 kB / 0.5319 GB, free: 4.566 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01225/0.6221, allocations: 3.423 MB / 0.5352 GB, free: 1.117 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00381/0.6259, allocations: 1.092 MB / 0.5363 GB, free: 24 kB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2803/0.9063, allocations: 12.83 MB / 0.5488 GB, free: 116.8 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003525/0.9098, allocations: 334.4 kB / 0.5491 GB, free: 116.8 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005455/0.9104, allocations: 306.6 kB / 0.5494 GB, free: 116.7 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.00193/0.9123, allocations: 1.463 MB / 0.5508 GB, free: 116.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004801/0.9128, allocations: 252.6 kB / 0.5511 GB, free: 116.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01384/0.9267, allocations: 5.996 MB / 0.5569 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.01e-05/0.9268, allocations: 30.48 kB / 0.557 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.699e-05/0.9268, allocations: 15.11 kB / 0.557 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.778e-05/0.9269, allocations: 3.984 kB / 0.557 GB, free: 114.3 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02555/0.9524, allocations: 13.21 MB / 0.5699 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.994e-05/0.9525, allocations: 0 / 0.5699 GB, free: 101.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001137/0.9536, allocations: 233.6 kB / 0.5701 GB, free: 101.1 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01105/0.9647, allocations: 4.004 MB / 0.574 GB, free: 97.11 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002946/0.965, allocations: 51.86 kB / 0.5741 GB, free: 97.06 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01501/0.9801, allocations: 12.83 MB / 0.5866 GB, free: 84.17 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.9801, allocations: 0 / 0.5866 GB, free: 84.17 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01776/0.9979, allocations: 10.08 MB / 0.5965 GB, free: 74.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007366/0.9986, allocations: 309.7 kB / 0.5968 GB, free: 73.82 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004368/0.9991, allocations: 35.98 kB / 0.5968 GB, free: 73.79 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/1.001, allocations: 188.2 kB / 0.597 GB, free: 73.61 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000421/1.001, allocations: 109.8 kB / 0.5971 GB, free: 73.5 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001423/1.001, allocations: 51.97 kB / 0.5971 GB, free: 73.45 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001979/1.003, allocations: 1.738 MB / 0.5988 GB, free: 71.7 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.81e-07/1.003, allocations: 4 kB / 0.5988 GB, free: 71.7 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003628/1.007, allocations: 0.8059 MB / 0.5996 GB, free: 70.89 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.01773/1.025, allocations: 10.72 MB / 0.6101 GB, free: 60.13 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.008905/1.034, allocations: 6.249 MB / 0.6162 GB, free: 53.76 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/1.034, allocations: 0 / 0.6162 GB, free: 53.76 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004457/1.038, allocations: 2.9 MB / 0.619 GB, free: 50.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002145/1.04, allocations: 299 kB / 0.6193 GB, free: 50.44 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05949/1.1, allocations: 42.26 MB / 0.6606 GB, free: 3.891 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/1.102, allocations: 2.322 MB / 0.6628 GB, free: 1.535 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002588/1.104, allocations: 1.507 MB / 0.6643 GB, free: 24 kB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001472/1.106, allocations: 1.129 MB / 0.6654 GB, free: 14.92 MB / 478.1 MB Notification: Performance of SimCode: time 2.044e-06/1.106, allocations: 0 / 0.6654 GB, free: 14.92 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5918/1.697, allocations: 62.99 MB / 0.7269 GB, free: 176.8 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.38/17.07, allocations: 6.672 kB / 0.7269 GB, free: 176.8 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.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