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.001438/0.001438, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 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.001602/0.001602, allocations: 205.6 kB / 23.72 MB, free: 4.391 MB / 14.72 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 5.862/5.862, allocations: 230.5 MB / 257.4 MB, free: 7.75 MB / 206.1 MB " [Timeout remaining time 174] 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 0.002324/0.002324, allocations: 71.88 kB / 377.7 MB, free: 2.824 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3327, allocations: 53.41 MB / 431.1 MB, free: 6.473 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008619/0.3413, allocations: 6.222 MB / 437.4 MB, free: 228 kB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006429/0.3477, allocations: 2.983 MB / 440.4 MB, free: 13.23 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007708/0.3485, allocations: 35.88 kB / 440.4 MB, free: 13.2 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002074/0.3506, allocations: 0.8834 MB / 441.3 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003179/0.3537, allocations: 1.382 MB / 442.7 MB, free: 10.92 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.3548, allocations: 0.5225 MB / 443.2 MB, free: 10.4 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003646/0.3585, allocations: 2.758 MB / 445.9 MB, free: 7.637 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001558/0.36, allocations: 1.221 MB / 447.2 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001244/0.3613, allocations: 0.8758 MB / 448 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002813/0.3641, allocations: 2.217 MB / 450.2 MB, free: 3.301 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004163/0.3645, allocations: 176 kB / 450.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001678/0.3662, allocations: 0.8697 MB / 451.3 MB, free: 2.258 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001148/0.3673, allocations: 1.145 MB / 452.4 MB, free: 1.109 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001061/0.3684, allocations: 0.9472 MB / 453.4 MB, free: 160 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004931/0.3733, allocations: 4.412 MB / 457.8 MB, free: 11.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3733, allocations: 4 kB / 457.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.3733, allocations: 0 / 457.8 MB, free: 11.72 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.945e-05/0.3734, allocations: 0 / 457.8 MB, free: 11.72 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.008048/0.3814, allocations: 3.365 MB / 461.2 MB, free: 8.312 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.14e-05/0.3815, allocations: 11.98 kB / 461.2 MB, free: 8.301 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005941/0.3821, allocations: 466.3 kB / 461.6 MB, free: 7.836 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005942/0.388, allocations: 1.68 MB / 463.3 MB, free: 6.152 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004047/0.3921, allocations: 1.681 MB / 465 MB, free: 4.438 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001121/0.3922, allocations: 123.1 kB / 465.1 MB, free: 4.316 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003737/0.3926, allocations: 179.8 kB / 465.3 MB, free: 4.141 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/0.4029, allocations: 6.621 MB / 471.9 MB, free: 12.97 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.728e-05/0.403, allocations: 31.7 kB / 471.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002394/0.4032, allocations: 91.91 kB / 472 MB, free: 12.85 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002133/0.4054, allocations: 1.323 MB / 473.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01085/0.4162, allocations: 5.831 MB / 479.2 MB, free: 5.695 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03722/0.4534, allocations: 27.03 MB / 0.4944 GB, free: 9.812 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006109/0.4596, allocations: 2.24 MB / 0.4965 GB, free: 7.527 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001719/0.4613, allocations: 1.224 MB / 0.4977 GB, free: 6.289 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005231/0.4618, allocations: 180.2 kB / 0.4979 GB, free: 6.113 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.709e-05/0.4618, allocations: 47.06 kB / 0.498 GB, free: 6.059 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.556e-06/0.4618, allocations: 0 / 0.498 GB, free: 6.059 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07672/0.5386, allocations: 20.96 MB / 0.5184 GB, free: 1.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001266/0.5387, allocations: 175.2 kB / 0.5186 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005756/0.5444, allocations: 2.982 MB / 0.5215 GB, free: 13.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003835/0.5448, allocations: 49.61 kB / 0.5215 GB, free: 13.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00199/0.5468, allocations: 2.163 MB / 0.5237 GB, free: 11.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001017/0.5478, allocations: 0.6551 MB / 0.5243 GB, free: 10.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00221/0.55, allocations: 1.004 MB / 0.5253 GB, free: 9.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.5502, allocations: 309.1 kB / 0.5256 GB, free: 9.605 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003876/0.5541, allocations: 2.215 MB / 0.5277 GB, free: 7.383 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006854/0.561, allocations: 5.142 MB / 0.5328 GB, free: 0.7852 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01345/0.5744, allocations: 7.954 MB / 0.5405 GB, free: 7.383 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002108/0.5746, allocations: 32 kB / 0.5406 GB, free: 7.352 MB / 462.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.371/0.9456, allocations: 10.25 MB / 0.5506 GB, free: 110.2 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.27e-05/0.9457, allocations: 48.25 kB / 0.5506 GB, free: 110.2 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000139/0.9458, allocations: 105.9 kB / 0.5507 GB, free: 110.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01127/0.9571, allocations: 3.42 MB / 0.5541 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00358/0.9607, allocations: 1.083 MB / 0.5551 GB, free: 110.1 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01616/0.9768, allocations: 12.62 MB / 0.5674 GB, free: 104.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003717/0.9805, allocations: 342 kB / 0.5678 GB, free: 104.6 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004437/0.981, allocations: 304.4 kB / 0.5681 GB, free: 104.6 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.001969/0.983, allocations: 1.464 MB / 0.5695 GB, free: 103.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004826/0.9834, allocations: 259.5 kB / 0.5697 GB, free: 103.2 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0135/0.9969, allocations: 5.97 MB / 0.5756 GB, free: 97.21 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-05/0.997, allocations: 35.83 kB / 0.5756 GB, free: 97.18 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.999e-05/0.997, allocations: 15.17 kB / 0.5756 GB, free: 97.17 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.18e-05/0.997, allocations: 3.984 kB / 0.5756 GB, free: 97.16 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02407/1.021, allocations: 12.8 MB / 0.5881 GB, free: 84.42 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-05/1.021, allocations: 0 / 0.5881 GB, free: 84.42 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/1.022, allocations: 231.7 kB / 0.5883 GB, free: 84.2 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01068/1.033, allocations: 4.008 MB / 0.5923 GB, free: 80.16 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002413/1.033, allocations: 47.95 kB / 0.5923 GB, free: 80.12 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01424/1.047, allocations: 12.6 MB / 0.6046 GB, free: 67.46 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/1.047, allocations: 0 / 0.6046 GB, free: 67.46 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01747/1.065, allocations: 10.08 MB / 0.6144 GB, free: 57.49 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001287/1.066, allocations: 239.7 kB / 0.6147 GB, free: 57.28 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004122/1.066, allocations: 35.98 kB / 0.6147 GB, free: 57.25 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001642/1.068, allocations: 187.3 kB / 0.6149 GB, free: 57.07 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004561/1.069, allocations: 121.8 kB / 0.615 GB, free: 56.95 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001493/1.069, allocations: 51.97 kB / 0.6151 GB, free: 56.9 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.002257/1.071, allocations: 1.734 MB / 0.6167 GB, free: 55.16 MB / 462.1 MB Notification: Performance of sort global known variables: time 9.1e-08/1.071, allocations: 0 / 0.6167 GB, free: 55.16 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003702/1.075, allocations: 0.8092 MB / 0.6175 GB, free: 54.35 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.01736/1.092, allocations: 10.71 MB / 0.628 GB, free: 43.6 MB / 462.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.008514/1.101, allocations: 5.57 MB / 0.6334 GB, free: 38.03 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.882e-06/1.101, allocations: 4 kB / 0.6334 GB, free: 38.03 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004072/1.105, allocations: 2.274 MB / 0.6357 GB, free: 35.73 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001845/1.106, allocations: 282.7 kB / 0.6359 GB, free: 35.45 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06294/1.169, allocations: 42.38 MB / 0.6773 GB, free: 4.797 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002364/1.172, allocations: 1.747 MB / 0.679 GB, free: 3.02 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003286/1.175, allocations: 1.507 MB / 0.6805 GB, free: 1.508 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001516/1.177, allocations: 1.12 MB / 0.6816 GB, free: 396 kB / 478.1 MB Notification: Performance of SimCode: time 1.523e-06/1.177, allocations: 4 kB / 0.6816 GB, free: 392 kB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7949/1.971, allocations: 63.98 MB / 0.7441 GB, free: 191.9 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.96/16.93, allocations: 4.594 kB / 0.7441 GB, free: 191.9 MB / 0.5294 GB " [Timeout remaining time 643] (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/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_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: 24.327315111644566]