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.001484/0.001484, 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.00171/0.00171, 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.474/1.474, allocations: 230.6 MB / 258.3 MB, free: 8.066 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.001943/0.001943, allocations: 64.77 kB / 378.6 MB, free: 3.145 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2659, allocations: 53.36 MB / 431.9 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant): time 0.01191/0.2778, allocations: 10.29 MB / 442.2 MB, free: 12.54 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007834/0.2857, allocations: 3.83 MB / 446 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001454/0.2871, allocations: 67.62 kB / 446.1 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003803/0.2909, allocations: 1.989 MB / 448.1 MB, free: 6.641 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004356/0.2953, allocations: 1.673 MB / 449.8 MB, free: 4.961 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001547/0.2968, allocations: 0.6082 MB / 450.4 MB, free: 4.352 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004986/0.3018, allocations: 3.353 MB / 453.7 MB, free: 0.9922 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002749/0.3046, allocations: 2.13 MB / 455.9 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00188/0.3065, allocations: 1.254 MB / 457.1 MB, free: 13.55 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002655/0.3091, allocations: 1.818 MB / 458.9 MB, free: 11.72 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005868/0.3097, allocations: 252 kB / 459.2 MB, free: 11.48 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002139/0.3118, allocations: 1.061 MB / 460.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00163/0.3135, allocations: 1.593 MB / 461.8 MB, free: 8.816 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001975/0.3154, allocations: 1.813 MB / 463.6 MB, free: 6.992 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006953/0.3224, allocations: 5.816 MB / 469.5 MB, free: 1.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3224, allocations: 0 / 469.5 MB, free: 1.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 5.149e-06/0.3224, allocations: 4 kB / 469.5 MB, free: 1.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001235/0.3225, allocations: 0 / 469.5 MB, free: 1.148 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.007795/0.3303, allocations: 4.04 MB / 473.5 MB, free: 13.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.3304, allocations: 12.02 kB / 473.5 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007912/0.3312, allocations: 0.6043 MB / 474.1 MB, free: 12.43 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005973/0.3371, allocations: 1.804 MB / 475.9 MB, free: 10.62 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004419/0.3416, allocations: 2.094 MB / 478 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00016/0.3417, allocations: 192.8 kB / 478.2 MB, free: 8.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005602/0.3423, allocations: 251.9 kB / 478.4 MB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01405/0.3563, allocations: 8.447 MB / 486.9 MB, free: 14.93 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-05/0.3564, allocations: 35.7 kB / 486.9 MB, free: 14.89 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003427/0.3568, allocations: 127.9 kB / 487.1 MB, free: 14.77 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002732/0.3595, allocations: 1.699 MB / 488.8 MB, free: 13.07 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01391/0.3734, allocations: 7.114 MB / 495.9 MB, free: 5.945 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04285/0.4163, allocations: 33.96 MB / 0.5174 GB, free: 2.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00748/0.4237, allocations: 2.739 MB / 0.5201 GB, free: 204 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002126/0.4259, allocations: 1.364 MB / 0.5214 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006534/0.4324, allocations: 3.68 MB / 0.525 GB, free: 11.11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.545e-05/0.4324, allocations: 51.16 kB / 0.5251 GB, free: 11.05 MB / 446.1 MB Notification: Performance of pre-optimization done (n=121): time 3.386e-06/0.4325, allocations: 0 / 0.5251 GB, free: 11.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=129): time 0.2382/0.6707, allocations: 11.5 MB / 0.5363 GB, free: 101.7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.6707, allocations: 147.2 kB / 0.5364 GB, free: 101.5 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005636/0.6764, allocations: 3.722 MB / 0.5401 GB, free: 100.6 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000296/0.6767, allocations: 41.61 kB / 0.5401 GB, free: 100.6 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001537/0.6782, allocations: 2.865 MB / 0.5429 GB, free: 99.09 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005856/0.6788, allocations: 0.5429 MB / 0.5434 GB, free: 98.76 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00126/0.68, allocations: 1.085 MB / 0.5445 GB, free: 98.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.615e-05/0.6801, allocations: 305.8 kB / 0.5448 GB, free: 97.93 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002104/0.6822, allocations: 1.703 MB / 0.5465 GB, free: 97.39 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003211/0.6854, allocations: 5.12 MB / 0.5515 GB, free: 92.2 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006392/0.6918, allocations: 7.409 MB / 0.5587 GB, free: 85.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.201e-05/0.6919, allocations: 35.19 kB / 0.5587 GB, free: 85.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=692) (initialization): time 0.008893/0.7008, allocations: 6.716 MB / 0.5653 GB, free: 81.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.098e-05/0.7008, allocations: 63.83 kB / 0.5653 GB, free: 81.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.826e-05/0.7009, allocations: 132.1 kB / 0.5655 GB, free: 80.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005141/0.7014, allocations: 319.5 kB / 0.5658 GB, free: 80.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003202/0.7046, allocations: 1.239 MB / 0.567 GB, free: 79.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.7067, allocations: 2.39 MB / 0.5693 GB, free: 76.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003679/0.7104, allocations: 285.5 kB / 0.5696 GB, free: 76.72 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004141/0.7108, allocations: 335.5 kB / 0.5699 GB, free: 76.39 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.002028/0.7128, allocations: 1.793 MB / 0.5717 GB, free: 74.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004778/0.7133, allocations: 329.7 kB / 0.572 GB, free: 74.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003724/0.717, allocations: 2.367 MB / 0.5743 GB, free: 71.91 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.06e-05/0.717, allocations: 12 kB / 0.5743 GB, free: 71.89 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/0.7171, allocations: 4 kB / 0.5743 GB, free: 71.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/0.7171, allocations: 3.984 kB / 0.5743 GB, free: 71.89 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01036/0.7274, allocations: 5.883 MB / 0.58 GB, free: 65.99 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.151e-05/0.7274, allocations: 4 kB / 0.5801 GB, free: 65.99 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007564/0.7282, allocations: 183.6 kB / 0.5802 GB, free: 65.81 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001856/0.7301, allocations: 0.7147 MB / 0.5809 GB, free: 65.09 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001187/0.7302, allocations: 16 kB / 0.5809 GB, free: 65.07 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004679/0.7349, allocations: 4.722 MB / 0.5856 GB, free: 60.25 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7349, allocations: 0 / 0.5856 GB, free: 60.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005587/0.7404, allocations: 4.348 MB / 0.5898 GB, free: 55.88 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008761/0.7413, allocations: 305.7 kB / 0.5901 GB, free: 55.57 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006597/0.742, allocations: 16 kB / 0.5901 GB, free: 55.56 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001456/0.7434, allocations: 71.84 kB / 0.5902 GB, free: 55.49 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001906/0.7436, allocations: 68.47 kB / 0.5902 GB, free: 55.42 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.254e-05/0.7437, allocations: 39.98 kB / 0.5903 GB, free: 55.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003589/0.7473, allocations: 2.319 MB / 0.5925 GB, free: 53.08 MB / 446.1 MB Notification: Performance of sort global known variables: time 6e-08/0.7473, allocations: 4 kB / 0.5925 GB, free: 53.07 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004493/0.7518, allocations: 0.8083 MB / 0.5933 GB, free: 52.27 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.006128/0.7579, allocations: 4.978 MB / 0.5982 GB, free: 47.25 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005299/0.7632, allocations: 3.895 MB / 0.602 GB, free: 43.38 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.172e-06/0.7632, allocations: 0 / 0.602 GB, free: 43.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001278/0.7645, allocations: 1.035 MB / 0.603 GB, free: 42.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002938/0.7674, allocations: 390.8 kB / 0.6034 GB, free: 41.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04876/0.8162, allocations: 37.76 MB / 0.6403 GB, free: 14.99 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004359/0.8206, allocations: 2.784 MB / 0.643 GB, free: 12.18 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004229/0.8248, allocations: 1.66 MB / 0.6446 GB, free: 10.52 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002695/0.8275, allocations: 1.519 MB / 0.6461 GB, free: 8.996 MB / 462.1 MB Notification: Performance of SimCode: time 2.224e-06/0.8275, allocations: 0 / 0.6461 GB, free: 8.996 MB / 462.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1302/0.9577, allocations: 62.2 MB / 0.7068 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 24.15/25.11, allocations: 3.375 kB / 0.7068 GB, free: 11.2 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 & python3 -m fmpy simulate --output-file Modelica_4.1.0-beta.om_Modelica.Mechanics.MultiBody.Examples.Elementary.InitSpringConstant_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000201919 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.632824308704585] Failed to read output from testmodel.py, exit status != 0: ['time', 'rev.phi', 'rev.w'] 25.23727033706382 25.268078899 24.939233216 Calling exit ...