Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.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.001337/0.001337, allocations: 109.4 kB / 19.8 MB, free: 2.5 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.001534/0.001534, allocations: 221.2 kB / 23 MB, free: 5.582 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.548/1.548, allocations: 230.5 MB / 256.5 MB, free: 8.234 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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.InitSpringConstant,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant,fileNamePrefix="Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.83 kB / 376.2 MB, free: 4.012 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.28, allocations: 53.32 MB / 429.5 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.0127/0.2927, allocations: 10.27 MB / 439.8 MB, free: 13.09 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007985/0.3007, allocations: 3.83 MB / 443.6 MB, free: 9.242 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001519/0.3022, allocations: 55.81 kB / 443.7 MB, free: 9.188 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004141/0.3063, allocations: 1.989 MB / 445.7 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004549/0.3109, allocations: 1.661 MB / 447.3 MB, free: 5.523 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.3126, allocations: 0.616 MB / 448 MB, free: 4.906 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005434/0.3181, allocations: 3.356 MB / 451.3 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003445/0.3215, allocations: 1.916 MB / 453.2 MB, free: 15.57 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002838/0.3243, allocations: 1.238 MB / 454.5 MB, free: 14.33 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003534/0.3279, allocations: 1.81 MB / 456.3 MB, free: 12.52 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001298/0.3292, allocations: 252 kB / 456.5 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/0.3332, allocations: 1.053 MB / 457.6 MB, free: 11.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00287/0.3361, allocations: 1.597 MB / 459.2 MB, free: 9.613 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00423/0.3403, allocations: 1.821 MB / 461 MB, free: 7.781 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009071/0.3494, allocations: 5.809 MB / 466.8 MB, free: 1.949 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.3494, allocations: 4 kB / 466.8 MB, free: 1.945 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.973e-06/0.3494, allocations: 3.938 kB / 466.8 MB, free: 1.941 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0002242/0.3496, allocations: 0 / 466.8 MB, free: 1.941 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1275 * Number of variables: 1275 Notification: Performance of Generate backend data structure: time 0.009364/0.359, allocations: 4.109 MB / 470.9 MB, free: 13.76 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.813e-05/0.359, allocations: 12.03 kB / 470.9 MB, free: 13.75 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008577/0.3599, allocations: 0.6043 MB / 471.5 MB, free: 13.13 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006327/0.3662, allocations: 1.804 MB / 473.3 MB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004035/0.3702, allocations: 2.162 MB / 475.5 MB, free: 9.102 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001579/0.3704, allocations: 188.8 kB / 475.7 MB, free: 8.914 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004572/0.3708, allocations: 255.8 kB / 475.9 MB, free: 8.664 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0141/0.3849, allocations: 8.447 MB / 484.4 MB, free: 15.55 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001106/0.3851, allocations: 43.62 kB / 484.4 MB, free: 15.51 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000348/0.3854, allocations: 123.9 kB / 484.5 MB, free: 15.39 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002883/0.3883, allocations: 1.703 MB / 486.2 MB, free: 13.68 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/0.4024, allocations: 7.106 MB / 493.4 MB, free: 6.57 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0428/0.4452, allocations: 34.08 MB / 0.5151 GB, free: 3.504 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007596/0.4528, allocations: 3.194 MB / 0.5182 GB, free: 160 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001901/0.4547, allocations: 1.353 MB / 0.5195 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006506/0.4612, allocations: 4.446 MB / 0.5238 GB, free: 10.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.176e-05/0.4613, allocations: 51 kB / 0.5239 GB, free: 10.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.867e-06/0.4613, allocations: 4 kB / 0.5239 GB, free: 10.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.258/0.7192, allocations: 11.74 MB / 0.5354 GB, free: 102.4 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.056e-05/0.7193, allocations: 148.6 kB / 0.5355 GB, free: 102.3 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006902/0.7262, allocations: 3.726 MB / 0.5391 GB, free: 101.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002361/0.7264, allocations: 41.83 kB / 0.5392 GB, free: 101.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001791/0.7282, allocations: 2.859 MB / 0.542 GB, free: 99.35 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006959/0.7289, allocations: 0.539 MB / 0.5425 GB, free: 99.02 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001874/0.7308, allocations: 1.092 MB / 0.5436 GB, free: 98.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.727e-05/0.7308, allocations: 301.1 kB / 0.5439 GB, free: 98.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002281/0.7331, allocations: 1.706 MB / 0.5455 GB, free: 97.65 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003257/0.7364, allocations: 5.113 MB / 0.5505 GB, free: 92.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005842/0.7422, allocations: 7.412 MB / 0.5578 GB, free: 85.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001053/0.7423, allocations: 33 kB / 0.5578 GB, free: 85.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.009299/0.7516, allocations: 6.718 MB / 0.5644 GB, free: 80.39 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001114/0.7517, allocations: 60 kB / 0.5644 GB, free: 80.33 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001461/0.7519, allocations: 120 kB / 0.5645 GB, free: 80.21 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005706/0.7525, allocations: 328.7 kB / 0.5648 GB, free: 79.89 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003376/0.7558, allocations: 1.233 MB / 0.566 GB, free: 78.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/0.7579, allocations: 2.503 MB / 0.5685 GB, free: 76.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003987/0.7619, allocations: 288.8 kB / 0.5688 GB, free: 75.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007337/0.7627, allocations: 339.9 kB / 0.5691 GB, free: 75.41 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 555 * Number of states: 0 () * Number of discrete variables: 33 (spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixed.color[3],fixed.color[2],fixed.color[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[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 (664): * Single equations (assignments): 660 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002948/0.7656, allocations: 1.794 MB / 0.5708 GB, free: 73.63 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008895/0.7665, allocations: 325.8 kB / 0.5711 GB, free: 73.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004322/0.7708, allocations: 2.359 MB / 0.5734 GB, free: 70.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/0.7709, allocations: 16 kB / 0.5735 GB, free: 70.92 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.183e-05/0.7709, allocations: 7.938 kB / 0.5735 GB, free: 70.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.325e-05/0.7709, allocations: 7.984 kB / 0.5735 GB, free: 70.9 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01057/0.7814, allocations: 5.898 MB / 0.5792 GB, free: 64.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.325e-05/0.7815, allocations: 4 kB / 0.5792 GB, free: 64.98 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007852/0.7822, allocations: 171.8 kB / 0.5794 GB, free: 64.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001967/0.7842, allocations: 0.7263 MB / 0.5801 GB, free: 64.08 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/0.7843, allocations: 20 kB / 0.5801 GB, free: 64.06 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004721/0.7891, allocations: 4.812 MB / 0.5848 GB, free: 59.12 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7891, allocations: 0 / 0.5848 GB, free: 59.12 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005757/0.7948, allocations: 4.35 MB / 0.5891 GB, free: 54.73 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008108/0.7956, allocations: 385.4 kB / 0.5895 GB, free: 54.34 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006319/0.7963, allocations: 23.98 kB / 0.5895 GB, free: 54.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001365/0.7976, allocations: 63.92 kB / 0.5895 GB, free: 54.25 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001832/0.7978, allocations: 76.27 kB / 0.5896 GB, free: 54.18 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.293e-05/0.7979, allocations: 35.98 kB / 0.5896 GB, free: 54.15 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00297/0.8009, allocations: 2.319 MB / 0.5919 GB, free: 51.84 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.71e-07/0.8009, allocations: 4.062 kB / 0.5919 GB, free: 51.84 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003751/0.8046, allocations: 0.8046 MB / 0.5927 GB, free: 51.04 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (rev.phi,rev.w) * 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 (96): * Single equations (assignments): 92 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,11,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005792/0.8104, allocations: 4.979 MB / 0.5976 GB, free: 46.02 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004851/0.8153, allocations: 3.889 MB / 0.6014 GB, free: 42.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.239e-06/0.8153, allocations: 0 / 0.6014 GB, free: 42.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001206/0.8165, allocations: 1.034 MB / 0.6024 GB, free: 41.11 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002725/0.8192, allocations: 396 kB / 0.6027 GB, free: 40.72 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04119/0.8604, allocations: 37.77 MB / 0.6396 GB, free: 13.75 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003238/0.8636, allocations: 2.78 MB / 0.6423 GB, free: 10.95 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003662/0.8673, allocations: 1.66 MB / 0.644 GB, free: 9.289 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002217/0.8695, allocations: 1.518 MB / 0.6454 GB, free: 7.77 MB / 462.1 MB Notification: Performance of SimCode: time 1.272e-06/0.8695, allocations: 0 / 0.6454 GB, free: 7.77 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1156/0.9851, allocations: 58.29 MB / 0.7024 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 23.66/24.64, allocations: 4 kB / 0.7024 GB, free: 13.88 MB / 0.5137 GB " [Timeout remaining time 635] (rm -f Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.mat --tempDir=temp_Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 Modelica_4_1_0-beta_om_Modelica_Mechanics_MultiBody_Examples_Elementary_InitSpringConstant.fmu > Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 27.19162302199402] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 24.770621261995984 24.800400774 24.444871654 Calling exit ...