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.00124/0.00124, allocations: 109.1 kB / 21.22 MB, free: 0.7383 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.001382/0.001382, allocations: 210.7 kB / 24.53 MB, free: 4.098 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.351/1.351, allocations: 230.5 MB / 258.2 MB, free: 8.008 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001774/0.001774, allocations: 71.88 kB / 378.6 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.217, allocations: 53.41 MB / 432 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008428/0.2254, allocations: 7.066 MB / 439 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005766/0.2312, allocations: 3.205 MB / 442.2 MB, free: 12.38 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006323/0.2318, allocations: 35.88 kB / 442.3 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001823/0.2336, allocations: 0.9106 MB / 443.2 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003003/0.2366, allocations: 1.378 MB / 444.6 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.2377, allocations: 0.5224 MB / 445.1 MB, free: 9.523 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003561/0.2413, allocations: 2.758 MB / 447.9 MB, free: 6.762 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/0.2429, allocations: 1.22 MB / 449.1 MB, free: 5.527 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001301/0.2442, allocations: 0.8758 MB / 449.9 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003115/0.2473, allocations: 2.26 MB / 452.2 MB, free: 2.383 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005193/0.2478, allocations: 176 kB / 452.4 MB, free: 2.211 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00184/0.2496, allocations: 1.01 MB / 453.4 MB, free: 1.199 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001174/0.2508, allocations: 1.141 MB / 454.5 MB, free: 56 kB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001426/0.2522, allocations: 1.285 MB / 455.8 MB, free: 14.76 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005267/0.2575, allocations: 4.417 MB / 460.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.2575, allocations: 0 / 460.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.2575, allocations: 0 / 460.2 MB, free: 10.33 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.46e-05/0.2576, allocations: 0 / 460.2 MB, free: 10.33 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.007943/0.2655, allocations: 3.368 MB / 463.6 MB, free: 6.918 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.2656, allocations: 8.031 kB / 463.6 MB, free: 6.91 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.346e-05/0.2656, allocations: 59.45 kB / 463.7 MB, free: 6.852 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005378/0.2662, allocations: 462.3 kB / 464.1 MB, free: 6.391 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005967/0.2721, allocations: 1.676 MB / 465.8 MB, free: 4.711 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/0.2753, allocations: 1.684 MB / 467.5 MB, free: 2.992 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.593e-05/0.2754, allocations: 127.2 kB / 467.6 MB, free: 2.867 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003326/0.2757, allocations: 171.8 kB / 467.8 MB, free: 2.699 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009666/0.2854, allocations: 6.6 MB / 474.4 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.18e-05/0.2855, allocations: 31.7 kB / 474.4 MB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002501/0.2857, allocations: 95.83 kB / 474.5 MB, free: 11.43 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002043/0.2878, allocations: 1.319 MB / 475.8 MB, free: 10.12 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01034/0.2981, allocations: 5.843 MB / 481.7 MB, free: 4.27 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03301/0.3311, allocations: 27.9 MB / 0.4976 GB, free: 7.516 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005781/0.3369, allocations: 2.255 MB / 0.4998 GB, free: 5.219 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001675/0.3386, allocations: 1.22 MB / 0.501 GB, free: 3.984 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004809/0.3391, allocations: 184.2 kB / 0.5012 GB, free: 3.805 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.122e-05/0.3391, allocations: 51 kB / 0.5012 GB, free: 3.746 MB / 414.1 MB Notification: Performance of pre-optimization done (n=129): time 3.487e-06/0.3391, allocations: 0 / 0.5012 GB, free: 3.746 MB / 414.1 MB Notification: Performance of matching and sorting (n=163): time 0.07253/0.4116, allocations: 20.91 MB / 0.5217 GB, free: 14.77 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001212/0.4118, allocations: 171.2 kB / 0.5218 GB, free: 14.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004575/0.4163, allocations: 2.804 MB / 0.5246 GB, free: 11.75 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003461/0.4167, allocations: 45.7 kB / 0.5246 GB, free: 11.7 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001912/0.4186, allocations: 2.171 MB / 0.5267 GB, free: 9.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001332/0.4199, allocations: 0.659 MB / 0.5274 GB, free: 8.836 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002313/0.4222, allocations: 1 MB / 0.5283 GB, free: 7.824 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000153/0.4224, allocations: 305.1 kB / 0.5286 GB, free: 7.523 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003362/0.4258, allocations: 2.215 MB / 0.5308 GB, free: 5.301 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2081/0.6339, allocations: 5.138 MB / 0.5358 GB, free: 98.23 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007605/0.6415, allocations: 7.964 MB / 0.5436 GB, free: 92.55 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.273e-05/0.6416, allocations: 30 kB / 0.5436 GB, free: 92.55 MB / 446.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.01918/0.6608, allocations: 10.25 MB / 0.5536 GB, free: 89.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.218e-05/0.6608, allocations: 55.25 kB / 0.5537 GB, free: 89.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.315e-05/0.6609, allocations: 108.2 kB / 0.5538 GB, free: 89.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/0.6709, allocations: 3.426 MB / 0.5571 GB, free: 87.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002749/0.6737, allocations: 1.083 MB / 0.5582 GB, free: 86.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01438/0.6881, allocations: 12.74 MB / 0.5706 GB, free: 73.37 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003521/0.6916, allocations: 337.4 kB / 0.5709 GB, free: 73.06 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004765/0.6921, allocations: 304 kB / 0.5712 GB, free: 72.77 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.001588/0.6937, allocations: 1.464 MB / 0.5727 GB, free: 71.36 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003632/0.694, allocations: 260.8 kB / 0.5729 GB, free: 71.25 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01292/0.7069, allocations: 5.976 MB / 0.5788 GB, free: 65.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.951e-05/0.707, allocations: 28 kB / 0.5788 GB, free: 65.22 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.459e-05/0.707, allocations: 8 kB / 0.5788 GB, free: 65.21 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.145e-05/0.7071, allocations: 7.969 kB / 0.5788 GB, free: 65.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02376/0.7308, allocations: 13.2 MB / 0.5917 GB, free: 52.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-05/0.7309, allocations: 0 / 0.5917 GB, free: 52.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009844/0.7318, allocations: 228.5 kB / 0.5919 GB, free: 51.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0107/0.7425, allocations: 4.012 MB / 0.5958 GB, free: 47.79 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002579/0.7428, allocations: 47.39 kB / 0.5959 GB, free: 47.75 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01414/0.7569, allocations: 12.72 MB / 0.6083 GB, free: 34.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.7569, allocations: 0 / 0.6083 GB, free: 34.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01648/0.7734, allocations: 10.07 MB / 0.6181 GB, free: 24.79 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005224/0.7739, allocations: 245.2 kB / 0.6184 GB, free: 24.56 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003259/0.7743, allocations: 35.42 kB / 0.6184 GB, free: 24.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001423/0.7757, allocations: 187.7 kB / 0.6186 GB, free: 24.35 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003481/0.776, allocations: 112.8 kB / 0.6187 GB, free: 24.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001368/0.7762, allocations: 55.97 kB / 0.6187 GB, free: 24.18 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001682/0.7779, allocations: 1.726 MB / 0.6204 GB, free: 22.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.7779, allocations: 0 / 0.6204 GB, free: 22.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003132/0.781, allocations: 0.8163 MB / 0.6212 GB, free: 21.64 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.01678/0.7978, allocations: 10.72 MB / 0.6317 GB, free: 10.89 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.008476/0.8062, allocations: 5.563 MB / 0.6371 GB, free: 5.312 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.408e-06/0.8062, allocations: 0 / 0.6371 GB, free: 5.312 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004207/0.8105, allocations: 2.274 MB / 0.6393 GB, free: 3.012 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.8122, allocations: 312.3 kB / 0.6396 GB, free: 2.723 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07656/0.8888, allocations: 42.37 MB / 0.681 GB, free: 4.043 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003741/0.8925, allocations: 2.314 MB / 0.6833 GB, free: 1.699 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.003559/0.8961, allocations: 1.512 MB / 0.6847 GB, free: 188 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001798/0.8979, allocations: 1.12 MB / 0.6858 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of SimCode: time 7.62e-07/0.8979, allocations: 0 / 0.6858 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8571/1.755, allocations: 67.45 MB / 0.7517 GB, free: 180.5 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.03/18.79, allocations: 20.17 kB / 0.7517 GB, free: 180.5 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.045384019962512]