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.ThreeSprings.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: 120 kB / 18.5 MB, free: 4.52 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.001982/0.001982, allocations: 213.6 kB / 21.46 MB, free: 1.566 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.489/1.489, allocations: 230.5 MB / 254.8 MB, free: 15.12 MB / 206.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.ThreeSprings,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",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.002015/0.002015, allocations: 71.81 kB / 373.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1023, allocations: 53.32 MB / 427 MB, free: 4.879 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.2078/0.3101, allocations: 10.76 MB / 437.8 MB, free: 5.477 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007494/0.3176, allocations: 3.962 MB / 441.7 MB, free: 3.609 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001844/0.3194, allocations: 76.81 kB / 441.8 MB, free: 3.582 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004905/0.3243, allocations: 2.605 MB / 444.4 MB, free: 2.406 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005353/0.3297, allocations: 1.769 MB / 446.2 MB, free: 1.586 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001833/0.3315, allocations: 0.6813 MB / 446.9 MB, free: 1.281 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006698/0.3382, allocations: 3.727 MB / 450.6 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005191/0.3434, allocations: 2.963 MB / 453.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004383/0.3478, allocations: 1.486 MB / 455 MB, free: 14 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006014/0.3538, allocations: 2.109 MB / 457.2 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001756/0.3556, allocations: 315 kB / 457.5 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00511/0.3607, allocations: 1.185 MB / 458.6 MB, free: 12.31 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004423/0.3651, allocations: 1.854 MB / 460.5 MB, free: 11.22 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007279/0.3724, allocations: 2.122 MB / 462.6 MB, free: 9.609 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01296/0.3853, allocations: 6.681 MB / 469.3 MB, free: 4.961 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.3853, allocations: 3.938 kB / 469.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.944e-06/0.3853, allocations: 0 / 469.3 MB, free: 4.957 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0003324/0.3857, allocations: 0 / 469.3 MB, free: 4.957 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: 1516 * Number of variables: 1516 Notification: Performance of Generate backend data structure: time 0.01339/0.3991, allocations: 4.667 MB / 474 MB, free: 1.652 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.3991, allocations: 10.28 kB / 474 MB, free: 1.652 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002087/0.4012, allocations: 0.7271 MB / 474.7 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008441/0.4096, allocations: 1.971 MB / 476.7 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005591/0.4152, allocations: 2.236 MB / 478.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000251/0.4155, allocations: 249.6 kB / 479.2 MB, free: 12.49 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001429/0.4169, allocations: 395.7 kB / 479.5 MB, free: 12.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02256/0.4395, allocations: 10.11 MB / 489.7 MB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001238/0.4396, allocations: 39.69 kB / 489.7 MB, free: 1.223 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006773/0.4403, allocations: 155.9 kB / 489.9 MB, free: 1.07 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003218/0.4435, allocations: 1.857 MB / 491.7 MB, free: 15.21 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01935/0.4629, allocations: 8.368 MB / 0.4884 GB, free: 6.84 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05769/0.5205, allocations: 39.27 MB / 0.5267 GB, free: 14.47 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01182/0.5324, allocations: 3.901 MB / 0.5305 GB, free: 10.43 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002395/0.5348, allocations: 1.342 MB / 0.5318 GB, free: 9.078 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01271/0.5475, allocations: 7.699 MB / 0.5393 GB, free: 0.875 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.701e-05/0.5475, allocations: 43.56 kB / 0.5394 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.419e-06/0.5475, allocations: 0 / 0.5394 GB, free: 0.8242 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03762/0.5851, allocations: 12.7 MB / 0.5518 GB, free: 3.941 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001717/0.5869, allocations: 1.686 MB / 0.5534 GB, free: 2.082 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006904/0.5938, allocations: 3.821 MB / 0.5572 GB, free: 14.27 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004017/0.5942, allocations: 45.7 kB / 0.5572 GB, free: 14.22 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00315/0.5973, allocations: 3.234 MB / 0.5604 GB, free: 10.96 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001134/0.5984, allocations: 0.6824 MB / 0.561 GB, free: 10.27 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002573/0.601, allocations: 1.254 MB / 0.5623 GB, free: 9.004 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6012, allocations: 301.1 kB / 0.5626 GB, free: 8.707 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003654/0.6048, allocations: 2.026 MB / 0.5645 GB, free: 6.676 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007857/0.6127, allocations: 5.957 MB / 0.5703 GB, free: 14.75 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01202/0.6247, allocations: 8.593 MB / 0.5787 GB, free: 4.199 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001272/0.6248, allocations: 43.94 kB / 0.5788 GB, free: 4.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02115/0.646, allocations: 8.817 MB / 0.5874 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001138/0.6461, allocations: 64 kB / 0.5875 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007437/0.6535, allocations: 2.821 MB / 0.5902 GB, free: 8.414 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005797/0.6593, allocations: 1.549 MB / 0.5917 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004695/0.664, allocations: 1.368 MB / 0.5931 GB, free: 5.477 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01525/0.6793, allocations: 9.635 MB / 0.6025 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00548/0.6848, allocations: 404.4 kB / 0.6029 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001233/0.686, allocations: 392 kB / 0.6032 GB, free: 10.65 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 637 * Number of states: 0 () * Number of discrete variables: 39 (spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar1.color[3],bar1.color[2],bar1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[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]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (738): * Single equations (assignments): 728 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of prepare postOptimizeDAE: time 0.004885/0.6909, allocations: 2.001 MB / 0.6052 GB, free: 8.633 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000858/0.6917, allocations: 349.7 kB / 0.6055 GB, free: 8.289 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001236/0.693, allocations: 436.4 kB / 0.6059 GB, free: 7.859 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.006854/0.6998, allocations: 2.71 MB / 0.6086 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.721e-05/0.6998, allocations: 4 kB / 0.6086 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.959e-05/0.6999, allocations: 7.969 kB / 0.6086 GB, free: 5.117 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2276/0.9275, allocations: 8.573 MB / 0.617 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.027e-05/0.9275, allocations: 3.281 kB / 0.617 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/0.9285, allocations: 190.2 kB / 0.6171 GB, free: 159.9 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005002/0.9335, allocations: 1.458 MB / 0.6186 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002621/0.9338, allocations: 39.25 kB / 0.6186 GB, free: 159.8 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0129/0.9467, allocations: 9.823 MB / 0.6282 GB, free: 154.4 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009164/0.9476, allocations: 1.54 MB / 0.6297 GB, free: 152.9 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009942/0.9575, allocations: 5.358 MB / 0.6349 GB, free: 151.1 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009625/0.9585, allocations: 391.4 kB / 0.6353 GB, free: 151 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005401/0.959, allocations: 33.34 kB / 0.6353 GB, free: 151 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/0.9605, allocations: 122.6 kB / 0.6355 GB, free: 151 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004398/0.961, allocations: 114.9 kB / 0.6356 GB, free: 151 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/0.9611, allocations: 49.25 kB / 0.6356 GB, free: 151 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.003974/0.9651, allocations: 2.34 MB / 0.6379 GB, free: 150.2 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9651, allocations: 0 / 0.6379 GB, free: 150.2 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005856/0.9709, allocations: 1.053 MB / 0.6389 GB, free: 150.1 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body1.frame_a.r_0[1],body1.frame_a.r_0[2],body1.frame_a.r_0[3],body1.v_0[1],body1.v_0[2],body1.v_0[3],body1.w_a[1],body1.w_a[2],body1.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 (91): * Single equations (assignments): 83 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(4,100.0%), (3,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 {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,29)} Notification: Performance of Backend phase and start with SimCode phase: time 0.009393/0.9803, allocations: 6.008 MB / 0.6448 GB, free: 147.7 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00863/0.9889, allocations: 5.535 MB / 0.6502 GB, free: 145.6 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.989, allocations: 0 / 0.6502 GB, free: 145.6 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00397/0.9929, allocations: 2.244 MB / 0.6524 GB, free: 144.6 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00256/0.9955, allocations: 403 kB / 0.6528 GB, free: 144.4 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06417/1.06, allocations: 45.47 MB / 0.6972 GB, free: 97.07 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00412/1.064, allocations: 3.122 MB / 0.7002 GB, free: 93.92 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.003566/1.067, allocations: 1.807 MB / 0.702 GB, free: 92.11 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00227/1.07, allocations: 1.765 MB / 0.7037 GB, free: 90.34 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/1.07, allocations: 0 / 0.7037 GB, free: 90.34 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1707/1.24, allocations: 70.37 MB / 0.7724 GB, free: 20.49 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.39/23.63, allocations: 10.75 kB / 0.7724 GB, free: 20.48 MB / 0.5137 GB " [Timeout remaining time 636] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019988 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.26636819774285] Failed to read output from testmodel.py, exit status != 0: ['time', 'body1.frame_a.r_0[1]', 'body1.frame_a.r_0[2]', 'body1.frame_a.r_0[3]', 'body1.v_0[1]', 'body1.v_0[2]', 'body1.v_0[3]', 'body1.w_a[1]', 'body1.w_a[2]', 'body1.w_a[3]'] 23.773050770163536 23.782765392 23.394660222 Calling exit ...