Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 105.1 kB / 21.22 MB, free: 0.6211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 216.3 kB / 24.52 MB, free: 3.91 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.31/1.31, allocations: 230.6 MB / 258.3 MB, free: 7.801 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001388/0.001388, allocations: 47.92 kB / 378.5 MB, free: 2.938 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2122, allocations: 53.37 MB / 431.9 MB, free: 6.617 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01084/0.2231, allocations: 9.31 MB / 441.2 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006202/0.2293, allocations: 3.764 MB / 444.9 MB, free: 9.492 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005419/0.2298, allocations: 71.62 kB / 445 MB, free: 9.422 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004407/0.2342, allocations: 2.511 MB / 447.5 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003116/0.2373, allocations: 1.782 MB / 449.3 MB, free: 5.113 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.2385, allocations: 0.6824 MB / 450 MB, free: 4.43 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004381/0.2429, allocations: 3.712 MB / 453.7 MB, free: 0.7109 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002957/0.2459, allocations: 2.725 MB / 456.4 MB, free: 13.92 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001746/0.2476, allocations: 1.491 MB / 457.9 MB, free: 12.42 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002653/0.2503, allocations: 2.11 MB / 460 MB, free: 10.3 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005432/0.2508, allocations: 316 kB / 460.3 MB, free: 9.996 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001862/0.2527, allocations: 1.061 MB / 461.4 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00175/0.2544, allocations: 1.862 MB / 463.3 MB, free: 7.066 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001812/0.2562, allocations: 1.573 MB / 464.8 MB, free: 5.484 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006991/0.2632, allocations: 6.703 MB / 471.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.2632, allocations: 0 / 471.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.2632, allocations: 3.938 kB / 471.5 MB, free: 14.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.043e-05/0.2633, allocations: 0 / 471.5 MB, free: 14.75 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.007459/0.2708, allocations: 4.596 MB / 476.1 MB, free: 10.1 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.2708, allocations: 12.03 kB / 476.1 MB, free: 10.09 MB / 382.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001102/0.2709, allocations: 102.6 kB / 476.2 MB, free: 9.984 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008219/0.2717, allocations: 0.7236 MB / 477 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006646/0.2784, allocations: 1.975 MB / 478.9 MB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003803/0.2822, allocations: 2.175 MB / 481.1 MB, free: 5.062 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002037/0.2824, allocations: 250.2 kB / 481.4 MB, free: 4.816 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008158/0.2832, allocations: 395.7 kB / 481.8 MB, free: 4.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01563/0.2988, allocations: 10.19 MB / 491.9 MB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.823e-05/0.2989, allocations: 43.62 kB / 492 MB, free: 9.461 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003783/0.2993, allocations: 159.8 kB / 492.1 MB, free: 9.305 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002687/0.302, allocations: 1.857 MB / 494 MB, free: 7.449 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/0.3171, allocations: 8.366 MB / 0.4906 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04484/0.362, allocations: 37.82 MB / 0.5275 GB, free: 8.102 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009909/0.3719, allocations: 3.451 MB / 0.5309 GB, free: 4.613 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001864/0.3738, allocations: 1.334 MB / 0.5322 GB, free: 3.27 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1693/0.543, allocations: 5.528 MB / 0.5376 GB, free: 101.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.452e-05/0.5431, allocations: 57.33 kB / 0.5376 GB, free: 101.3 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 5.48e-06/0.5431, allocations: 0 / 0.5376 GB, free: 101.3 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.02726/0.5703, allocations: 12.35 MB / 0.5497 GB, free: 97.23 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008212/0.5712, allocations: 1.565 MB / 0.5512 GB, free: 95.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003494/0.5747, allocations: 3.821 MB / 0.555 GB, free: 93.03 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001687/0.5748, allocations: 49.7 kB / 0.555 GB, free: 92.98 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001032/0.5759, allocations: 3.245 MB / 0.5582 GB, free: 90.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003698/0.5762, allocations: 0.6695 MB / 0.5588 GB, free: 89.44 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001058/0.5773, allocations: 1.262 MB / 0.5601 GB, free: 88.17 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 2.977e-05/0.5773, allocations: 305.1 kB / 0.5604 GB, free: 87.87 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002083/0.5794, allocations: 2.023 MB / 0.5623 GB, free: 85.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003001/0.5824, allocations: 5.953 MB / 0.5681 GB, free: 77.93 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005505/0.5879, allocations: 8.588 MB / 0.5765 GB, free: 67.38 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.081e-05/0.588, allocations: 40 kB / 0.5766 GB, free: 67.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01145/0.5994, allocations: 8.826 MB / 0.5852 GB, free: 58.51 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.774e-05/0.5995, allocations: 64 kB / 0.5853 GB, free: 58.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004824/0.6043, allocations: 2.819 MB / 0.588 GB, free: 55.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004159/0.6084, allocations: 1.557 MB / 0.5895 GB, free: 54.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003029/0.6115, allocations: 1.368 MB / 0.5909 GB, free: 52.68 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008977/0.6205, allocations: 9.252 MB / 0.5999 GB, free: 43.09 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003636/0.6241, allocations: 399.2 kB / 0.6003 GB, free: 42.71 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003807/0.6245, allocations: 388 kB / 0.6006 GB, free: 42.33 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.001946/0.6264, allocations: 2.014 MB / 0.6026 GB, free: 40.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003489/0.6268, allocations: 345.7 kB / 0.6029 GB, free: 39.96 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005049/0.6273, allocations: 432.5 kB / 0.6034 GB, free: 39.53 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004802/0.6321, allocations: 2.71 MB / 0.606 GB, free: 36.8 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.6321, allocations: 4 kB / 0.606 GB, free: 36.8 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.1e-05/0.6321, allocations: 11.97 kB / 0.606 GB, free: 36.79 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01132/0.6434, allocations: 8.156 MB / 0.614 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.302e-06/0.6434, allocations: 0 / 0.614 GB, free: 28.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007618/0.6442, allocations: 187.7 kB / 0.6142 GB, free: 28.37 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003929/0.6481, allocations: 1.455 MB / 0.6156 GB, free: 26.89 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.6482, allocations: 44.03 kB / 0.6156 GB, free: 26.85 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009249/0.6575, allocations: 9.424 MB / 0.6248 GB, free: 17.09 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005987/0.6581, allocations: 1.44 MB / 0.6262 GB, free: 15.53 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007141/0.6652, allocations: 5.368 MB / 0.6315 GB, free: 10.13 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006467/0.6659, allocations: 313.5 kB / 0.6318 GB, free: 9.824 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003164/0.6662, allocations: 28 kB / 0.6318 GB, free: 9.797 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/0.6673, allocations: 127.8 kB / 0.6319 GB, free: 9.672 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003053/0.6676, allocations: 120.6 kB / 0.632 GB, free: 9.551 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.6677, allocations: 43.98 kB / 0.6321 GB, free: 9.508 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002437/0.6702, allocations: 2.337 MB / 0.6344 GB, free: 7.188 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.6702, allocations: 480 / 0.6344 GB, free: 7.188 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003727/0.6739, allocations: 1.051 MB / 0.6354 GB, free: 6.141 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.007322/0.6812, allocations: 6.005 MB / 0.6413 GB, free: 100 kB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.009007/0.6902, allocations: 5.392 MB / 0.6465 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6902, allocations: 0 / 0.6465 GB, free: 10.68 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004042/0.6943, allocations: 2.086 MB / 0.6486 GB, free: 8.551 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001854/0.6961, allocations: 401 kB / 0.6489 GB, free: 8.16 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06488/0.761, allocations: 45.54 MB / 0.6934 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003235/0.7642, allocations: 2.585 MB / 0.6959 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00372/0.768, allocations: 1.803 MB / 0.6977 GB, free: 16 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002213/0.7702, allocations: 1.771 MB / 0.6994 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of SimCode: time 9.02e-07/0.7702, allocations: 0 / 0.6994 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.475/2.245, allocations: 72.02 MB / 0.7698 GB, free: 185.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.4/24.65, allocations: 7.516 kB / 0.7698 GB, free: 185.1 MB / 0.545 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --stepSize=0.0019988 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 26.93824589601718] 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.85786160605494 24.873775124 24.607370465 Calling exit ...