Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_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.0009504/0.0009504, allocations: 79.7 kB / 20.67 MB, free: 3.891 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.001139/0.001139, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9051/0.9051, allocations: 177.1 MB / 204.2 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.713e-05/1.849e-05, allocations: 4.531 kB / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.005392/0.005411, allocations: 6.246 MB / 330.8 MB, free: 9.656 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004019/0.00943, allocations: 2.991 MB / 333.8 MB, free: 6.656 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005456/0.009975, allocations: 39.81 kB / 333.9 MB, free: 6.617 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00111/0.01109, allocations: 0.9222 MB / 334.8 MB, free: 5.691 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001881/0.01297, allocations: 1.42 MB / 336.2 MB, free: 4.266 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006452/0.01361, allocations: 0.5808 MB / 336.8 MB, free: 3.684 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002913/0.01653, allocations: 4.172 MB / 340.9 MB, free: 15.5 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001992/0.01852, allocations: 1.793 MB / 342.7 MB, free: 13.7 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002034/0.02055, allocations: 1.43 MB / 344.2 MB, free: 12.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.02211, allocations: 1.688 MB / 345.9 MB, free: 10.57 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002518/0.02236, allocations: 188 kB / 346 MB, free: 10.39 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00104/0.0234, allocations: 0.9085 MB / 347 MB, free: 9.48 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006943/0.0241, allocations: 1.192 MB / 348.1 MB, free: 8.285 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000605/0.0247, allocations: 0.7281 MB / 348.9 MB, free: 7.555 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003669/0.02837, allocations: 4.47 MB / 353.3 MB, free: 3.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.02838, allocations: 0 / 353.3 MB, free: 3.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.02838, allocations: 0 / 353.3 MB, free: 3.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.77e-05/0.02845, allocations: 0 / 353.3 MB, free: 3.07 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.005173/0.03362, allocations: 3.403 MB / 356.7 MB, free: 15.62 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.03366, allocations: 8.031 kB / 356.8 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00038/0.03404, allocations: 466.3 kB / 357.2 MB, free: 15.15 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003083/0.03713, allocations: 1.738 MB / 358.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001818/0.03894, allocations: 1.511 MB / 360.5 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.03901, allocations: 131.3 kB / 360.6 MB, free: 11.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002168/0.03922, allocations: 171.8 kB / 360.8 MB, free: 11.56 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005703/0.04493, allocations: 6.594 MB / 367.3 MB, free: 4.422 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.179e-05/0.04498, allocations: 35.75 kB / 367.4 MB, free: 4.387 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001693/0.04515, allocations: 83.89 kB / 367.5 MB, free: 4.305 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001098/0.04624, allocations: 1.327 MB / 368.8 MB, free: 2.98 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006251/0.0525, allocations: 5.773 MB / 374.6 MB, free: 13.2 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01889/0.07139, allocations: 27.17 MB / 401.7 MB, free: 1.184 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003108/0.0745, allocations: 2.307 MB / 404 MB, free: 14.83 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009147/0.07541, allocations: 1.22 MB / 405.3 MB, free: 13.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002651/0.07568, allocations: 184.2 kB / 405.4 MB, free: 13.42 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.0757, allocations: 51 kB / 405.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 3.667e-06/0.07571, allocations: 0 / 405.5 MB, free: 13.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=163): time 0.03578/0.1115, allocations: 21.38 MB / 426.9 MB, free: 7.922 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.64e-05/0.1116, allocations: 175.2 kB / 427 MB, free: 7.711 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002738/0.1143, allocations: 3.146 MB / 430.2 MB, free: 4.547 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001719/0.1145, allocations: 45.7 kB / 430.2 MB, free: 4.496 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008951/0.1154, allocations: 2.14 MB / 432.4 MB, free: 2.332 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004593/0.1158, allocations: 0.655 MB / 433 MB, free: 1.672 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008366/0.1167, allocations: 0.977 MB / 434 MB, free: 0.6836 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.422e-05/0.1167, allocations: 317.1 kB / 434.3 MB, free: 380 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002051/0.1188, allocations: 2.215 MB / 436.5 MB, free: 14.15 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003195/0.122, allocations: 5.142 MB / 441.7 MB, free: 7.551 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1437/0.2657, allocations: 7.945 MB / 449.6 MB, free: 110 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001227/0.2658, allocations: 33.72 kB / 449.6 MB, free: 110 MB / 410.7 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.01371/0.2795, allocations: 10.26 MB / 459.9 MB, free: 107.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.011e-05/0.2796, allocations: 48.34 kB / 460 MB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.837e-05/0.2797, allocations: 104 kB / 460.1 MB, free: 107.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00543/0.2851, allocations: 3.427 MB / 463.5 MB, free: 106.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001677/0.2868, allocations: 1.088 MB / 464.6 MB, free: 105.4 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009767/0.2965, allocations: 12.66 MB / 477.2 MB, free: 92.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/0.299, allocations: 365.8 kB / 477.6 MB, free: 92.37 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003727/0.2993, allocations: 304 kB / 477.9 MB, free: 92.07 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.001532/0.3009, allocations: 1.455 MB / 479.3 MB, free: 90.68 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/0.3012, allocations: 271.9 kB / 479.6 MB, free: 90.55 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007334/0.3086, allocations: 5.97 MB / 485.6 MB, free: 84.55 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.132e-05/0.3086, allocations: 31.98 kB / 485.6 MB, free: 84.52 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.562e-05/0.3086, allocations: 8 kB / 485.6 MB, free: 84.52 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.3086, allocations: 7.969 kB / 485.6 MB, free: 84.51 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01427/0.3229, allocations: 12.89 MB / 498.5 MB, free: 71.66 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.3229, allocations: 0 / 498.5 MB, free: 71.66 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.3235, allocations: 234.9 kB / 498.7 MB, free: 71.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005688/0.3291, allocations: 4.009 MB / 0.491 GB, free: 67.4 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001457/0.3293, allocations: 53.66 kB / 0.491 GB, free: 67.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009568/0.3389, allocations: 12.66 MB / 0.5034 GB, free: 54.63 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.3389, allocations: 4 kB / 0.5034 GB, free: 54.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01021/0.3491, allocations: 10.08 MB / 0.5132 GB, free: 44.55 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005691/0.3496, allocations: 273.3 kB / 0.5135 GB, free: 44.29 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/0.3499, allocations: 35.98 kB / 0.5135 GB, free: 44.26 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008976/0.3508, allocations: 215.6 kB / 0.5137 GB, free: 44.05 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002682/0.351, allocations: 116.8 kB / 0.5138 GB, free: 43.93 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.579e-05/0.3511, allocations: 47.97 kB / 0.5139 GB, free: 43.89 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001507/0.3526, allocations: 1.879 MB / 0.5157 GB, free: 42 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.3526, allocations: 0 / 0.5157 GB, free: 42 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002631/0.3553, allocations: 0.9087 MB / 0.5166 GB, free: 41.1 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.01062/0.3659, allocations: 10.73 MB / 0.5271 GB, free: 30.33 MB / 410.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/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 4.1.0+maint.om/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.00561/0.3715, allocations: 5.546 MB / 0.5325 GB, free: 24.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.3715, allocations: 0 / 0.5325 GB, free: 24.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002343/0.3738, allocations: 2.289 MB / 0.5347 GB, free: 22.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001398/0.3752, allocations: 297.4 kB / 0.535 GB, free: 22.18 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04324/0.4185, allocations: 42.63 MB / 0.5766 GB, free: 7.254 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001484/0.42, allocations: 1.747 MB / 0.5783 GB, free: 5.48 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002103/0.4221, allocations: 1.511 MB / 0.5798 GB, free: 3.965 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001207/0.4233, allocations: 1.133 MB / 0.5809 GB, free: 2.832 MB / 442.7 MB Notification: Performance of SimCode: time 1.482e-06/0.4233, allocations: 0 / 0.5809 GB, free: 2.832 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1934/0.6167, allocations: 65.52 MB / 0.6449 GB, free: 145.8 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.021/9.638, allocations: 3.797 kB / 0.6449 GB, free: 145.8 MB / 474.7 MB " [Timeout remaining time 650] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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.488294512964785]