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.001655/0.001655, allocations: 112.5 kB / 20.43 MB, free: 1.453 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.002182/0.002182, allocations: 212.3 kB / 23.74 MB, free: 4.66 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 1.437/1.437, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] 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.00207/0.00207, allocations: 63.91 kB / 377.8 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2553/0.2574, allocations: 53.42 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.009055/0.2664, allocations: 7.066 MB / 438.3 MB, free: 15.6 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006391/0.2728, allocations: 3.205 MB / 441.5 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007881/0.2736, allocations: 35.81 kB / 441.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002162/0.2758, allocations: 0.9107 MB / 442.4 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003629/0.2794, allocations: 1.37 MB / 443.8 MB, free: 10.06 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00113/0.2805, allocations: 0.5264 MB / 444.3 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004069/0.2846, allocations: 2.758 MB / 447.1 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002142/0.2868, allocations: 1.223 MB / 448.3 MB, free: 5.531 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001498/0.2883, allocations: 0.8759 MB / 449.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003422/0.2917, allocations: 2.252 MB / 451.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005232/0.2922, allocations: 183.9 kB / 451.6 MB, free: 2.215 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.2943, allocations: 1.006 MB / 452.6 MB, free: 1.207 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001358/0.2957, allocations: 1.141 MB / 453.7 MB, free: 64 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002005/0.2977, allocations: 1.301 MB / 455 MB, free: 14.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005775/0.3035, allocations: 4.405 MB / 459.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.3035, allocations: 0 / 459.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.3035, allocations: 0 / 459.4 MB, free: 10.34 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001266/0.3036, allocations: 0 / 459.4 MB, free: 10.34 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.009662/0.3133, allocations: 3.365 MB / 462.8 MB, free: 6.926 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.674e-05/0.3133, allocations: 12.03 kB / 462.8 MB, free: 6.914 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001076/0.3144, allocations: 466.3 kB / 463.3 MB, free: 6.449 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006141/0.3205, allocations: 1.676 MB / 465 MB, free: 4.77 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00399/0.3245, allocations: 1.68 MB / 466.6 MB, free: 3.055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/0.3246, allocations: 127.2 kB / 466.8 MB, free: 2.93 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000465/0.3251, allocations: 175.8 kB / 466.9 MB, free: 2.758 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/0.3357, allocations: 6.592 MB / 473.5 MB, free: 11.62 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.798e-05/0.3358, allocations: 35.7 kB / 473.6 MB, free: 11.59 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002536/0.3361, allocations: 87.89 kB / 473.6 MB, free: 11.5 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002217/0.3383, allocations: 1.327 MB / 475 MB, free: 10.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01074/0.349, allocations: 5.839 MB / 480.8 MB, free: 4.336 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03656/0.3856, allocations: 27.91 MB / 0.4968 GB, free: 7.578 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00596/0.3915, allocations: 2.243 MB / 0.499 GB, free: 5.293 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001694/0.3932, allocations: 1.228 MB / 0.5002 GB, free: 4.051 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005595/0.3938, allocations: 188.2 kB / 0.5004 GB, free: 3.867 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.72e-05/0.3938, allocations: 43.06 kB / 0.5004 GB, free: 3.816 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.727e-06/0.3938, allocations: 0 / 0.5004 GB, free: 3.816 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.0703/0.4641, allocations: 20.92 MB / 0.5208 GB, free: 14.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001102/0.4642, allocations: 171.2 kB / 0.521 GB, free: 14.63 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003907/0.4682, allocations: 2.804 MB / 0.5237 GB, free: 11.81 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003097/0.4685, allocations: 45.7 kB / 0.5238 GB, free: 11.76 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001762/0.4702, allocations: 2.167 MB / 0.5259 GB, free: 9.566 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008858/0.4711, allocations: 0.6628 MB / 0.5265 GB, free: 8.898 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001473/0.4726, allocations: 0.9965 MB / 0.5275 GB, free: 7.891 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4727, allocations: 305.2 kB / 0.5278 GB, free: 7.59 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00377/0.4765, allocations: 2.227 MB / 0.53 GB, free: 5.355 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2189/0.6954, allocations: 5.134 MB / 0.535 GB, free: 97.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00901/0.7044, allocations: 7.959 MB / 0.5428 GB, free: 91.57 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001058/0.7045, allocations: 29.34 kB / 0.5428 GB, free: 91.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02031/0.7249, allocations: 10.25 MB / 0.5528 GB, free: 88.33 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.963e-05/0.7249, allocations: 53 kB / 0.5529 GB, free: 88.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.423e-05/0.725, allocations: 105.1 kB / 0.553 GB, free: 88.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/0.735, allocations: 3.426 MB / 0.5563 GB, free: 87.18 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002942/0.738, allocations: 1.088 MB / 0.5574 GB, free: 86.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01495/0.7529, allocations: 12.74 MB / 0.5698 GB, free: 73.29 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003709/0.7566, allocations: 336.5 kB / 0.5701 GB, free: 72.98 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003904/0.757, allocations: 304 kB / 0.5704 GB, free: 72.69 MB / 446.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.00167/0.7587, allocations: 1.464 MB / 0.5718 GB, free: 71.28 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/0.7591, allocations: 260.8 kB / 0.5721 GB, free: 71.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01358/0.7726, allocations: 5.976 MB / 0.5779 GB, free: 65.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.697e-05/0.7727, allocations: 31.98 kB / 0.578 GB, free: 65.14 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.916e-05/0.7727, allocations: 8.875 kB / 0.578 GB, free: 65.13 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.387e-05/0.7728, allocations: 7.984 kB / 0.578 GB, free: 65.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02424/0.797, allocations: 13.18 MB / 0.5908 GB, free: 51.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-05/0.797, allocations: 7.5 kB / 0.5909 GB, free: 51.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009872/0.798, allocations: 235.7 kB / 0.5911 GB, free: 51.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01041/0.8084, allocations: 4.011 MB / 0.595 GB, free: 47.71 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003257/0.8087, allocations: 47.95 kB / 0.595 GB, free: 47.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01501/0.8238, allocations: 12.72 MB / 0.6075 GB, free: 34.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.8238, allocations: 4 kB / 0.6075 GB, free: 34.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01723/0.841, allocations: 10.07 MB / 0.6173 GB, free: 24.71 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006581/0.8416, allocations: 237.2 kB / 0.6175 GB, free: 24.49 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003672/0.842, allocations: 35.98 kB / 0.6176 GB, free: 24.45 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001461/0.8435, allocations: 187.4 kB / 0.6177 GB, free: 24.27 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003978/0.8439, allocations: 120.3 kB / 0.6179 GB, free: 24.16 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001383/0.844, allocations: 51.97 kB / 0.6179 GB, free: 24.11 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002075/0.8461, allocations: 1.738 MB / 0.6196 GB, free: 22.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.8461, allocations: 0 / 0.6196 GB, free: 22.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003751/0.8498, allocations: 0.8089 MB / 0.6204 GB, free: 21.56 MB / 446.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.01794/0.8678, allocations: 10.71 MB / 0.6308 GB, free: 10.81 MB / 446.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.008685/0.8765, allocations: 5.58 MB / 0.6363 GB, free: 5.227 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.8765, allocations: 0 / 0.6363 GB, free: 5.227 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004062/0.8805, allocations: 2.264 MB / 0.6385 GB, free: 2.934 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.8826, allocations: 299.4 kB / 0.6388 GB, free: 2.645 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0735/0.9561, allocations: 42.38 MB / 0.6802 GB, free: 3.965 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002645/0.9587, allocations: 2.314 MB / 0.6824 GB, free: 1.621 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003241/0.962, allocations: 1.507 MB / 0.6839 GB, free: 112 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001818/0.9638, allocations: 1.131 MB / 0.685 GB, free: 15 MB / 0.4981 GB Notification: Performance of SimCode: time 9.92e-07/0.9638, allocations: 4 kB / 0.685 GB, free: 15 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3251/1.289, allocations: 67.41 MB / 0.7508 GB, free: 180.4 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.97/19.26, allocations: 6.031 kB / 0.7509 GB, free: 180.4 MB / 0.5294 GB " [Timeout remaining time 641] (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: 22.032089065993205]