Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001639/0.001639, allocations: 123.2 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001794/0.001794, allocations: 186.9 kB / 20.73 MB, free: 2.316 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 225.6 MB / 249.1 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel,fileNamePrefix="Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00145/0.00145, allocations: 51.92 kB / 365.6 MB, free: 0.8477 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09572/0.09717, allocations: 52.14 MB / 417.8 MB, free: 12.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel): time 0.008178/0.1053, allocations: 7.068 MB / 424.9 MB, free: 5.516 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005432/0.1108, allocations: 3.16 MB / 428 MB, free: 2.348 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004892/0.1113, allocations: 31.94 kB / 428 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001732/0.113, allocations: 0.9184 MB / 429 MB, free: 1.395 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002784/0.1158, allocations: 1.39 MB / 430.4 MB, free: 16 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009904/0.1168, allocations: 0.5186 MB / 430.9 MB, free: 15.48 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003199/0.12, allocations: 2.729 MB / 433.6 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001399/0.1214, allocations: 1.185 MB / 434.8 MB, free: 11.54 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001114/0.1225, allocations: 0.868 MB / 435.7 MB, free: 10.67 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00247/0.125, allocations: 2.139 MB / 437.8 MB, free: 8.523 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003313/0.1253, allocations: 180 kB / 438 MB, free: 8.348 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00161/0.1269, allocations: 1.018 MB / 439 MB, free: 7.328 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009906/0.1279, allocations: 1.145 MB / 440.1 MB, free: 6.18 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001174/0.1291, allocations: 1.316 MB / 441.4 MB, free: 4.855 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004423/0.1335, allocations: 4.455 MB / 445.9 MB, free: 392 kB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.1335, allocations: 0 / 445.9 MB, free: 392 kB / 366.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1335, allocations: 4 kB / 445.9 MB, free: 388 kB / 366.1 MB Notification: Performance of Transformations before backend: time 4.773e-05/0.1335, allocations: 0 / 445.9 MB, free: 388 kB / 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.18/0.3136, allocations: 3.348 MB / 449.3 MB, free: 29.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.96e-05/0.3136, allocations: 8.469 kB / 449.3 MB, free: 29.24 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004505/0.314, allocations: 465.7 kB / 449.7 MB, free: 29.18 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005432/0.3195, allocations: 1.678 MB / 451.4 MB, free: 28.99 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003664/0.3231, allocations: 1.839 MB / 453.2 MB, free: 28.56 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.233e-05/0.3232, allocations: 127.8 kB / 453.4 MB, free: 28.56 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003099/0.3235, allocations: 168.4 kB / 453.5 MB, free: 28.56 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008656/0.3322, allocations: 6.605 MB / 460.1 MB, free: 25.67 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-05/0.3323, allocations: 31.44 kB / 460.2 MB, free: 25.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002577/0.3325, allocations: 88.92 kB / 460.2 MB, free: 25.62 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001911/0.3344, allocations: 1.329 MB / 461.6 MB, free: 25.38 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009864/0.3443, allocations: 5.847 MB / 467.4 MB, free: 23.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02646/0.3708, allocations: 28 MB / 495.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005731/0.3765, allocations: 2.706 MB / 498.1 MB, free: 11.12 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001487/0.378, allocations: 1.224 MB / 499.3 MB, free: 9.887 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007149/0.3787, allocations: 0.6317 MB / 500 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.928e-05/0.3787, allocations: 47.06 kB / 0.4883 GB, free: 9.086 MB / 382.1 MB Notification: Performance of pre-optimization done (n=129): time 2.686e-06/0.3787, allocations: 0 / 0.4883 GB, free: 9.086 MB / 382.1 MB Notification: Performance of matching and sorting (n=163): time 0.06835/0.4471, allocations: 21.15 MB / 0.509 GB, free: 3.832 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/0.4472, allocations: 171.2 kB / 0.5091 GB, free: 3.625 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003942/0.4511, allocations: 2.809 MB / 0.5119 GB, free: 0.8008 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002919/0.4514, allocations: 49.7 kB / 0.5119 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001543/0.453, allocations: 2.167 MB / 0.514 GB, free: 14.55 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006618/0.4536, allocations: 0.659 MB / 0.5147 GB, free: 13.89 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001318/0.455, allocations: 0.9965 MB / 0.5156 GB, free: 12.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.4551, allocations: 305.2 kB / 0.5159 GB, free: 12.58 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003102/0.4582, allocations: 2.223 MB / 0.5181 GB, free: 10.35 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005442/0.4636, allocations: 5.146 MB / 0.5231 GB, free: 3.746 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009309/0.4729, allocations: 7.945 MB / 0.5309 GB, free: 10.37 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.762e-05/0.473, allocations: 35.75 kB / 0.5309 GB, free: 10.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=641) (initialization): time 0.02249/0.4955, allocations: 10.26 MB / 0.5409 GB, free: 44 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.373e-05/0.4956, allocations: 48.05 kB / 0.541 GB, free: 15.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001082/0.4957, allocations: 104 kB / 0.5411 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01134/0.507, allocations: 3.429 MB / 0.5444 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003345/0.5104, allocations: 1.084 MB / 0.5455 GB, free: 11.36 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01976/0.5301, allocations: 12.85 MB / 0.558 GB, free: 14.37 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003524/0.5336, allocations: 339.5 kB / 0.5584 GB, free: 14.04 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005827/0.5342, allocations: 300 kB / 0.5587 GB, free: 13.74 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.002296/0.5365, allocations: 1.467 MB / 0.5601 GB, free: 12.27 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005448/0.5371, allocations: 270.2 kB / 0.5603 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01559/0.5527, allocations: 5.97 MB / 0.5662 GB, free: 5.984 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-05/0.5527, allocations: 32 kB / 0.5662 GB, free: 5.953 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.662e-05/0.5528, allocations: 8 kB / 0.5662 GB, free: 5.945 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.694e-05/0.5528, allocations: 7.969 kB / 0.5662 GB, free: 5.938 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0296/0.5824, allocations: 13.18 MB / 0.5791 GB, free: 8.656 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.371e-05/0.5824, allocations: 0 / 0.5791 GB, free: 8.656 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001116/0.5835, allocations: 232.5 kB / 0.5793 GB, free: 8.43 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01227/0.5958, allocations: 4.012 MB / 0.5832 GB, free: 4.391 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002828/0.5961, allocations: 47.95 kB / 0.5833 GB, free: 4.344 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01932/0.6154, allocations: 12.82 MB / 0.5958 GB, free: 7.375 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.861e-06/0.6154, allocations: 11.94 kB / 0.5958 GB, free: 7.363 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02086/0.6363, allocations: 10.07 MB / 0.6057 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007834/0.6371, allocations: 319.1 kB / 0.606 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003933/0.6375, allocations: 39.88 kB / 0.606 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001555/0.639, allocations: 191.7 kB / 0.6062 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003719/0.6394, allocations: 108.8 kB / 0.6063 GB, free: 12.58 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001491/0.6395, allocations: 55.97 kB / 0.6063 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002414/0.6419, allocations: 1.738 MB / 0.608 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.6419, allocations: 0 / 0.608 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003373/0.6453, allocations: 0.8203 MB / 0.6088 GB, free: 9.961 MB / 0.4981 GB 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.02108/0.6664, allocations: 10.71 MB / 0.6193 GB, free: 15.2 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.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.0.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.0103/0.6767, allocations: 6.017 MB / 0.6252 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.187e-06/0.6767, allocations: 0 / 0.6252 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004983/0.6817, allocations: 2.726 MB / 0.6278 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001803/0.6835, allocations: 296.5 kB / 0.6281 GB, free: 5.914 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2252/0.9087, allocations: 42.34 MB / 0.6695 GB, free: 153 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001629/0.9104, allocations: 2.32 MB / 0.6717 GB, free: 152 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002473/0.9128, allocations: 1.508 MB / 0.6732 GB, free: 151.9 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.9138, allocations: 1.132 MB / 0.6743 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of SimCode: time 6.41e-07/0.9138, allocations: 3.938 kB / 0.6743 GB, free: 150.9 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.682/2.595, allocations: 63.02 MB / 0.7359 GB, free: 91.57 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.53/18.13, allocations: 64 / 0.7359 GB, free: 91.57 MB / 0.5137 GB " [Timeout remaining time 642] (rm -f Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; mkfifo Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe >> ../files/Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel_fmu --startTime=0 --stopTime=4 --stepSize=0.00079968 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Mechanics_MultiBody_Examples_Elementary_RollingWheel.fmu > Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.RollingWheel_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Mechanics/MultiBody/Examples/Elementary/RollingWheel/RollingWheel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 21.139547572936863]