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.0008151/0.0008152, allocations: 93.22 kB / 17.35 MB, free: 6.375 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009479/0.000948, allocations: 201.5 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.209/1.209, allocations: 227.7 MB / 246.8 MB, free: 9.551 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001934/0.0001934, allocations: 8 kB / 307.8 MB, free: 0.4922 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0764/0.07661, allocations: 51.52 MB / 359.4 MB, free: 12.97 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.1503/0.2269, allocations: 13.35 MB / 372.7 MB, free: 8.453 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.006607/0.2335, allocations: 4.343 MB / 377 MB, free: 8.277 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007907/0.2343, allocations: 52 kB / 377.1 MB, free: 8.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005453/0.2349, allocations: 273.6 kB / 377.4 MB, free: 8.211 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002095/0.237, allocations: 1.27 MB / 378.6 MB, free: 8.004 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007019/0.2377, allocations: 487 kB / 379.1 MB, free: 7.98 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.004467/0.2422, allocations: 4.832 MB / 383.9 MB, free: 7.477 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/0.244, allocations: 1.648 MB / 385.6 MB, free: 6.902 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007249/0.2447, allocations: 0.6436 MB / 386.2 MB, free: 6.699 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001187/0.2459, allocations: 1.243 MB / 387.5 MB, free: 6.133 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001675/0.2461, allocations: 88.66 kB / 387.6 MB, free: 6.129 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001245/0.2473, allocations: 0.9317 MB / 388.5 MB, free: 5.711 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007174/0.2481, allocations: 1.039 MB / 389.5 MB, free: 5.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007319/0.2488, allocations: 1.226 MB / 390.8 MB, free: 4.227 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002583/0.2514, allocations: 4.085 MB / 394.8 MB, free: 1.594 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2514, allocations: 5.469 kB / 394.9 MB, free: 1.59 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.2514, allocations: 0 / 394.9 MB, free: 1.59 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.818e-05/0.2514, allocations: 0 / 394.9 MB, free: 1.59 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.005392/0.2568, allocations: 2.833 MB / 397.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.396e-05/0.2569, allocations: 7.938 kB / 397.7 MB, free: 15.67 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004371/0.2573, allocations: 463.6 kB / 398.1 MB, free: 15.38 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005423/0.2628, allocations: 1.704 MB / 399.9 MB, free: 14.52 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.2652, allocations: 1.711 MB / 401.6 MB, free: 13.34 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.69e-05/0.2653, allocations: 130.2 kB / 401.7 MB, free: 13.24 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002927/0.2656, allocations: 166.3 kB / 401.9 MB, free: 13.1 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007507/0.2731, allocations: 6.611 MB / 408.5 MB, free: 6.027 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-05/0.2731, allocations: 39.75 kB / 408.5 MB, free: 5.988 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002178/0.2734, allocations: 84.83 kB / 408.6 MB, free: 5.934 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001774/0.2751, allocations: 1.33 MB / 409.9 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008038/0.2832, allocations: 5.836 MB / 415.8 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02337/0.3066, allocations: 28.1 MB / 443.9 MB, free: 1.949 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00542/0.312, allocations: 2.749 MB / 446.6 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001345/0.3134, allocations: 1.263 MB / 447.9 MB, free: 13.78 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005687/0.314, allocations: 0.63 MB / 448.5 MB, free: 13.05 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/0.314, allocations: 47.06 kB / 448.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of pre-optimization done (n=120): time 3.046e-06/0.314, allocations: 4 kB / 448.5 MB, free: 12.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=154): time 0.06673/0.3807, allocations: 20.6 MB / 469.1 MB, free: 8.289 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.219e-05/0.3808, allocations: 141.5 kB / 469.3 MB, free: 8.121 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003699/0.3845, allocations: 2.828 MB / 472.1 MB, free: 5.277 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000151/0.3847, allocations: 49.7 kB / 472.2 MB, free: 5.223 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001276/0.386, allocations: 2.112 MB / 474.3 MB, free: 3.113 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005156/0.3865, allocations: 0.6024 MB / 474.9 MB, free: 2.516 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005283/0.3871, allocations: 412.7 kB / 475.3 MB, free: 2.105 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.615e-05/0.3871, allocations: 305.1 kB / 475.6 MB, free: 1.805 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002952/0.3901, allocations: 2.208 MB / 477.8 MB, free: 15.59 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004554/0.3947, allocations: 5.181 MB / 483 MB, free: 8.93 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008106/0.4028, allocations: 7.975 MB / 490.9 MB, free: 15.49 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.18e-05/0.4028, allocations: 28 kB / 491 MB, free: 15.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02142/0.4243, allocations: 10.31 MB / 0.4895 GB, free: 5.125 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.035e-05/0.4244, allocations: 49 kB / 0.4896 GB, free: 5.078 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001173/0.4245, allocations: 104 kB / 0.4897 GB, free: 4.977 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01179/0.4363, allocations: 3.508 MB / 0.4931 GB, free: 1.445 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00295/0.4392, allocations: 1.103 MB / 0.4942 GB, free: 348 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0173/0.4566, allocations: 12.05 MB / 0.5059 GB, free: 4.164 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003179/0.4598, allocations: 331.5 kB / 0.5063 GB, free: 3.84 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004678/0.4602, allocations: 304 kB / 0.5065 GB, free: 3.543 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.002113/0.4624, allocations: 1.473 MB / 0.508 GB, free: 2.055 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004548/0.4628, allocations: 252.7 kB / 0.5082 GB, free: 1.805 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01549/0.4783, allocations: 6.026 MB / 0.5141 GB, free: 11.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/0.4784, allocations: 20 kB / 0.5141 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.494e-05/0.4784, allocations: 8 kB / 0.5141 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.421e-05/0.4784, allocations: 7.969 kB / 0.5141 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1964/0.6748, allocations: 13.2 MB / 0.527 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.522e-05/0.6749, allocations: 0.625 kB / 0.527 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001135/0.676, allocations: 233.7 kB / 0.5273 GB, free: 140.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0131/0.6891, allocations: 4.134 MB / 0.5313 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002527/0.6894, allocations: 46.77 kB / 0.5313 GB, free: 140.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01722/0.7066, allocations: 12.1 MB / 0.5432 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.7066, allocations: 0 / 0.5432 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01753/0.7242, allocations: 9.939 MB / 0.5529 GB, free: 134.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004842/0.7247, allocations: 312.4 kB / 0.5532 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002908/0.725, allocations: 36.97 kB / 0.5532 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001421/0.7264, allocations: 187.2 kB / 0.5534 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003278/0.7267, allocations: 108.6 kB / 0.5535 GB, free: 134.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001244/0.7269, allocations: 47.03 kB / 0.5535 GB, free: 134.1 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002087/0.729, allocations: 1.757 MB / 0.5552 GB, free: 133.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 8.71e-07/0.729, allocations: 0 / 0.5552 GB, free: 133.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002998/0.732, allocations: 0.8143 MB / 0.556 GB, free: 133.1 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.01727/0.7492, allocations: 10.59 MB / 0.5664 GB, free: 124.1 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.007654/0.7569, allocations: 6.22 MB / 0.5724 GB, free: 117.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.7569, allocations: 2.906 kB / 0.5725 GB, free: 117.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003853/0.7608, allocations: 2.859 MB / 0.5752 GB, free: 114.9 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001739/0.7625, allocations: 275.5 kB / 0.5755 GB, free: 114.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05653/0.8191, allocations: 46.15 MB / 0.6206 GB, free: 62.92 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00161/0.8207, allocations: 2.306 MB / 0.6228 GB, free: 60.59 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002887/0.8236, allocations: 1.527 MB / 0.6243 GB, free: 59.05 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00105/0.8247, allocations: 1.128 MB / 0.6254 GB, free: 57.93 MB / 446.1 MB Notification: Performance of SimCode: time 6.21e-07/0.8247, allocations: 0 / 0.6254 GB, free: 57.93 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08992/0.9146, allocations: 62.85 MB / 0.6868 GB, free: 11.34 MB / 462.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.9149, allocations: 230.7 kB / 0.687 GB, free: 11.09 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.828/3.743, allocations: 3.234 kB / 0.687 GB, free: 11.09 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