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.001348/0.001348, allocations: 118.2 kB / 18.45 MB, free: 4.613 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.001526/0.001526, allocations: 207.3 kB / 21.41 MB, free: 1.66 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.471/1.471, allocations: 227.7 MB / 251.9 MB, free: 0 / 190.1 MB " [Timeout remaining time 178] 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.001992/0.001992, allocations: 67.91 kB / 365.2 MB, free: 196 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1004/0.1024, allocations: 50.54 MB / 415.8 MB, free: 13.61 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass): time 0.009418/0.1119, allocations: 7.399 MB / 423.2 MB, free: 6.168 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006678/0.1186, allocations: 3.257 MB / 426.4 MB, free: 2.898 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009675/0.1197, allocations: 35.94 kB / 426.5 MB, free: 2.863 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002249/0.1219, allocations: 1.031 MB / 427.5 MB, free: 1.828 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003228/0.1252, allocations: 1.327 MB / 428.8 MB, free: 0.4961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001077/0.1263, allocations: 467.1 kB / 429.3 MB, free: 40 kB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004267/0.1306, allocations: 2.664 MB / 431.9 MB, free: 13.37 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002274/0.1329, allocations: 1.535 MB / 433.5 MB, free: 11.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.1346, allocations: 0.8329 MB / 434.3 MB, free: 10.97 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.1366, allocations: 1.215 MB / 435.5 MB, free: 9.75 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004913/0.1371, allocations: 172 kB / 435.7 MB, free: 9.582 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002087/0.1392, allocations: 1.002 MB / 436.7 MB, free: 8.578 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00138/0.1406, allocations: 1.103 MB / 437.8 MB, free: 7.473 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.1425, allocations: 1.293 MB / 439.1 MB, free: 6.172 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005574/0.1481, allocations: 4.342 MB / 443.4 MB, free: 1.812 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1482, allocations: 0 / 443.4 MB, free: 1.812 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1482, allocations: 0 / 443.4 MB, free: 1.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001101/0.1483, allocations: 0 / 443.4 MB, free: 1.812 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.1893/0.3376, allocations: 3.106 MB / 446.5 MB, free: 28.33 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.3377, allocations: 10.72 kB / 446.5 MB, free: 28.33 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008946/0.3386, allocations: 475.3 kB / 447 MB, free: 28.27 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007052/0.3456, allocations: 1.816 MB / 448.8 MB, free: 28.08 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003441/0.3491, allocations: 1.602 MB / 450.4 MB, free: 27.82 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001405/0.3493, allocations: 134.9 kB / 450.6 MB, free: 27.82 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009093/0.3502, allocations: 259.4 kB / 450.8 MB, free: 27.81 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01261/0.3628, allocations: 6.672 MB / 457.5 MB, free: 26.51 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.905e-05/0.363, allocations: 36.12 kB / 457.5 MB, free: 26.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003409/0.3634, allocations: 82.47 kB / 457.6 MB, free: 26.49 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002522/0.3659, allocations: 1.37 MB / 459 MB, free: 26.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01218/0.3781, allocations: 6.05 MB / 465 MB, free: 24.6 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02732/0.4055, allocations: 25.54 MB / 490.6 MB, free: 3.012 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006258/0.4118, allocations: 2.677 MB / 493.2 MB, free: 192 kB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001654/0.4135, allocations: 1.032 MB / 494.3 MB, free: 15.14 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006912/0.4204, allocations: 3.961 MB / 498.2 MB, free: 10.95 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.04e-05/0.4205, allocations: 47.06 kB / 498.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=112): time 4.429e-06/0.4205, allocations: 0 / 498.3 MB, free: 10.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=125): time 0.02966/0.4502, allocations: 10.44 MB / 0.4968 GB, free: 296 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001757/0.452, allocations: 1.674 MB / 0.4984 GB, free: 14.44 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004754/0.4568, allocations: 2.74 MB / 0.5011 GB, free: 11.68 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003418/0.4572, allocations: 45.69 kB / 0.5011 GB, free: 11.63 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001876/0.459, allocations: 2.167 MB / 0.5033 GB, free: 9.438 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008032/0.4599, allocations: 0.5311 MB / 0.5038 GB, free: 8.902 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001674/0.4616, allocations: 0.921 MB / 0.5047 GB, free: 7.969 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000129/0.4617, allocations: 305.1 kB / 0.505 GB, free: 7.668 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002971/0.4647, allocations: 1.633 MB / 0.5066 GB, free: 6.031 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005759/0.4705, allocations: 4.424 MB / 0.5109 GB, free: 204 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00927/0.4798, allocations: 6.505 MB / 0.5172 GB, free: 8.309 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001172/0.48, allocations: 28 kB / 0.5173 GB, free: 8.281 MB / 414.1 MB Notification: Performance of matching and sorting (n=591) (initialization): time 0.01608/0.4961, allocations: 7.062 MB / 0.5242 GB, free: 1.203 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.384e-05/0.4962, allocations: 48 kB / 0.5242 GB, free: 1.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006563/0.5027, allocations: 2.551 MB / 0.5267 GB, free: 14.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005463/0.5082, allocations: 1.49 MB / 0.5282 GB, free: 13.09 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003277/0.5115, allocations: 1.002 MB / 0.5291 GB, free: 12.09 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01158/0.5232, allocations: 7.78 MB / 0.5367 GB, free: 4.039 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003742/0.5269, allocations: 327.7 kB / 0.537 GB, free: 3.719 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008691/0.5278, allocations: 284 kB / 0.5373 GB, free: 3.441 MB / 430.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.002893/0.5307, allocations: 1.419 MB / 0.5387 GB, free: 2.008 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006286/0.5314, allocations: 238.4 kB / 0.5389 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001015/0.5324, allocations: 333.9 kB / 0.5393 GB, free: 1.438 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00696/0.5394, allocations: 2.531 MB / 0.5417 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.291e-05/0.5395, allocations: 7.609 kB / 0.5417 GB, free: 14.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.301e-05/0.5395, allocations: 7.984 kB / 0.5417 GB, free: 14.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01562/0.5551, allocations: 6.871 MB / 0.5484 GB, free: 7.922 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/0.5552, allocations: 4.75 kB / 0.5485 GB, free: 7.918 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009675/0.5562, allocations: 179.7 kB / 0.5486 GB, free: 7.742 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005276/0.5615, allocations: 1.433 MB / 0.55 GB, free: 6.301 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003095/0.5618, allocations: 31.97 kB / 0.5501 GB, free: 6.27 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01202/0.5739, allocations: 7.933 MB / 0.5578 GB, free: 14.06 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001476/0.5754, allocations: 1.532 MB / 0.5593 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01041/0.5858, allocations: 4.881 MB / 0.5641 GB, free: 7.469 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008423/0.5867, allocations: 307.3 kB / 0.5644 GB, free: 7.148 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006337/0.5874, allocations: 20 kB / 0.5644 GB, free: 7.129 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001587/0.589, allocations: 115.8 kB / 0.5645 GB, free: 7.016 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003933/0.5894, allocations: 84.38 kB / 0.5646 GB, free: 6.934 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/0.5896, allocations: 35.97 kB / 0.5646 GB, free: 6.898 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003543/0.5931, allocations: 1.693 MB / 0.5663 GB, free: 5.195 MB / 462.1 MB Notification: Performance of sort global known variables: time 4.338e-06/0.5932, allocations: 4.047 kB / 0.5663 GB, free: 5.191 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004393/0.5976, allocations: 0.7538 MB / 0.567 GB, free: 4.438 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.01134/0.6089, allocations: 5.52 MB / 0.5724 GB, free: 14.87 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.008927/0.6179, allocations: 4.369 MB / 0.5766 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.093e-06/0.618, allocations: 0 / 0.5766 GB, free: 10.46 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003945/0.6219, allocations: 1.725 MB / 0.5783 GB, free: 8.695 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002789/0.6247, allocations: 270.7 kB / 0.5786 GB, free: 8.441 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06588/0.6907, allocations: 33.79 MB / 0.6116 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003517/0.6942, allocations: 2.297 MB / 0.6138 GB, free: 388 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.003621/0.6979, allocations: 1.404 MB / 0.6152 GB, free: 14.97 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00213/0.7001, allocations: 1.112 MB / 0.6163 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of SimCode: time 9.12e-07/0.7001, allocations: 0 / 0.6163 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3098/1.01, allocations: 48.53 MB / 0.6637 GB, free: 162.1 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.77/19.78, allocations: 10.89 kB / 0.6637 GB, free: 162.1 MB / 0.5137 GB " [Timeout remaining time 640] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringWithMass_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0009996 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: 22.33989002800081] Failed to read output from testmodel.py, exit status != 0: ['time', '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]'] 19.91134615498595 19.927267899 19.776160427 Calling exit ...