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.001345/0.001345, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.001461/0.001461, allocations: 213.2 kB / 24.54 MB, free: 4.016 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.443/1.443, allocations: 230.6 MB / 258.3 MB, free: 8.055 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.001986/0.001986, allocations: 68.77 kB / 378.6 MB, free: 3.117 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2862/0.2882, allocations: 53.37 MB / 431.9 MB, free: 6.848 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01244/0.3006, allocations: 10.28 MB / 442.2 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00794/0.3086, allocations: 3.834 MB / 446 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001239/0.3098, allocations: 67.62 kB / 446.1 MB, free: 8.617 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003754/0.3136, allocations: 1.985 MB / 448.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004237/0.3178, allocations: 1.665 MB / 449.8 MB, free: 4.953 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001459/0.3193, allocations: 0.616 MB / 450.4 MB, free: 4.336 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004605/0.3239, allocations: 3.361 MB / 453.7 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002563/0.3264, allocations: 2.122 MB / 455.9 MB, free: 14.79 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002028/0.3284, allocations: 1.257 MB / 457.1 MB, free: 13.53 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002928/0.3314, allocations: 1.814 MB / 458.9 MB, free: 11.71 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005685/0.3319, allocations: 252 kB / 459.2 MB, free: 11.46 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001885/0.3338, allocations: 1.049 MB / 460.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001543/0.3354, allocations: 1.605 MB / 461.8 MB, free: 8.801 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001801/0.3372, allocations: 1.809 MB / 463.6 MB, free: 6.98 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00674/0.3439, allocations: 5.816 MB / 469.4 MB, free: 1.141 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.031e-06/0.3439, allocations: 0 / 469.4 MB, free: 1.141 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.3439, allocations: 4 kB / 469.5 MB, free: 1.137 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001209/0.344, allocations: 4 kB / 469.5 MB, free: 1.133 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.0077/0.3517, allocations: 4.034 MB / 473.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.3518, allocations: 12.03 kB / 473.5 MB, free: 13.03 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007595/0.3525, allocations: 0.6082 MB / 474.1 MB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005972/0.3585, allocations: 1.796 MB / 475.9 MB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004217/0.3627, allocations: 2.113 MB / 478 MB, free: 8.449 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001541/0.3629, allocations: 184.8 kB / 478.2 MB, free: 8.266 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005381/0.3634, allocations: 251.9 kB / 478.4 MB, free: 8.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01392/0.3773, allocations: 8.439 MB / 486.9 MB, free: 14.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001108/0.3775, allocations: 43.64 kB / 486.9 MB, free: 14.87 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003369/0.3778, allocations: 131.8 kB / 487.1 MB, free: 14.74 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002776/0.3806, allocations: 1.695 MB / 488.8 MB, free: 13.05 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01415/0.3947, allocations: 7.102 MB / 495.9 MB, free: 5.938 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04187/0.4366, allocations: 33.98 MB / 0.5174 GB, free: 2.957 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00723/0.4438, allocations: 2.734 MB / 0.5201 GB, free: 188 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002009/0.4458, allocations: 1.365 MB / 0.5214 GB, free: 14.8 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006945/0.4528, allocations: 3.68 MB / 0.525 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.4528, allocations: 43.22 kB / 0.5251 GB, free: 11.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 4.168e-06/0.4528, allocations: 0 / 0.5251 GB, free: 11.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.2428/0.6956, allocations: 11.52 MB / 0.5363 GB, free: 101.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.459e-05/0.6956, allocations: 144.4 kB / 0.5364 GB, free: 101.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005593/0.7012, allocations: 3.725 MB / 0.5401 GB, free: 100.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002982/0.7015, allocations: 44.78 kB / 0.5401 GB, free: 100.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001697/0.7032, allocations: 2.859 MB / 0.5429 GB, free: 99.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005661/0.7038, allocations: 0.541 MB / 0.5434 GB, free: 98.75 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001298/0.7051, allocations: 1.087 MB / 0.5445 GB, free: 98.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.513e-05/0.7051, allocations: 305.9 kB / 0.5448 GB, free: 97.92 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002137/0.7073, allocations: 1.701 MB / 0.5465 GB, free: 97.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003229/0.7105, allocations: 5.124 MB / 0.5515 GB, free: 92.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005712/0.7162, allocations: 7.404 MB / 0.5587 GB, free: 85.68 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.377e-05/0.7163, allocations: 35.16 kB / 0.5587 GB, free: 85.68 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.008694/0.725, allocations: 6.728 MB / 0.5653 GB, free: 81.12 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.988e-05/0.7251, allocations: 56 kB / 0.5653 GB, free: 81.07 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001451/0.7252, allocations: 124 kB / 0.5655 GB, free: 80.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005877/0.7258, allocations: 322.4 kB / 0.5658 GB, free: 80.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003251/0.7291, allocations: 1.24 MB / 0.567 GB, free: 79.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002078/0.7312, allocations: 2.389 MB / 0.5693 GB, free: 76.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003292/0.7344, allocations: 289.6 kB / 0.5696 GB, free: 76.65 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000499/0.7349, allocations: 335.7 kB / 0.5699 GB, free: 76.33 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.00255/0.7375, allocations: 1.785 MB / 0.5717 GB, free: 74.55 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006313/0.7381, allocations: 329.8 kB / 0.572 GB, free: 74.22 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004075/0.7422, allocations: 2.364 MB / 0.5743 GB, free: 71.85 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.24e-05/0.7422, allocations: 12 kB / 0.5743 GB, free: 71.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.245e-05/0.7422, allocations: 4 kB / 0.5743 GB, free: 71.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.354e-05/0.7422, allocations: 15.48 kB / 0.5743 GB, free: 71.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009394/0.7516, allocations: 5.882 MB / 0.5801 GB, free: 65.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.255e-05/0.7517, allocations: 4 kB / 0.5801 GB, free: 65.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007815/0.7524, allocations: 176 kB / 0.5802 GB, free: 65.75 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001847/0.7543, allocations: 0.7146 MB / 0.5809 GB, free: 65.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001104/0.7544, allocations: 28 kB / 0.581 GB, free: 65 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004589/0.759, allocations: 4.709 MB / 0.5856 GB, free: 60.18 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.759, allocations: 0 / 0.5856 GB, free: 60.18 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005545/0.7645, allocations: 4.346 MB / 0.5898 GB, free: 55.81 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008232/0.7654, allocations: 301.7 kB / 0.5901 GB, free: 55.51 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004231/0.7658, allocations: 23.94 kB / 0.5901 GB, free: 55.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001099/0.7669, allocations: 71.97 kB / 0.5902 GB, free: 55.42 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/0.7671, allocations: 64.53 kB / 0.5902 GB, free: 55.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.878e-05/0.7672, allocations: 43.92 kB / 0.5903 GB, free: 55.31 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00288/0.77, allocations: 2.315 MB / 0.5925 GB, free: 53.01 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.77, allocations: 0 / 0.5925 GB, free: 53.01 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.003912/0.774, allocations: 0.8046 MB / 0.5933 GB, free: 52.21 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.005913/0.7799, allocations: 4.99 MB / 0.5982 GB, free: 47.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005518/0.7854, allocations: 3.892 MB / 0.602 GB, free: 43.31 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.446e-06/0.7854, allocations: 0.5 kB / 0.602 GB, free: 43.31 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001364/0.7868, allocations: 1.037 MB / 0.603 GB, free: 42.26 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00243/0.7892, allocations: 384.5 kB / 0.6034 GB, free: 41.89 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04574/0.8349, allocations: 37.76 MB / 0.6403 GB, free: 14.93 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003496/0.8384, allocations: 2.78 MB / 0.643 GB, free: 12.12 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.003897/0.8423, allocations: 1.66 MB / 0.6446 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002491/0.8448, allocations: 1.522 MB / 0.6461 GB, free: 8.938 MB / 462.1 MB Notification: Performance of SimCode: time 1.312e-06/0.8448, allocations: 0 / 0.6461 GB, free: 8.938 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1319/0.9768, allocations: 62.21 MB / 0.7068 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.23/25.2, allocations: 7.375 kB / 0.7068 GB, free: 11.13 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 --stepSize=0.000201919 --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.60116406902671] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 25.328584438189864 25.345407269 24.996870489 Calling exit ...