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.001786/0.001786, allocations: 105.1 kB / 21.23 MB, free: 0.6562 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.002197/0.002197, allocations: 213.9 kB / 24.54 MB, free: 4.016 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.442/1.442, allocations: 230.6 MB / 258.3 MB, free: 8.066 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.002031/0.002031, allocations: 64.77 kB / 378.6 MB, free: 3.188 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2748, allocations: 53.37 MB / 431.9 MB, free: 6.934 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01296/0.2877, allocations: 10.78 MB / 442.7 MB, free: 12.11 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009028/0.2967, allocations: 3.994 MB / 446.7 MB, free: 8.102 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00194/0.2987, allocations: 75.62 kB / 446.8 MB, free: 8.027 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005288/0.304, allocations: 2.608 MB / 449.4 MB, free: 5.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004757/0.3087, allocations: 1.778 MB / 451.2 MB, free: 3.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001727/0.3105, allocations: 0.6863 MB / 451.9 MB, free: 2.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006242/0.3167, allocations: 3.719 MB / 455.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00428/0.321, allocations: 2.729 MB / 458.3 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002822/0.3238, allocations: 1.495 MB / 459.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003461/0.3273, allocations: 2.11 MB / 461.9 MB, free: 8.801 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008914/0.3282, allocations: 316 kB / 462.2 MB, free: 8.492 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.3307, allocations: 1.182 MB / 463.4 MB, free: 7.309 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002311/0.333, allocations: 1.854 MB / 465.2 MB, free: 5.449 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003124/0.3361, allocations: 2.124 MB / 467.4 MB, free: 3.312 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009615/0.3458, allocations: 6.677 MB / 474.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.3458, allocations: 8 kB / 474.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3458, allocations: 0 / 474.1 MB, free: 12.6 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002386/0.346, allocations: 0 / 474.1 MB, free: 12.6 MB / 382.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.01091/0.3569, allocations: 4.592 MB / 478.7 MB, free: 7.953 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.499e-05/0.357, allocations: 8.031 kB / 478.7 MB, free: 7.945 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001838/0.3588, allocations: 0.7314 MB / 479.4 MB, free: 7.203 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00708/0.3659, allocations: 1.967 MB / 481.4 MB, free: 5.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005387/0.3713, allocations: 2.163 MB / 483.5 MB, free: 3.035 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000268/0.3716, allocations: 254.2 kB / 483.8 MB, free: 2.785 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001555/0.3731, allocations: 395.7 kB / 484.2 MB, free: 2.398 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02203/0.3951, allocations: 10.11 MB / 494.3 MB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001512/0.3953, allocations: 39.62 kB / 494.3 MB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000862/0.3961, allocations: 155.9 kB / 494.5 MB, free: 7.371 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003047/0.3992, allocations: 1.853 MB / 496.3 MB, free: 5.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01815/0.4173, allocations: 8.363 MB / 0.4928 GB, free: 13.15 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05464/0.472, allocations: 39.17 MB / 0.5311 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01054/0.4825, allocations: 3.458 MB / 0.5345 GB, free: 1.336 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2133/0.6959, allocations: 1.335 MB / 0.5358 GB, free: 100.7 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01115/0.707, allocations: 5.82 MB / 0.5415 GB, free: 99.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.904e-05/0.7071, allocations: 46.72 kB / 0.5415 GB, free: 99.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.831e-06/0.7071, allocations: 0 / 0.5415 GB, free: 99.06 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.02943/0.7365, allocations: 12.33 MB / 0.5535 GB, free: 94.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001018/0.7375, allocations: 1.575 MB / 0.5551 GB, free: 93.31 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004989/0.7425, allocations: 3.822 MB / 0.5588 GB, free: 90.46 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003315/0.7428, allocations: 49.7 kB / 0.5589 GB, free: 90.4 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001623/0.7444, allocations: 3.237 MB / 0.562 GB, free: 87.33 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007262/0.7452, allocations: 0.6847 MB / 0.5627 GB, free: 86.66 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001809/0.747, allocations: 1.254 MB / 0.5639 GB, free: 85.39 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.674e-05/0.747, allocations: 309.1 kB / 0.5642 GB, free: 85.09 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002833/0.7499, allocations: 2.019 MB / 0.5662 GB, free: 83.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00437/0.7542, allocations: 5.957 MB / 0.572 GB, free: 75.15 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007437/0.7617, allocations: 8.587 MB / 0.5804 GB, free: 64.61 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001257/0.7618, allocations: 40 kB / 0.5804 GB, free: 64.57 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.0161/0.7779, allocations: 8.833 MB / 0.589 GB, free: 55.71 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.386e-05/0.778, allocations: 64 kB / 0.5891 GB, free: 55.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005595/0.7836, allocations: 2.817 MB / 0.5919 GB, free: 52.83 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004662/0.7882, allocations: 1.562 MB / 0.5934 GB, free: 51.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003946/0.7922, allocations: 1.361 MB / 0.5947 GB, free: 49.89 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01063/0.8028, allocations: 9.339 MB / 0.6038 GB, free: 40.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005271/0.8081, allocations: 396.5 kB / 0.6042 GB, free: 39.83 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001289/0.8094, allocations: 391.8 kB / 0.6046 GB, free: 39.45 MB / 446.1 MB 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.004305/0.8137, allocations: 2.015 MB / 0.6066 GB, free: 37.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007781/0.8145, allocations: 349.6 kB / 0.6069 GB, free: 37.08 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009206/0.8154, allocations: 432.5 kB / 0.6073 GB, free: 36.65 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005145/0.8205, allocations: 2.707 MB / 0.6099 GB, free: 33.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-05/0.8205, allocations: 4 kB / 0.6099 GB, free: 33.92 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-05/0.8206, allocations: 7.969 kB / 0.61 GB, free: 33.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0142/0.8348, allocations: 8.439 MB / 0.6182 GB, free: 25.39 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/0.8348, allocations: 4 kB / 0.6182 GB, free: 25.38 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008697/0.8357, allocations: 191.7 kB / 0.6184 GB, free: 25.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004036/0.8397, allocations: 1.463 MB / 0.6198 GB, free: 23.72 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002222/0.8399, allocations: 40.09 kB / 0.6198 GB, free: 23.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/0.85, allocations: 9.5 MB / 0.6291 GB, free: 13.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000728/0.8507, allocations: 1.452 MB / 0.6305 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007853/0.8585, allocations: 5.363 MB / 0.6358 GB, free: 6.875 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009284/0.8595, allocations: 309.5 kB / 0.6361 GB, free: 6.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005824/0.8601, allocations: 32 kB / 0.6361 GB, free: 6.539 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/0.8615, allocations: 123.8 kB / 0.6362 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003512/0.8619, allocations: 116.7 kB / 0.6363 GB, free: 6.305 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.862, allocations: 47.98 kB / 0.6364 GB, free: 6.258 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003237/0.8652, allocations: 2.341 MB / 0.6387 GB, free: 3.934 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.8652, allocations: 0 / 0.6387 GB, free: 3.934 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005221/0.8704, allocations: 1.043 MB / 0.6397 GB, free: 2.891 MB / 446.1 MB 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.009821/0.8803, allocations: 6.015 MB / 0.6456 GB, free: 12.83 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01071/0.891, allocations: 5.387 MB / 0.6508 GB, free: 7.43 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.891, allocations: 0 / 0.6508 GB, free: 7.43 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004564/0.8955, allocations: 2.086 MB / 0.6529 GB, free: 5.297 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002918/0.8985, allocations: 395.1 kB / 0.6532 GB, free: 4.914 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0806/0.9791, allocations: 45.54 MB / 0.6977 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004492/0.9835, allocations: 3.127 MB / 0.7008 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.004395/0.9879, allocations: 1.807 MB / 0.7025 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003046/0.991, allocations: 1.765 MB / 0.7043 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of SimCode: time 2.044e-06/0.991, allocations: 3.938 kB / 0.7043 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3678/1.359, allocations: 75.64 MB / 0.7781 GB, free: 180.6 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.55/23.91, allocations: 11.58 kB / 0.7781 GB, free: 180.6 MB / 0.545 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --stepSize=0.0019988 --timeout=50 --tolerance=1e-06 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.36853317031637] 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]'] 24.057058394886553 24.071093356 23.721716491 Calling exit ...