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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008929/0.0008929, allocations: 76.36 kB / 20.67 MB, free: 3.895 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009514/0.0009514, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8892/0.8892, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 324.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.113e-05/1.224e-05, allocations: 3.266 kB / 324.5 MB, free: 15.77 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.004573/0.004585, allocations: 6.247 MB / 330.8 MB, free: 9.484 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.003089/0.007674, allocations: 2.99 MB / 333.8 MB, free: 6.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002939/0.007968, allocations: 35.88 kB / 333.8 MB, free: 6.449 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001029/0.008997, allocations: 0.9261 MB / 334.7 MB, free: 5.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001435/0.01043, allocations: 1.412 MB / 336.1 MB, free: 4.102 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005171/0.01095, allocations: 0.5846 MB / 336.7 MB, free: 3.516 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002257/0.01321, allocations: 4.164 MB / 340.9 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.01436, allocations: 1.8 MB / 342.7 MB, free: 13.53 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001039/0.0154, allocations: 1.43 MB / 344.1 MB, free: 12.1 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.01657, allocations: 1.684 MB / 345.8 MB, free: 10.41 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.01675, allocations: 184 kB / 346 MB, free: 10.23 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007741/0.01752, allocations: 0.9202 MB / 346.9 MB, free: 9.309 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005846/0.01811, allocations: 1.188 MB / 348.1 MB, free: 8.117 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004869/0.0186, allocations: 0.732 MB / 348.8 MB, free: 7.383 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002725/0.02132, allocations: 4.462 MB / 353.3 MB, free: 2.906 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.455e-06/0.02132, allocations: 0 / 353.3 MB, free: 2.906 MB / 314.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.02132, allocations: 0 / 353.3 MB, free: 2.906 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.998e-05/0.02137, allocations: 0 / 353.3 MB, free: 2.906 MB / 314.7 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.004353/0.02573, allocations: 3.407 MB / 356.7 MB, free: 15.45 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.02576, allocations: 11.98 kB / 356.7 MB, free: 15.44 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003408/0.0261, allocations: 466.2 kB / 357.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003032/0.02914, allocations: 1.738 MB / 358.9 MB, free: 13.23 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00163/0.03077, allocations: 1.511 MB / 360.4 MB, free: 11.69 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.99e-05/0.03083, allocations: 127.3 kB / 360.5 MB, free: 11.57 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.03103, allocations: 175.8 kB / 360.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004999/0.03603, allocations: 6.594 MB / 367.3 MB, free: 4.254 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.472e-05/0.03608, allocations: 35.73 kB / 367.3 MB, free: 4.219 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001554/0.03623, allocations: 87.89 kB / 367.4 MB, free: 4.133 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001032/0.03726, allocations: 1.323 MB / 368.7 MB, free: 2.812 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005392/0.04266, allocations: 5.769 MB / 374.5 MB, free: 13.03 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01685/0.05951, allocations: 27.18 MB / 401.7 MB, free: 1.008 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003285/0.06279, allocations: 2.299 MB / 404 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009549/0.06375, allocations: 1.231 MB / 405.2 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002733/0.06402, allocations: 176.2 kB / 405.4 MB, free: 13.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.06405, allocations: 58.98 kB / 405.4 MB, free: 13.18 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 2.926e-06/0.06406, allocations: 0 / 405.4 MB, free: 13.18 MB / 378.7 MB Notification: Performance of matching and sorting (n=163): time 0.03674/0.1008, allocations: 21.37 MB / 426.8 MB, free: 7.75 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/0.1009, allocations: 175.2 kB / 427 MB, free: 7.539 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002516/0.1034, allocations: 3.15 MB / 430.1 MB, free: 4.371 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001007/0.1035, allocations: 45.7 kB / 430.2 MB, free: 4.32 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008582/0.1043, allocations: 2.14 MB / 432.3 MB, free: 2.156 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003921/0.1047, allocations: 0.6511 MB / 433 MB, free: 1.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001076/0.1058, allocations: 0.9847 MB / 434 MB, free: 0.5039 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.692e-05/0.1059, allocations: 305.1 kB / 434.3 MB, free: 208 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001901/0.1078, allocations: 2.227 MB / 436.5 MB, free: 13.96 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003319/0.1111, allocations: 5.146 MB / 441.6 MB, free: 7.363 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1584/0.2695, allocations: 7.943 MB / 449.6 MB, free: 109.8 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.683e-05/0.2696, allocations: 29.22 kB / 449.6 MB, free: 109.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.01339/0.283, allocations: 10.26 MB / 459.9 MB, free: 107.1 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.836e-05/0.283, allocations: 50.75 kB / 459.9 MB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.577e-05/0.2831, allocations: 101.3 kB / 460 MB, free: 107.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005418/0.2885, allocations: 3.429 MB / 463.4 MB, free: 106.3 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001702/0.2902, allocations: 1.08 MB / 464.5 MB, free: 105.2 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01001/0.3002, allocations: 12.67 MB / 477.2 MB, free: 92.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002566/0.3028, allocations: 370.2 kB / 477.5 MB, free: 92.14 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003275/0.3031, allocations: 302.9 kB / 477.8 MB, free: 91.85 MB / 410.7 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.001414/0.3045, allocations: 1.462 MB / 479.3 MB, free: 90.44 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003568/0.3049, allocations: 257.1 kB / 479.5 MB, free: 90.33 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007262/0.3121, allocations: 5.975 MB / 485.5 MB, free: 84.32 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.164e-05/0.3122, allocations: 28 kB / 485.6 MB, free: 84.3 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.623e-05/0.3122, allocations: 8 kB / 485.6 MB, free: 84.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.11e-05/0.3122, allocations: 11.91 kB / 485.6 MB, free: 84.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01401/0.3262, allocations: 12.89 MB / 498.5 MB, free: 71.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.246e-05/0.3262, allocations: 0 / 498.5 MB, free: 71.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005381/0.3268, allocations: 235.7 kB / 498.7 MB, free: 71.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005612/0.3324, allocations: 4.008 MB / 0.4909 GB, free: 67.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001863/0.3326, allocations: 47.95 kB / 0.491 GB, free: 67.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009752/0.3423, allocations: 12.66 MB / 0.5033 GB, free: 54.4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.3423, allocations: 4 kB / 0.5033 GB, free: 54.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01055/0.3529, allocations: 10.07 MB / 0.5132 GB, free: 44.32 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006778/0.3536, allocations: 277.2 kB / 0.5134 GB, free: 44.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/0.3538, allocations: 35.98 kB / 0.5135 GB, free: 44.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009153/0.3547, allocations: 215.1 kB / 0.5137 GB, free: 43.82 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002892/0.355, allocations: 116.8 kB / 0.5138 GB, free: 43.71 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.006e-05/0.3551, allocations: 51.97 kB / 0.5138 GB, free: 43.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001527/0.3566, allocations: 1.875 MB / 0.5157 GB, free: 41.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3566, allocations: 2.078 kB / 0.5157 GB, free: 41.77 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002799/0.3594, allocations: 0.9131 MB / 0.5165 GB, free: 40.87 MB / 410.7 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.01065/0.3701, allocations: 10.72 MB / 0.527 GB, free: 30.1 MB / 410.7 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.006326/0.3764, allocations: 5.554 MB / 0.5324 GB, free: 24.54 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.3764, allocations: 3.281 kB / 0.5324 GB, free: 24.54 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002506/0.3789, allocations: 2.279 MB / 0.5347 GB, free: 22.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001503/0.3804, allocations: 299.9 kB / 0.535 GB, free: 21.95 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0446/0.425, allocations: 42.63 MB / 0.5766 GB, free: 7.016 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001508/0.4265, allocations: 1.745 MB / 0.5783 GB, free: 5.242 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002068/0.4286, allocations: 1.519 MB / 0.5798 GB, free: 3.723 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001157/0.4297, allocations: 1.129 MB / 0.5809 GB, free: 2.594 MB / 442.7 MB Notification: Performance of SimCode: time 1.163e-06/0.4297, allocations: 0 / 0.5809 GB, free: 2.594 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1991/0.6288, allocations: 65.49 MB / 0.6448 GB, free: 145.4 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.139/9.768, allocations: 11 kB / 0.6448 GB, free: 145.4 MB / 474.7 MB " [Timeout remaining time 650] (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 --stepSize=0.00079968 --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) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.646857637912035]