Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001571/0.001571, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.00165/0.00165, allocations: 213.1 kB / 23.73 MB, free: 4.164 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 8.54/8.54, allocations: 230.5 MB / 257.4 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 171] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002317/0.002317, allocations: 71.89 kB / 377.7 MB, free: 2.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.2999, allocations: 53.41 MB / 431.1 MB, free: 6.465 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01217/0.3121, allocations: 9.363 MB / 440.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008423/0.3205, allocations: 3.768 MB / 444.3 MB, free: 9.281 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001608/0.3221, allocations: 67.69 kB / 444.3 MB, free: 9.215 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004999/0.3271, allocations: 2.515 MB / 446.9 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004969/0.3321, allocations: 1.778 MB / 448.6 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001643/0.3337, allocations: 0.6863 MB / 449.3 MB, free: 4.219 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005426/0.3392, allocations: 3.72 MB / 453 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003398/0.3426, allocations: 2.714 MB / 455.8 MB, free: 13.71 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002315/0.3449, allocations: 1.495 MB / 457.3 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00286/0.3477, allocations: 1.981 MB / 459.2 MB, free: 10.23 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005838/0.3483, allocations: 316 kB / 459.5 MB, free: 9.918 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001979/0.3503, allocations: 1.049 MB / 460.6 MB, free: 8.867 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001783/0.3521, allocations: 1.854 MB / 462.4 MB, free: 7.008 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001755/0.3538, allocations: 1.576 MB / 464 MB, free: 5.422 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007106/0.361, allocations: 6.707 MB / 470.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.361, allocations: 0 / 470.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.361, allocations: 0 / 470.7 MB, free: 14.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001021/0.3611, allocations: 4 kB / 470.7 MB, free: 14.68 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.01101/0.3721, allocations: 4.592 MB / 475.3 MB, free: 10.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.129e-05/0.3721, allocations: 15.98 kB / 475.3 MB, free: 10.02 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001323/0.3735, allocations: 0.7275 MB / 476.1 MB, free: 9.281 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01098/0.3844, allocations: 1.964 MB / 478 MB, free: 7.312 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007895/0.3923, allocations: 2.179 MB / 480.2 MB, free: 5.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003454/0.3927, allocations: 246.2 kB / 480.5 MB, free: 4.859 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00183/0.3945, allocations: 391.7 kB / 480.8 MB, free: 4.477 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02603/0.4205, allocations: 10.19 MB / 491 MB, free: 9.543 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001195/0.4206, allocations: 39.67 kB / 491.1 MB, free: 9.504 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004042/0.421, allocations: 155.9 kB / 491.2 MB, free: 9.352 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002985/0.424, allocations: 1.86 MB / 493.1 MB, free: 7.492 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01862/0.4427, allocations: 8.343 MB / 0.4897 GB, free: 15.14 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05699/0.4996, allocations: 37.82 MB / 0.5266 GB, free: 8.168 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01119/0.5108, allocations: 3.455 MB / 0.53 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002537/0.5134, allocations: 1.334 MB / 0.5313 GB, free: 3.332 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3647/0.8781, allocations: 5.531 MB / 0.5367 GB, free: 100.3 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.202e-05/0.8781, allocations: 45.47 kB / 0.5367 GB, free: 100.2 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.799e-06/0.8781, allocations: 1.156 kB / 0.5367 GB, free: 100.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.03026/0.9084, allocations: 12.35 MB / 0.5488 GB, free: 96.16 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001043/0.9094, allocations: 1.568 MB / 0.5503 GB, free: 94.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004537/0.914, allocations: 4.062 MB / 0.5543 GB, free: 92.36 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002198/0.9142, allocations: 49.22 kB / 0.5543 GB, free: 92.31 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00141/0.9156, allocations: 3.239 MB / 0.5575 GB, free: 89.61 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005548/0.9161, allocations: 0.6765 MB / 0.5582 GB, free: 89.01 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/0.9173, allocations: 1.259 MB / 0.5594 GB, free: 87.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.22e-05/0.9174, allocations: 309.1 kB / 0.5597 GB, free: 87.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002256/0.9196, allocations: 2.015 MB / 0.5617 GB, free: 85.48 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003765/0.9234, allocations: 5.961 MB / 0.5675 GB, free: 77.56 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007047/0.9304, allocations: 8.583 MB / 0.5759 GB, free: 67.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/0.9305, allocations: 40 kB / 0.5759 GB, free: 66.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.0135/0.944, allocations: 8.818 MB / 0.5845 GB, free: 58.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.876e-05/0.9441, allocations: 67.98 kB / 0.5846 GB, free: 58.08 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005081/0.9492, allocations: 2.816 MB / 0.5873 GB, free: 55.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004297/0.9535, allocations: 1.557 MB / 0.5888 GB, free: 53.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003501/0.957, allocations: 1.361 MB / 0.5902 GB, free: 52.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009903/0.9669, allocations: 9.249 MB / 0.5992 GB, free: 42.74 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004268/0.9711, allocations: 403.1 kB / 0.5996 GB, free: 42.35 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004534/0.9716, allocations: 392 kB / 0.6 GB, free: 41.96 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.002326/0.9739, allocations: 2.009 MB / 0.6019 GB, free: 39.95 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000486/0.9744, allocations: 345.7 kB / 0.6023 GB, free: 39.61 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006206/0.975, allocations: 428.5 kB / 0.6027 GB, free: 39.18 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.004969/0.98, allocations: 2.714 MB / 0.6053 GB, free: 36.45 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.251e-05/0.98, allocations: 5.188 kB / 0.6053 GB, free: 36.44 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.98, allocations: 7.969 kB / 0.6053 GB, free: 36.43 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0129/0.9929, allocations: 8.157 MB / 0.6133 GB, free: 28.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/0.9929, allocations: 3.984 kB / 0.6133 GB, free: 28.19 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008674/0.9938, allocations: 187.7 kB / 0.6135 GB, free: 28.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004147/0.998, allocations: 1.455 MB / 0.6149 GB, free: 26.54 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001895/0.9981, allocations: 39.84 kB / 0.6149 GB, free: 26.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01078/1.009, allocations: 9.428 MB / 0.6241 GB, free: 16.73 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007641/1.01, allocations: 1.436 MB / 0.6255 GB, free: 15.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008253/1.018, allocations: 5.384 MB / 0.6308 GB, free: 9.758 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/1.019, allocations: 305.6 kB / 0.6311 GB, free: 9.457 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003642/1.019, allocations: 32 kB / 0.6311 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001274/1.021, allocations: 123.8 kB / 0.6312 GB, free: 9.305 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003083/1.021, allocations: 116.8 kB / 0.6314 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001003/1.021, allocations: 47.92 kB / 0.6314 GB, free: 9.141 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002914/1.024, allocations: 2.345 MB / 0.6337 GB, free: 6.812 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.21e-07/1.024, allocations: 0 / 0.6337 GB, free: 6.812 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004724/1.029, allocations: 1.043 MB / 0.6347 GB, free: 5.773 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.008339/1.037, allocations: 6.014 MB / 0.6406 GB, free: 15.72 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01061/1.048, allocations: 5.385 MB / 0.6458 GB, free: 10.32 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.591e-06/1.048, allocations: 3.938 kB / 0.6458 GB, free: 10.31 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004533/1.052, allocations: 2.082 MB / 0.6479 GB, free: 8.184 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002512/1.055, allocations: 400 kB / 0.6483 GB, free: 7.797 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07837/1.133, allocations: 45.54 MB / 0.6927 GB, free: 4.074 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003745/1.137, allocations: 2.589 MB / 0.6953 GB, free: 1.453 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004232/1.141, allocations: 1.8 MB / 0.697 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002559/1.144, allocations: 1.761 MB / 0.6987 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of SimCode: time 1.523e-06/1.144, allocations: 0 / 0.6987 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7985/1.942, allocations: 69.54 MB / 0.7666 GB, free: 184.1 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.42/19.36, allocations: 9.469 kB / 0.7667 GB, free: 184.1 MB / 0.545 GB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings_fmu --startTime=0 --stopTime=10 --stepSize=0.0019988 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 29.265220458153635] 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]'] 19.53670342825353 19.553838653 19.19029932 Calling exit ...