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.001311/0.001311, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001965/0.001965, allocations: 210.8 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.444/1.444, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001472/0.001472, allocations: 55.91 kB / 377.7 MB, free: 2.922 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2344/0.2358, allocations: 53.36 MB / 431.1 MB, free: 6.609 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008429/0.2443, allocations: 6.237 MB / 437.3 MB, free: 352 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006125/0.2504, allocations: 2.971 MB / 440.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008459/0.2512, allocations: 39.81 kB / 440.3 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001961/0.2532, allocations: 0.8912 MB / 441.2 MB, free: 12.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003101/0.2563, allocations: 1.378 MB / 442.6 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001038/0.2573, allocations: 0.5264 MB / 443.1 MB, free: 10.52 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003495/0.2608, allocations: 2.75 MB / 445.9 MB, free: 7.766 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00145/0.2623, allocations: 1.233 MB / 447.1 MB, free: 6.52 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001121/0.2634, allocations: 0.872 MB / 448 MB, free: 5.645 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002951/0.2663, allocations: 2.26 MB / 450.2 MB, free: 3.379 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004086/0.2668, allocations: 180 kB / 450.4 MB, free: 3.203 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001566/0.2683, allocations: 0.8775 MB / 451.3 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001079/0.2694, allocations: 1.141 MB / 452.4 MB, free: 1.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001034/0.2704, allocations: 0.9394 MB / 453.4 MB, free: 240 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004631/0.2751, allocations: 4.42 MB / 457.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2751, allocations: 0 / 457.8 MB, free: 11.8 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.793e-06/0.2751, allocations: 3.938 kB / 457.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.631e-05/0.2751, allocations: 0 / 457.8 MB, free: 11.79 MB / 366.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.008721/0.2839, allocations: 3.363 MB / 461.2 MB, free: 8.387 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.2839, allocations: 12.03 kB / 461.2 MB, free: 8.375 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006167/0.2845, allocations: 466.3 kB / 461.6 MB, free: 7.91 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006154/0.2907, allocations: 1.668 MB / 463.3 MB, free: 6.238 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004624/0.2953, allocations: 1.684 MB / 465 MB, free: 4.523 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001142/0.2954, allocations: 127.2 kB / 465.1 MB, free: 4.398 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004462/0.2959, allocations: 171.8 kB / 465.3 MB, free: 4.23 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01044/0.3063, allocations: 6.625 MB / 471.9 MB, free: 13.06 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.878e-05/0.3064, allocations: 39.64 kB / 471.9 MB, free: 13.02 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002477/0.3066, allocations: 87.89 kB / 472 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00203/0.3087, allocations: 1.327 MB / 473.3 MB, free: 11.61 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01084/0.3195, allocations: 5.831 MB / 479.2 MB, free: 5.77 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03902/0.3585, allocations: 27.03 MB / 0.4943 GB, free: 9.891 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0062/0.3647, allocations: 2.244 MB / 0.4965 GB, free: 7.602 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00187/0.3666, allocations: 1.22 MB / 0.4977 GB, free: 6.367 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005238/0.3671, allocations: 180.2 kB / 0.4979 GB, free: 6.191 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.826e-05/0.3672, allocations: 55 kB / 0.498 GB, free: 6.129 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 2.855e-06/0.3672, allocations: 0 / 0.498 GB, free: 6.129 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07366/0.4408, allocations: 20.97 MB / 0.5184 GB, free: 1.102 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.441, allocations: 167.2 kB / 0.5186 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004372/0.4453, allocations: 2.986 MB / 0.5215 GB, free: 13.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004793/0.4458, allocations: 45.7 kB / 0.5215 GB, free: 13.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001919/0.4477, allocations: 2.167 MB / 0.5237 GB, free: 11.65 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009818/0.4487, allocations: 0.6512 MB / 0.5243 GB, free: 11 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00154/0.4503, allocations: 1.004 MB / 0.5253 GB, free: 9.98 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4504, allocations: 305.1 kB / 0.5256 GB, free: 9.68 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003373/0.4538, allocations: 2.223 MB / 0.5277 GB, free: 7.449 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005806/0.4596, allocations: 5.138 MB / 0.5328 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01069/0.4703, allocations: 7.959 MB / 0.5405 GB, free: 7.453 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001033/0.4704, allocations: 35.88 kB / 0.5406 GB, free: 7.418 MB / 462.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.2505/0.7209, allocations: 10.24 MB / 0.5506 GB, free: 110.4 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.27e-05/0.721, allocations: 48.12 kB / 0.5506 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001613/0.7211, allocations: 103.4 kB / 0.5507 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01174/0.7329, allocations: 3.434 MB / 0.5541 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003434/0.7363, allocations: 1.088 MB / 0.5551 GB, free: 110.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01582/0.7521, allocations: 12.6 MB / 0.5674 GB, free: 105 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004293/0.7564, allocations: 336.4 kB / 0.5678 GB, free: 104.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007685/0.7572, allocations: 308 kB / 0.568 GB, free: 104.8 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.002196/0.7594, allocations: 1.462 MB / 0.5695 GB, free: 103.6 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006156/0.76, allocations: 260 kB / 0.5697 GB, free: 103.5 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01411/0.7741, allocations: 5.974 MB / 0.5756 GB, free: 97.47 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-05/0.7742, allocations: 31.98 kB / 0.5756 GB, free: 97.44 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.047e-05/0.7742, allocations: 8 kB / 0.5756 GB, free: 97.43 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.951e-05/0.7742, allocations: 3.984 kB / 0.5756 GB, free: 97.43 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02495/0.7992, allocations: 12.81 MB / 0.5881 GB, free: 84.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.008e-05/0.7992, allocations: 4 kB / 0.5881 GB, free: 84.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001103/0.8003, allocations: 231.7 kB / 0.5883 GB, free: 84.45 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01121/0.8115, allocations: 4.012 MB / 0.5923 GB, free: 80.42 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003222/0.8118, allocations: 43.95 kB / 0.5923 GB, free: 80.38 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01479/0.8266, allocations: 12.6 MB / 0.6046 GB, free: 67.72 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.8266, allocations: 0 / 0.6046 GB, free: 67.72 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01807/0.8447, allocations: 10.08 MB / 0.6144 GB, free: 57.75 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007339/0.8454, allocations: 234.7 kB / 0.6147 GB, free: 57.54 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004002/0.8458, allocations: 36.97 kB / 0.6147 GB, free: 57.5 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.8474, allocations: 183.7 kB / 0.6149 GB, free: 57.32 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004273/0.8478, allocations: 120.7 kB / 0.615 GB, free: 57.21 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001557/0.848, allocations: 52.22 kB / 0.615 GB, free: 57.16 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002232/0.8502, allocations: 1.734 MB / 0.6167 GB, free: 55.41 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.8502, allocations: 4 kB / 0.6167 GB, free: 55.41 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.00396/0.8542, allocations: 0.8065 MB / 0.6175 GB, free: 54.61 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.0183/0.8725, allocations: 10.72 MB / 0.628 GB, free: 43.86 MB / 462.1 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.008813/0.8813, allocations: 5.57 MB / 0.6334 GB, free: 38.28 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.8813, allocations: 0 / 0.6334 GB, free: 38.28 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004368/0.8857, allocations: 2.272 MB / 0.6357 GB, free: 35.98 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002028/0.8877, allocations: 291.9 kB / 0.6359 GB, free: 35.7 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06461/0.9523, allocations: 42.36 MB / 0.6773 GB, free: 5.059 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002263/0.9546, allocations: 1.752 MB / 0.679 GB, free: 3.273 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003196/0.9578, allocations: 1.503 MB / 0.6805 GB, free: 1.766 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001652/0.9594, allocations: 1.128 MB / 0.6816 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of SimCode: time 2.645e-06/0.9594, allocations: 0 / 0.6816 GB, free: 0.6367 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4618/1.421, allocations: 66.22 MB / 0.7462 GB, free: 188.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.65/16.08, allocations: 8.797 kB / 0.7463 GB, free: 188.5 MB / 0.5294 GB " [Timeout remaining time 644] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/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: 18.85694970897748]