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.000857/0.000857, allocations: 88.33 kB / 20.67 MB, free: 3.875 MB / 18.57 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.0008598/0.0008598, allocations: 160.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 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 0.9206/0.9206, allocations: 177 MB / 204.1 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] 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 1.714e-06/1.714e-06, allocations: 0 / 324.5 MB, free: 15.76 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.821e-05/1.993e-05, allocations: 3.547 kB / 324.5 MB, free: 15.75 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.006888/0.006908, allocations: 9.368 MB / 333.9 MB, free: 6.34 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.006221/0.01313, allocations: 3.771 MB / 337.7 MB, free: 2.555 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009683/0.0141, allocations: 67.69 kB / 337.7 MB, free: 2.488 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002792/0.01689, allocations: 2.651 MB / 340.4 MB, free: 15.82 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002598/0.01949, allocations: 1.835 MB / 342.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001098/0.02058, allocations: 0.7328 MB / 343 MB, free: 13.25 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003694/0.02428, allocations: 4.101 MB / 347.1 MB, free: 9.133 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002743/0.02702, allocations: 2.975 MB / 350 MB, free: 6.098 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002062/0.02908, allocations: 2.229 MB / 352.3 MB, free: 3.863 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001854/0.03094, allocations: 2.057 MB / 354.3 MB, free: 1.801 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003137/0.03125, allocations: 316 kB / 354.6 MB, free: 1.492 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001186/0.03244, allocations: 1.108 MB / 355.7 MB, free: 392 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009543/0.03339, allocations: 1.932 MB / 357.7 MB, free: 14.45 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007749/0.03417, allocations: 1.227 MB / 358.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004169/0.03833, allocations: 6.678 MB / 365.6 MB, free: 6.516 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.03834, allocations: 4 kB / 365.6 MB, free: 6.512 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.03834, allocations: 0 / 365.6 MB, free: 6.512 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.225e-05/0.03839, allocations: 0 / 365.6 MB, free: 6.512 MB / 330.7 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.005021/0.04341, allocations: 4.615 MB / 370.2 MB, free: 1.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.04346, allocations: 11.98 kB / 370.2 MB, free: 1.828 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005321/0.04399, allocations: 0.7236 MB / 370.9 MB, free: 1.094 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003795/0.04778, allocations: 2.077 MB / 373 MB, free: 15.01 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00251/0.05029, allocations: 2.011 MB / 375 MB, free: 12.96 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001317/0.05043, allocations: 250.2 kB / 375.3 MB, free: 12.71 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005322/0.05096, allocations: 391.7 kB / 375.6 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009884/0.06084, allocations: 10.19 MB / 385.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.588e-05/0.06091, allocations: 47.52 kB / 385.9 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002626/0.06117, allocations: 155.9 kB / 386 MB, free: 1.199 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001471/0.06264, allocations: 1.857 MB / 387.9 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00935/0.07199, allocations: 8.355 MB / 396.2 MB, free: 6.977 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02748/0.09947, allocations: 37.97 MB / 434.2 MB, free: 15.86 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005618/0.1051, allocations: 3.606 MB / 437.8 MB, free: 12.23 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001195/0.1063, allocations: 1.33 MB / 439.1 MB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006072/0.1124, allocations: 5.675 MB / 444.8 MB, free: 5.18 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.1124, allocations: 51.55 kB / 444.9 MB, free: 5.121 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 4.649e-06/0.1124, allocations: 0 / 444.9 MB, free: 5.121 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.1862/0.2986, allocations: 12.66 MB / 457.5 MB, free: 112 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008162/0.2994, allocations: 1.577 MB / 459.1 MB, free: 110.4 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004024/0.3034, allocations: 4.207 MB / 463.3 MB, free: 109 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002449/0.3037, allocations: 55.61 kB / 463.4 MB, free: 108.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001007/0.3047, allocations: 3.201 MB / 466.6 MB, free: 106.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005132/0.3052, allocations: 0.6671 MB / 467.2 MB, free: 106.1 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009709/0.3062, allocations: 1.244 MB / 468.5 MB, free: 105.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.235e-05/0.3062, allocations: 308.9 kB / 468.8 MB, free: 105.2 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00198/0.3082, allocations: 2.091 MB / 470.9 MB, free: 103.9 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002863/0.311, allocations: 6.033 MB / 476.9 MB, free: 96.38 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005546/0.3166, allocations: 8.725 MB / 485.6 MB, free: 85.92 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.525e-05/0.3167, allocations: 40 kB / 485.7 MB, free: 85.88 MB / 410.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01368/0.3303, allocations: 9.934 MB / 495.6 MB, free: 75.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.984e-05/0.3304, allocations: 64.97 kB / 495.7 MB, free: 75.87 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005997/0.3364, allocations: 3.912 MB / 499.6 MB, free: 71.94 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005698/0.3421, allocations: 2.736 MB / 0.4905 GB, free: 69.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/0.3447, allocations: 1.376 MB / 0.4919 GB, free: 67.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008633/0.3533, allocations: 11.19 MB / 0.5028 GB, free: 56.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003498/0.3568, allocations: 479.4 kB / 0.5033 GB, free: 55.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006496/0.3574, allocations: 384 kB / 0.5036 GB, free: 55.45 MB / 410.7 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 {(4,31)} Notification: Performance of prepare postOptimizeDAE: time 0.002158/0.3596, allocations: 2.013 MB / 0.5056 GB, free: 53.43 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005234/0.3601, allocations: 341.7 kB / 0.5059 GB, free: 53.1 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003732/0.3605, allocations: 436.5 kB / 0.5063 GB, free: 52.67 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002985/0.3635, allocations: 2.7 MB / 0.509 GB, free: 49.95 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.3635, allocations: 15.94 kB / 0.509 GB, free: 49.93 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.3635, allocations: 7.969 kB / 0.509 GB, free: 49.92 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0092/0.3727, allocations: 8.215 MB / 0.517 GB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.594e-06/0.3727, allocations: 0 / 0.517 GB, free: 41.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004709/0.3732, allocations: 191.7 kB / 0.5172 GB, free: 41.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002137/0.3753, allocations: 1.455 MB / 0.5186 GB, free: 39.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-05/0.3754, allocations: 35.98 kB / 0.5187 GB, free: 39.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006291/0.3817, allocations: 9.43 MB / 0.5279 GB, free: 30.17 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004132/0.3821, allocations: 1.439 MB / 0.5293 GB, free: 28.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005439/0.3876, allocations: 5.354 MB / 0.5345 GB, free: 23.22 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000937/0.3885, allocations: 337.5 kB / 0.5348 GB, free: 22.89 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.3887, allocations: 31.94 kB / 0.5349 GB, free: 22.86 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007951/0.3895, allocations: 163.7 kB / 0.535 GB, free: 22.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002715/0.3898, allocations: 116.8 kB / 0.5351 GB, free: 22.58 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.718e-05/0.3899, allocations: 47.92 kB / 0.5352 GB, free: 22.54 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002304/0.3922, allocations: 2.462 MB / 0.5376 GB, free: 20.09 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.3922, allocations: 4 kB / 0.5376 GB, free: 20.09 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003693/0.3958, allocations: 1.159 MB / 0.5387 GB, free: 18.93 MB / 410.7 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.005189/0.401, allocations: 6.019 MB / 0.5446 GB, free: 12.87 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006432/0.4075, allocations: 5.474 MB / 0.5499 GB, free: 7.383 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.4075, allocations: 0 / 0.5499 GB, free: 7.383 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002197/0.4097, allocations: 2.083 MB / 0.552 GB, free: 5.258 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001892/0.4116, allocations: 407.1 kB / 0.5524 GB, free: 4.867 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05499/0.4666, allocations: 47.92 MB / 0.5992 GB, free: 14.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002383/0.4689, allocations: 2.578 MB / 0.6017 GB, free: 12.14 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002604/0.4715, allocations: 1.82 MB / 0.6035 GB, free: 10.31 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001698/0.4732, allocations: 1.773 MB / 0.6052 GB, free: 8.539 MB / 474.7 MB Notification: Performance of SimCode: time 1.793e-06/0.4732, allocations: 4 kB / 0.6052 GB, free: 8.535 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2327/0.7059, allocations: 73.97 MB / 0.6774 GB, free: 110.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.31/11.01, allocations: 3.984 kB / 0.6774 GB, free: 110.5 MB / 474.7 MB " [Timeout remaining time 649] (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: 12.719354969449341] 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]'] 11.141638363711536 11.147705552 11.108042026 Calling exit ...