Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.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.00118/0.00118, allocations: 105 kB / 19.74 MB, free: 2.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.001272/0.001272, allocations: 213.8 kB / 22.92 MB, free: 5.195 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.274/1.274, allocations: 230.5 MB / 256.4 MB, free: 8.262 MB / 206.1 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.SpringWithMass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 71.83 kB / 376.1 MB, free: 4.09 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2076, allocations: 53.31 MB / 429.4 MB, free: 7.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.008232/0.2158, allocations: 7.475 MB / 436.9 MB, free: 15.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005388/0.2212, allocations: 3.292 MB / 440.2 MB, free: 12.66 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003952/0.2216, allocations: 35.88 kB / 440.2 MB, free: 12.63 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001885/0.2235, allocations: 1.047 MB / 441.3 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002552/0.2261, allocations: 1.366 MB / 442.6 MB, free: 10.21 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008138/0.2269, allocations: 459.1 kB / 443.1 MB, free: 9.758 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003058/0.2299, allocations: 2.668 MB / 445.7 MB, free: 7.086 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001321/0.2312, allocations: 1.181 MB / 446.9 MB, free: 5.871 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008852/0.2321, allocations: 0.8407 MB / 447.8 MB, free: 5.027 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001527/0.2337, allocations: 1.328 MB / 449.1 MB, free: 3.695 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002782/0.2339, allocations: 172 kB / 449.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001657/0.2356, allocations: 1.049 MB / 450.3 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009457/0.2365, allocations: 1.118 MB / 451.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001109/0.2376, allocations: 1.293 MB / 452.7 MB, free: 56 kB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004336/0.242, allocations: 4.345 MB / 457.1 MB, free: 11.7 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.242, allocations: 3.938 kB / 457.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.242, allocations: 0 / 457.1 MB, free: 11.69 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.6e-05/0.242, allocations: 0 / 457.1 MB, free: 11.69 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: 968 * Number of variables: 968 Notification: Performance of Generate backend data structure: time 0.00517/0.2472, allocations: 3.112 MB / 460.2 MB, free: 8.516 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.2472, allocations: 12.03 kB / 460.2 MB, free: 8.504 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005089/0.2478, allocations: 470.9 kB / 460.6 MB, free: 8.035 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006592/0.2543, allocations: 1.824 MB / 462.5 MB, free: 6.207 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002624/0.257, allocations: 1.593 MB / 464.1 MB, free: 4.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001088/0.2571, allocations: 139.2 kB / 464.2 MB, free: 4.434 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006115/0.2577, allocations: 263.7 kB / 464.5 MB, free: 4.176 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009931/0.2676, allocations: 6.672 MB / 471.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.193e-05/0.2677, allocations: 31.75 kB / 471.2 MB, free: 13.01 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002455/0.2679, allocations: 87.89 kB / 471.2 MB, free: 12.93 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002111/0.27, allocations: 1.367 MB / 472.6 MB, free: 11.56 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.2802, allocations: 6.041 MB / 478.6 MB, free: 5.516 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02764/0.3078, allocations: 25.55 MB / 0.4924 GB, free: 11.21 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006844/0.3146, allocations: 2.607 MB / 0.4949 GB, free: 8.453 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001334/0.316, allocations: 0.997 MB / 0.4959 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005344/0.3213, allocations: 3.941 MB / 0.4998 GB, free: 3.23 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.831e-05/0.3214, allocations: 43.12 kB / 0.4998 GB, free: 3.18 MB / 414.1 MB Notification: Performance of pre-optimization done (n=112): time 2.564e-06/0.3214, allocations: 0 / 0.4998 GB, free: 3.18 MB / 414.1 MB Notification: Performance of matching and sorting (n=125): time 0.02509/0.3464, allocations: 10.45 MB / 0.51 GB, free: 8.582 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00134/0.3478, allocations: 1.667 MB / 0.5116 GB, free: 6.738 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00341/0.3512, allocations: 2.742 MB / 0.5143 GB, free: 3.977 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001132/0.3513, allocations: 41.7 kB / 0.5143 GB, free: 3.93 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001449/0.3528, allocations: 2.183 MB / 0.5165 GB, free: 1.723 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000458/0.3532, allocations: 0.5195 MB / 0.517 GB, free: 1.199 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001102/0.3543, allocations: 0.9171 MB / 0.5179 GB, free: 276 kB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001172/0.3544, allocations: 301.1 kB / 0.5182 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002323/0.3568, allocations: 1.633 MB / 0.5198 GB, free: 14.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004362/0.3611, allocations: 4.429 MB / 0.5241 GB, free: 8.496 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007188/0.3683, allocations: 6.503 MB / 0.5304 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.059e-05/0.3683, allocations: 28 kB / 0.5305 GB, free: 0.5781 MB / 446.1 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.01272/0.3811, allocations: 7.047 MB / 0.5373 GB, free: 9.504 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.787e-05/0.3811, allocations: 48 kB / 0.5374 GB, free: 9.457 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005888/0.387, allocations: 2.532 MB / 0.5399 GB, free: 6.914 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004936/0.3919, allocations: 1.497 MB / 0.5413 GB, free: 5.406 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002625/0.3946, allocations: 1.006 MB / 0.5423 GB, free: 4.398 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1764/0.571, allocations: 7.763 MB / 0.5499 GB, free: 110 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003012/0.574, allocations: 326.4 kB / 0.5502 GB, free: 109.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002684/0.5743, allocations: 288.8 kB / 0.5505 GB, free: 109.8 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 21 (body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],spring.color[3],spring.color[2],spring.color[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (543): * Single equations (assignments): 535 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001466/0.5758, allocations: 1.426 MB / 0.5519 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002956/0.576, allocations: 243.7 kB / 0.5521 GB, free: 109.3 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000521/0.5766, allocations: 327.9 kB / 0.5524 GB, free: 109.1 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005118/0.5817, allocations: 2.509 MB / 0.5549 GB, free: 108.5 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.5817, allocations: 7.344 kB / 0.5549 GB, free: 108.5 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.438e-06/0.5817, allocations: 5.766 kB / 0.5549 GB, free: 108.5 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009366/0.5911, allocations: 6.859 MB / 0.5616 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.5911, allocations: 5.062 kB / 0.5616 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/0.5918, allocations: 171 kB / 0.5617 GB, free: 106.3 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004075/0.5958, allocations: 1.443 MB / 0.5631 GB, free: 106.1 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.27e-05/0.5959, allocations: 30.91 kB / 0.5632 GB, free: 106 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007362/0.6033, allocations: 7.92 MB / 0.5709 GB, free: 100.8 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005952/0.6039, allocations: 1.54 MB / 0.5724 GB, free: 99.16 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006567/0.6104, allocations: 4.873 MB / 0.5772 GB, free: 94.42 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003185/0.6108, allocations: 306.7 kB / 0.5775 GB, free: 94.16 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002078/0.611, allocations: 23.59 kB / 0.5775 GB, free: 94.14 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009952/0.612, allocations: 111.8 kB / 0.5776 GB, free: 94.04 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001746/0.6121, allocations: 87.25 kB / 0.5777 GB, free: 93.96 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-05/0.6122, allocations: 39.98 kB / 0.5777 GB, free: 93.92 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00163/0.6138, allocations: 1.689 MB / 0.5794 GB, free: 92.22 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.6138, allocations: 0 / 0.5794 GB, free: 92.22 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002629/0.6165, allocations: 0.7508 MB / 0.5801 GB, free: 91.47 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[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 (83): * Single equations (assignments): 77 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 1 system {(4,100.0%)} * Non-linear Jacobian (size): 1 system {4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(5,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006699/0.6232, allocations: 5.505 MB / 0.5855 GB, free: 85.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005014/0.6282, allocations: 4.197 MB / 0.5896 GB, free: 81.77 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.6282, allocations: 4 kB / 0.5896 GB, free: 81.77 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002375/0.6306, allocations: 1.654 MB / 0.5912 GB, free: 80.09 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001322/0.6319, allocations: 284 kB / 0.5915 GB, free: 79.81 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03275/0.6646, allocations: 33.79 MB / 0.6245 GB, free: 42.15 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00143/0.6661, allocations: 2.289 MB / 0.6267 GB, free: 39.83 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002239/0.6683, allocations: 1.411 MB / 0.6281 GB, free: 38.41 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009535/0.6693, allocations: 1.108 MB / 0.6292 GB, free: 37.3 MB / 462.1 MB Notification: Performance of SimCode: time 8.62e-07/0.6693, allocations: 0 / 0.6292 GB, free: 37.3 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08198/0.7512, allocations: 49.24 MB / 0.6772 GB, free: 4.391 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 16.09/16.84, allocations: 9.922 kB / 0.6772 GB, free: 4.383 MB / 478.1 MB " [Timeout remaining time 643] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringWithMass.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.97051753100095]