Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 83.62 kB / 21.43 MB, free: 3.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.005219/0.005219, allocations: 166.2 kB / 24.7 MB, free: 8.887 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8652/0.8652, allocations: 158.6 MB / 186.5 MB, free: 3.031 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 298.4 MB, free: 3.508 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.678e-05/1.818e-05, allocations: 2.281 kB / 298.4 MB, free: 3.504 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.1189/0.1189, allocations: 6.249 MB / 304.7 MB, free: 12.49 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003741/0.1226, allocations: 2.964 MB / 307.7 MB, free: 11.04 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005328/0.1232, allocations: 39.25 kB / 307.7 MB, free: 11.03 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.1245, allocations: 0.9266 MB / 308.6 MB, free: 10.64 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002129/0.1266, allocations: 1.443 MB / 310.1 MB, free: 10.02 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007563/0.1274, allocations: 0.5816 MB / 310.7 MB, free: 9.797 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003293/0.1307, allocations: 4.022 MB / 314.7 MB, free: 8.555 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001675/0.1323, allocations: 1.815 MB / 316.5 MB, free: 7.801 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001642/0.134, allocations: 1.438 MB / 317.9 MB, free: 6.922 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001473/0.1354, allocations: 1.706 MB / 319.6 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002716/0.1357, allocations: 184.5 kB / 319.8 MB, free: 6.02 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001146/0.1369, allocations: 0.9249 MB / 320.7 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006134/0.1375, allocations: 1.212 MB / 322 MB, free: 4.93 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000592/0.1381, allocations: 0.7444 MB / 322.7 MB, free: 4.5 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002696/0.1408, allocations: 4.513 MB / 327.2 MB, free: 1.477 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.1408, allocations: 1.688 kB / 327.2 MB, free: 1.477 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.1408, allocations: 1.406 kB / 327.2 MB, free: 1.477 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.336e-05/0.1408, allocations: 4 kB / 327.2 MB, free: 1.473 MB / 282.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.004545/0.1454, allocations: 3.329 MB / 330.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.1454, allocations: 11.98 kB / 330.6 MB, free: 14.53 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003634/0.1458, allocations: 470.3 kB / 331 MB, free: 14.06 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003211/0.149, allocations: 1.743 MB / 332.8 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001975/0.151, allocations: 1.695 MB / 334.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.179e-05/0.151, allocations: 123.7 kB / 334.6 MB, free: 10.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002199/0.1512, allocations: 175.8 kB / 334.7 MB, free: 10.3 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005874/0.1571, allocations: 6.597 MB / 341.3 MB, free: 3.16 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.812e-05/0.1572, allocations: 27.75 kB / 341.4 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/0.1573, allocations: 83.91 kB / 341.5 MB, free: 3.047 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001389/0.1587, allocations: 1.335 MB / 342.8 MB, free: 1.715 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007046/0.1658, allocations: 5.771 MB / 348.6 MB, free: 11.94 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02233/0.1881, allocations: 27.25 MB / 375.8 MB, free: 15.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003627/0.1917, allocations: 2.29 MB / 378.1 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/0.1927, allocations: 1.228 MB / 379.3 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003001/0.193, allocations: 188.1 kB / 379.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1931, allocations: 51 kB / 379.6 MB, free: 12.03 MB / 346.7 MB Notification: Performance of pre-optimization done (n=129): time 4.218e-06/0.1931, allocations: 0 / 379.6 MB, free: 12.03 MB / 346.7 MB Notification: Performance of matching and sorting (n=163): time 0.04025/0.2333, allocations: 21.49 MB / 401 MB, free: 6.496 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/0.2334, allocations: 171.2 kB / 401.2 MB, free: 6.289 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003385/0.2368, allocations: 3.209 MB / 404.4 MB, free: 3.062 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003319/0.2371, allocations: 45.7 kB / 404.5 MB, free: 3.012 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001072/0.2382, allocations: 2.136 MB / 406.6 MB, free: 0.8516 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008693/0.2391, allocations: 0.6511 MB / 407.3 MB, free: 200 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001037/0.2401, allocations: 0.9886 MB / 408.2 MB, free: 15.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.895e-05/0.2402, allocations: 309 kB / 408.5 MB, free: 14.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002303/0.2425, allocations: 2.219 MB / 410.8 MB, free: 12.66 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00374/0.2462, allocations: 5.138 MB / 415.9 MB, free: 6.07 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007165/0.2534, allocations: 7.959 MB / 423.9 MB, free: 12.67 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.241e-05/0.2535, allocations: 32 kB / 423.9 MB, free: 12.64 MB / 394.7 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.01535/0.2688, allocations: 10.24 MB / 434.1 MB, free: 2.359 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.614e-05/0.2689, allocations: 48 kB / 434.2 MB, free: 2.312 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.604e-05/0.269, allocations: 104 kB / 434.3 MB, free: 2.211 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00643/0.2754, allocations: 3.431 MB / 437.7 MB, free: 14.75 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002381/0.2778, allocations: 1.084 MB / 438.8 MB, free: 13.67 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01409/0.2919, allocations: 12.67 MB / 451.5 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/0.2946, allocations: 371.4 kB / 451.8 MB, free: 0.5156 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004302/0.295, allocations: 308 kB / 452.1 MB, free: 220 kB / 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.001912/0.2969, allocations: 1.465 MB / 453.6 MB, free: 14.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003928/0.2973, allocations: 262.3 kB / 453.9 MB, free: 14.48 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009034/0.3064, allocations: 5.971 MB / 459.8 MB, free: 8.465 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.035e-05/0.3064, allocations: 31.94 kB / 459.9 MB, free: 8.434 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.509e-05/0.3064, allocations: 8 kB / 459.9 MB, free: 8.426 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.343e-05/0.3064, allocations: 7.969 kB / 459.9 MB, free: 8.418 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1491/0.4555, allocations: 12.91 MB / 472.8 MB, free: 136.4 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/0.4556, allocations: 1.469 kB / 472.8 MB, free: 136.4 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008189/0.4564, allocations: 236.6 kB / 473 MB, free: 136.4 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.007251/0.4636, allocations: 4.013 MB / 477 MB, free: 136.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002251/0.4639, allocations: 46.05 kB / 477.1 MB, free: 136.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0115/0.4753, allocations: 12.66 MB / 489.7 MB, free: 131 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.4753, allocations: 0 / 489.7 MB, free: 131 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01081/0.4862, allocations: 10.07 MB / 499.8 MB, free: 126.8 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006081/0.4868, allocations: 271.4 kB / 0.4883 GB, free: 126.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002447/0.487, allocations: 41.2 kB / 0.4884 GB, free: 126.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009184/0.4879, allocations: 221.5 kB / 0.4886 GB, free: 126.7 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002646/0.4882, allocations: 116.1 kB / 0.4887 GB, free: 126.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.231e-05/0.4883, allocations: 50.66 kB / 0.4888 GB, free: 126.6 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001809/0.4901, allocations: 1.915 MB / 0.4906 GB, free: 125.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4901, allocations: 0 / 0.4906 GB, free: 125.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002412/0.4925, allocations: 0.932 MB / 0.4915 GB, free: 125.4 MB / 426.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.01033/0.5028, allocations: 10.74 MB / 0.502 GB, free: 114.8 MB / 426.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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 3.2.3+maint.om/Mechanics/MultiBody/Parts.mo:2605:5-2609:74: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.00543/0.5083, allocations: 5.563 MB / 0.5075 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.5083, allocations: 0 / 0.5075 GB, free: 109.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002328/0.5106, allocations: 2.27 MB / 0.5097 GB, free: 107 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001447/0.512, allocations: 298.5 kB / 0.51 GB, free: 106.8 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0409/0.5529, allocations: 42.87 MB / 0.5518 GB, free: 59.67 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001401/0.5543, allocations: 1.757 MB / 0.5535 GB, free: 57.88 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001914/0.5563, allocations: 1.511 MB / 0.555 GB, free: 56.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009249/0.5572, allocations: 1.137 MB / 0.5561 GB, free: 55.23 MB / 426.7 MB Notification: Performance of SimCode: time 1.994e-06/0.5572, allocations: 0 / 0.5561 GB, free: 55.23 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1884/0.7455, allocations: 66.05 MB / 0.6206 GB, free: 149.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.665/10.41, allocations: 5.109 kB / 0.6206 GB, free: 149.3 MB / 442.7 MB " [Timeout remaining time 649] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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: 12.228934925980866]