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.0008591/0.0008591, allocations: 79.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.00079/0.00079, allocations: 170 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8787/0.8787, allocations: 177.1 MB / 204.3 MB, free: 5.723 MB / 186.7 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 324.6 MB, free: 15.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.915e-05, allocations: 6.219 kB / 324.6 MB, free: 15.92 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.00785/0.007879, allocations: 9.38 MB / 334 MB, free: 6.488 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005432/0.01331, allocations: 3.776 MB / 337.7 MB, free: 2.703 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007223/0.01403, allocations: 71.62 kB / 337.8 MB, free: 2.633 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002444/0.01648, allocations: 2.639 MB / 340.4 MB, free: 15.98 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002325/0.0188, allocations: 1.839 MB / 342.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000902/0.0197, allocations: 0.7289 MB / 343 MB, free: 13.41 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003049/0.02275, allocations: 4.102 MB / 347.1 MB, free: 9.293 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002324/0.02508, allocations: 2.979 MB / 350.1 MB, free: 6.254 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002002/0.02708, allocations: 2.222 MB / 352.3 MB, free: 4.027 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001814/0.02889, allocations: 2.069 MB / 354.4 MB, free: 1.953 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000312/0.02921, allocations: 316 kB / 354.7 MB, free: 1.645 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001258/0.03046, allocations: 1.104 MB / 355.8 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001129/0.03159, allocations: 1.928 MB / 357.7 MB, free: 14.61 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001066/0.03266, allocations: 1.234 MB / 359 MB, free: 13.37 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00486/0.03752, allocations: 6.674 MB / 365.6 MB, free: 6.672 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.03752, allocations: 4 kB / 365.6 MB, free: 6.668 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.946e-06/0.03753, allocations: 0 / 365.6 MB, free: 6.668 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001016/0.03763, allocations: 7.938 kB / 365.6 MB, free: 6.66 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.00573/0.04336, allocations: 4.61 MB / 370.3 MB, free: 1.996 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.023e-05/0.04342, allocations: 12.03 kB / 370.3 MB, free: 1.984 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000624/0.04404, allocations: 0.7197 MB / 371 MB, free: 1.254 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003917/0.04796, allocations: 2.077 MB / 373.1 MB, free: 15.17 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002527/0.05049, allocations: 2.015 MB / 375.1 MB, free: 13.12 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001246/0.05061, allocations: 246.2 kB / 375.3 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005141/0.05113, allocations: 391.7 kB / 375.7 MB, free: 12.49 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01049/0.06161, allocations: 10.19 MB / 385.9 MB, free: 1.566 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.37e-05/0.06169, allocations: 47.52 kB / 385.9 MB, free: 1.52 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003017/0.06199, allocations: 159.9 kB / 386.1 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001594/0.06358, allocations: 1.857 MB / 387.9 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01012/0.0737, allocations: 8.355 MB / 396.3 MB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03025/0.1039, allocations: 37.97 MB / 434.3 MB, free: 28 kB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006537/0.1105, allocations: 3.6 MB / 437.9 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001409/0.1119, allocations: 1.338 MB / 439.2 MB, free: 11.04 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006812/0.1187, allocations: 5.664 MB / 444.9 MB, free: 5.34 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.1187, allocations: 51.56 kB / 444.9 MB, free: 5.281 MB / 410.7 MB Notification: Performance of pre-optimization done (n=152): time 4.077e-06/0.1187, allocations: 3.938 kB / 444.9 MB, free: 5.277 MB / 410.7 MB Notification: Performance of matching and sorting (n=159): time 0.1714/0.2902, allocations: 12.65 MB / 457.6 MB, free: 112.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006184/0.2908, allocations: 1.576 MB / 459.2 MB, free: 110.5 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003039/0.2938, allocations: 4.211 MB / 463.4 MB, free: 109.1 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 8.31e-05/0.2939, allocations: 52.14 kB / 463.4 MB, free: 109 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008078/0.2947, allocations: 3.205 MB / 466.6 MB, free: 106.7 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002857/0.295, allocations: 0.666 MB / 467.3 MB, free: 106.2 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008214/0.2958, allocations: 1.245 MB / 468.5 MB, free: 105.6 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.19e-05/0.2959, allocations: 301.1 kB / 468.8 MB, free: 105.3 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/0.2975, allocations: 2.093 MB / 470.9 MB, free: 104.1 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002288/0.2998, allocations: 6.034 MB / 477 MB, free: 96.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004494/0.3043, allocations: 8.719 MB / 485.7 MB, free: 86.14 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.733e-05/0.3043, allocations: 47.31 kB / 485.7 MB, free: 86.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01022/0.3145, allocations: 9.934 MB / 495.7 MB, free: 76.15 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.323e-05/0.3146, allocations: 64 kB / 495.7 MB, free: 76.09 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005529/0.3201, allocations: 3.912 MB / 499.6 MB, free: 72.16 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005293/0.3254, allocations: 2.728 MB / 0.4906 GB, free: 69.42 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001754/0.3271, allocations: 1.376 MB / 0.4919 GB, free: 68.04 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008688/0.3358, allocations: 11.19 MB / 0.5029 GB, free: 56.52 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003832/0.3397, allocations: 479.3 kB / 0.5033 GB, free: 56.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003407/0.34, allocations: 390.5 kB / 0.5037 GB, free: 55.67 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.001553/0.3416, allocations: 2.013 MB / 0.5057 GB, free: 53.65 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002219/0.3418, allocations: 345.7 kB / 0.506 GB, free: 53.31 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003074/0.3421, allocations: 428.5 kB / 0.5064 GB, free: 52.89 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002898/0.345, allocations: 2.707 MB / 0.509 GB, free: 50.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.345, allocations: 7.938 kB / 0.509 GB, free: 50.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.107e-06/0.345, allocations: 9.75 kB / 0.5091 GB, free: 50.15 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007568/0.3526, allocations: 8.222 MB / 0.5171 GB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.3526, allocations: 0 / 0.5171 GB, free: 41.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/0.353, allocations: 187.7 kB / 0.5173 GB, free: 41.66 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002109/0.3551, allocations: 1.452 MB / 0.5187 GB, free: 40.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.784e-05/0.3552, allocations: 39.97 kB / 0.5187 GB, free: 40.15 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005792/0.361, allocations: 9.438 MB / 0.5279 GB, free: 30.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0003425/0.3613, allocations: 1.436 MB / 0.5293 GB, free: 28.83 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004407/0.3657, allocations: 5.357 MB / 0.5346 GB, free: 23.44 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002888/0.366, allocations: 333.6 kB / 0.5349 GB, free: 23.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001876/0.3662, allocations: 35.92 kB / 0.5349 GB, free: 23.07 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007353/0.3669, allocations: 167.7 kB / 0.5351 GB, free: 22.91 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.3671, allocations: 112.7 kB / 0.5352 GB, free: 22.8 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-05/0.3672, allocations: 52.09 kB / 0.5352 GB, free: 22.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.00169/0.3688, allocations: 2.458 MB / 0.5376 GB, free: 20.31 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.3688, allocations: 0 / 0.5376 GB, free: 20.31 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002796/0.3716, allocations: 1.163 MB / 0.5388 GB, free: 19.15 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.004747/0.3764, allocations: 6.032 MB / 0.5447 GB, free: 13.08 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004505/0.3809, allocations: 5.471 MB / 0.55 GB, free: 7.594 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3809, allocations: 0 / 0.55 GB, free: 7.594 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00179/0.3827, allocations: 2.083 MB / 0.552 GB, free: 5.469 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.3838, allocations: 402.7 kB / 0.5524 GB, free: 5.078 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04359/0.4274, allocations: 47.93 MB / 0.5992 GB, free: 14.95 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002304/0.4297, allocations: 2.585 MB / 0.6018 GB, free: 12.34 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002561/0.4323, allocations: 1.819 MB / 0.6035 GB, free: 10.51 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001373/0.4336, allocations: 1.773 MB / 0.6053 GB, free: 8.738 MB / 474.7 MB Notification: Performance of SimCode: time 1.031e-06/0.4337, allocations: 0 / 0.6053 GB, free: 8.738 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2039/0.6376, allocations: 73.97 MB / 0.6775 GB, free: 111 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/11.28, allocations: 7.844 kB / 0.6775 GB, free: 111 MB / 474.7 MB " [Timeout remaining time 649] (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: 13.035629408434033] 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.409297332167625 11.415318186 11.376500179 Calling exit ...