Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.0008034/0.0008034, allocations: 83.7 kB / 20.67 MB, free: 3.883 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.0008072/0.0008072, allocations: 173.3 kB / 23.95 MB, free: 0.6016 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.8279/0.8279, allocations: 177.1 MB / 204.3 MB, free: 5.727 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.SpringDamperSystem,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.452e-06/1.452e-06, allocations: 0 / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.888e-06/1.134e-05, allocations: 2.281 kB / 324.6 MB, free: 15.94 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.007432/0.007444, allocations: 10.48 MB / 335.1 MB, free: 5.414 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005252/0.0127, allocations: 4.028 MB / 339.1 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007848/0.01348, allocations: 87.56 kB / 339.2 MB, free: 1.289 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.01592, allocations: 2.818 MB / 342 MB, free: 14.46 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002478/0.0184, allocations: 2.057 MB / 344 MB, free: 12.39 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001054/0.01946, allocations: 0.8849 MB / 344.9 MB, free: 11.5 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.003873/0.02333, allocations: 5.379 MB / 350.3 MB, free: 6.109 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002679/0.02601, allocations: 3.432 MB / 353.7 MB, free: 2.629 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002414/0.02842, allocations: 2.604 MB / 356.3 MB, free: 20 kB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002239/0.03066, allocations: 2.603 MB / 358.9 MB, free: 13.41 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004688/0.03113, allocations: 360 kB / 359.3 MB, free: 13.06 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001385/0.03251, allocations: 1.225 MB / 360.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001125/0.03364, allocations: 2.252 MB / 362.8 MB, free: 9.574 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.0347, allocations: 1.406 MB / 364.2 MB, free: 8.164 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004563/0.03926, allocations: 7.577 MB / 371.8 MB, free: 0.5625 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.439e-06/0.03926, allocations: 4 kB / 371.8 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.03927, allocations: 0 / 371.8 MB, free: 0.5586 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000138/0.0394, allocations: 0 / 371.8 MB, free: 0.5586 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.006091/0.04549, allocations: 5.392 MB / 377.2 MB, free: 11.11 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.7e-05/0.04553, allocations: 8.031 kB / 377.2 MB, free: 11.1 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006177/0.04615, allocations: 0.7943 MB / 378 MB, free: 10.29 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004311/0.05046, allocations: 2.388 MB / 380.3 MB, free: 7.898 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.05309, allocations: 2.558 MB / 382.9 MB, free: 5.293 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.05321, allocations: 270.8 kB / 383.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00053/0.05374, allocations: 431.7 kB / 383.6 MB, free: 4.605 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01096/0.0647, allocations: 12.35 MB / 395.9 MB, free: 7.418 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.207e-05/0.06477, allocations: 51.58 kB / 396 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000289/0.06506, allocations: 175.8 kB / 396.2 MB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001699/0.06676, allocations: 2.17 MB / 398.3 MB, free: 5.02 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01167/0.07842, allocations: 10.24 MB / 408.6 MB, free: 10.76 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1892/0.2676, allocations: 42.74 MB / 451.3 MB, free: 104 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006594/0.2742, allocations: 4.001 MB / 455.3 MB, free: 103.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001498/0.2757, allocations: 1.618 MB / 456.9 MB, free: 103.7 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007229/0.2829, allocations: 6.681 MB / 463.6 MB, free: 101.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.2829, allocations: 58.81 kB / 463.7 MB, free: 101.2 MB / 410.7 MB Notification: Performance of pre-optimization done (n=183): time 4.869e-06/0.2829, allocations: 1.188 kB / 463.7 MB, free: 101.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=205): time 0.02208/0.305, allocations: 16.63 MB / 480.3 MB, free: 90.65 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0006414/0.3057, allocations: 1.574 MB / 481.9 MB, free: 88.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003996/0.3097, allocations: 4.768 MB / 486.6 MB, free: 84.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002504/0.3099, allocations: 57.38 kB / 486.7 MB, free: 84.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001406/0.3113, allocations: 3.506 MB / 490.2 MB, free: 80.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006959/0.312, allocations: 0.8317 MB / 491 MB, free: 80.02 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001344/0.3133, allocations: 1.344 MB / 492.4 MB, free: 78.68 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.816e-05/0.3134, allocations: 301.1 kB / 492.7 MB, free: 78.38 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0032/0.3166, allocations: 2.336 MB / 495 MB, free: 76.04 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003467/0.32, allocations: 6.46 MB / 0.4897 GB, free: 67.59 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005564/0.3256, allocations: 9.422 MB / 0.4989 GB, free: 56.23 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-05/0.3257, allocations: 40 kB / 0.499 GB, free: 56.2 MB / 410.7 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01219/0.3379, allocations: 10.27 MB / 0.509 GB, free: 45.91 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.363e-05/0.3379, allocations: 68.12 kB / 0.509 GB, free: 45.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005549/0.3435, allocations: 3.955 MB / 0.5129 GB, free: 41.87 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004571/0.348, allocations: 2.261 MB / 0.5151 GB, free: 39.59 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003096/0.3511, allocations: 1.602 MB / 0.5167 GB, free: 37.99 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00468/0.3558, allocations: 6.371 MB / 0.5229 GB, free: 31.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003954/0.3598, allocations: 0.546 MB / 0.5234 GB, free: 30.84 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004587/0.3602, allocations: 416 kB / 0.5238 GB, free: 30.43 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (848): * Single equations (assignments): 839 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002284/0.3625, allocations: 2.21 MB / 0.526 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004856/0.363, allocations: 397.3 kB / 0.5264 GB, free: 27.82 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0033/0.3663, allocations: 3.313 MB / 0.5296 GB, free: 24.49 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.002641/0.3689, allocations: 2.761 MB / 0.5323 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.849e-06/0.3689, allocations: 4 kB / 0.5323 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.273e-05/0.369, allocations: 15.95 kB / 0.5323 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01048/0.3794, allocations: 9.873 MB / 0.542 GB, free: 11.57 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.16e-05/0.3795, allocations: 16 kB / 0.542 GB, free: 11.55 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007573/0.3802, allocations: 376.2 kB / 0.5423 GB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/0.3816, allocations: 0.9864 MB / 0.5433 GB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000112/0.3817, allocations: 67.8 kB / 0.5434 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002585/0.3843, allocations: 4.694 MB / 0.5479 GB, free: 5.207 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0004257/0.3847, allocations: 1.461 MB / 0.5494 GB, free: 3.621 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005521/0.3902, allocations: 5.949 MB / 0.5552 GB, free: 13.46 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/0.3913, allocations: 433.1 kB / 0.5556 GB, free: 13.04 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002871/0.3916, allocations: 63.81 kB / 0.5557 GB, free: 12.98 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/0.3926, allocations: 215.7 kB / 0.5559 GB, free: 12.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002288/0.3929, allocations: 180.3 kB / 0.556 GB, free: 12.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.793e-05/0.393, allocations: 75.98 kB / 0.5561 GB, free: 12.52 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003136/0.3961, allocations: 2.843 MB / 0.5589 GB, free: 9.668 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.3961, allocations: 4 kB / 0.5589 GB, free: 9.664 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003867/0.4, allocations: 1.262 MB / 0.5601 GB, free: 8.402 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006278/0.4063, allocations: 6.656 MB / 0.5666 GB, free: 1.531 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007151/0.4134, allocations: 5.708 MB / 0.5722 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.477e-05/0.4134, allocations: 4 kB / 0.5722 GB, free: 11.82 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002329/0.4158, allocations: 1.972 MB / 0.5741 GB, free: 9.82 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002545/0.4183, allocations: 0.4994 MB / 0.5746 GB, free: 9.324 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2125/0.6308, allocations: 53.68 MB / 0.627 GB, free: 149.6 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002208/0.633, allocations: 2.93 MB / 0.6299 GB, free: 148.8 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002793/0.6358, allocations: 2.027 MB / 0.6319 GB, free: 148.6 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00148/0.6373, allocations: 2.115 MB / 0.6339 GB, free: 146.5 MB / 474.7 MB Notification: Performance of SimCode: time 1.723e-06/0.6373, allocations: 0 / 0.6339 GB, free: 146.5 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08481/0.7221, allocations: 78.72 MB / 0.7108 GB, free: 68.79 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/11.35, allocations: 8.062 kB / 0.7108 GB, free: 68.78 MB / 474.7 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem.fmu > Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.961474002338946] 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]', 'p2.s', 'p2.v'] 11.477188933640718 11.482899237 11.442431529 Calling exit ...