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.00187/0.00187, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002352/0.002352, allocations: 210.7 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.482/1.482, allocations: 230.6 MB / 257.5 MB, free: 7.773 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+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 0.001554/0.001554, allocations: 47.92 kB / 377.7 MB, free: 2.949 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2563/0.2579, allocations: 53.37 MB / 431.1 MB, free: 6.641 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.01267/0.2706, allocations: 9.371 MB / 440.5 MB, free: 13.22 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008645/0.2792, allocations: 3.766 MB / 444.2 MB, free: 9.453 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001694/0.2809, allocations: 71.62 kB / 444.3 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005294/0.2862, allocations: 2.515 MB / 446.8 MB, free: 6.859 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004681/0.2909, allocations: 1.782 MB / 448.6 MB, free: 5.07 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00155/0.2924, allocations: 0.6824 MB / 449.3 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005063/0.2975, allocations: 3.723 MB / 453 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003725/0.3012, allocations: 2.722 MB / 455.7 MB, free: 13.87 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002874/0.3041, allocations: 1.499 MB / 457.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003385/0.3075, allocations: 2.106 MB / 459.3 MB, free: 10.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008896/0.3084, allocations: 316 kB / 459.6 MB, free: 9.941 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002493/0.3109, allocations: 1.061 MB / 460.7 MB, free: 8.879 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00204/0.3129, allocations: 1.854 MB / 462.5 MB, free: 7.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002209/0.3151, allocations: 1.584 MB / 464.1 MB, free: 5.426 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008092/0.3232, allocations: 6.7 MB / 470.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.827e-06/0.3232, allocations: 0 / 470.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.745e-06/0.3232, allocations: 0 / 470.8 MB, free: 14.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002213/0.3234, allocations: 0 / 470.8 MB, free: 14.7 MB / 382.1 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.01093/0.3344, allocations: 4.596 MB / 475.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.3344, allocations: 12.03 kB / 475.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001337/0.3358, allocations: 0.7275 MB / 476.2 MB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007416/0.3432, allocations: 1.971 MB / 478.1 MB, free: 7.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005565/0.3487, allocations: 2.171 MB / 480.3 MB, free: 5.117 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/0.349, allocations: 246.2 kB / 480.5 MB, free: 4.875 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001102/0.3501, allocations: 391.7 kB / 480.9 MB, free: 4.492 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01949/0.3696, allocations: 10.19 MB / 491.1 MB, free: 9.562 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001237/0.3697, allocations: 43.62 kB / 491.2 MB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004876/0.3702, allocations: 155.9 kB / 491.3 MB, free: 9.367 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002891/0.3731, allocations: 1.857 MB / 493.2 MB, free: 7.512 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01775/0.3908, allocations: 8.347 MB / 0.4898 GB, free: 15.16 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05202/0.4428, allocations: 37.82 MB / 0.5267 GB, free: 8.184 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0108/0.4536, allocations: 3.455 MB / 0.5301 GB, free: 4.691 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002338/0.456, allocations: 1.33 MB / 0.5314 GB, free: 3.352 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2171/0.6731, allocations: 5.522 MB / 0.5368 GB, free: 100.4 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.007e-05/0.6731, allocations: 56.81 kB / 0.5368 GB, free: 100.4 MB / 446.1 MB Notification: Performance of pre-optimization done (n=152): time 4.518e-06/0.6731, allocations: 2.25 kB / 0.5368 GB, free: 100.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=159): time 0.02984/0.703, allocations: 12.35 MB / 0.5489 GB, free: 96.32 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008832/0.7039, allocations: 1.575 MB / 0.5504 GB, free: 94.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003986/0.7078, allocations: 4.052 MB / 0.5544 GB, free: 92.52 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002184/0.7081, allocations: 49.7 kB / 0.5544 GB, free: 92.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.7093, allocations: 3.243 MB / 0.5576 GB, free: 89.76 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004807/0.7098, allocations: 0.6724 MB / 0.5582 GB, free: 89.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001111/0.7109, allocations: 1.263 MB / 0.5595 GB, free: 87.96 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.273e-05/0.7109, allocations: 305.1 kB / 0.5598 GB, free: 87.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002225/0.7132, allocations: 2.019 MB / 0.5617 GB, free: 85.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003531/0.7167, allocations: 5.957 MB / 0.5676 GB, free: 77.72 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00685/0.7235, allocations: 8.586 MB / 0.5759 GB, free: 67.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001189/0.7237, allocations: 44.56 kB / 0.576 GB, free: 67.13 MB / 446.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.01433/0.738, allocations: 8.818 MB / 0.5846 GB, free: 58.3 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.854e-05/0.7381, allocations: 72.25 kB / 0.5847 GB, free: 58.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005186/0.7433, allocations: 2.816 MB / 0.5874 GB, free: 55.41 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004466/0.7477, allocations: 1.554 MB / 0.5889 GB, free: 53.84 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003707/0.7514, allocations: 1.372 MB / 0.5903 GB, free: 52.46 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009666/0.7611, allocations: 9.254 MB / 0.5993 GB, free: 42.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00432/0.7654, allocations: 399.3 kB / 0.5997 GB, free: 42.49 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006934/0.7661, allocations: 388 kB / 0.6001 GB, free: 42.11 MB / 446.1 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 {(6,29)} Notification: Performance of prepare postOptimizeDAE: time 0.002582/0.7687, allocations: 2.013 MB / 0.602 GB, free: 40.09 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005911/0.7693, allocations: 341.7 kB / 0.6024 GB, free: 39.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006637/0.77, allocations: 432.5 kB / 0.6028 GB, free: 39.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005037/0.775, allocations: 2.714 MB / 0.6054 GB, free: 36.59 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.234e-05/0.775, allocations: 4 kB / 0.6054 GB, free: 36.58 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.775, allocations: 7.969 kB / 0.6054 GB, free: 36.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01369/0.7887, allocations: 8.152 MB / 0.6134 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.7887, allocations: 0 / 0.6134 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008425/0.7896, allocations: 195.7 kB / 0.6136 GB, free: 28.15 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003977/0.7935, allocations: 1.452 MB / 0.615 GB, free: 26.68 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001497/0.7937, allocations: 43.91 kB / 0.615 GB, free: 26.64 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009824/0.8035, allocations: 9.418 MB / 0.6242 GB, free: 16.88 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006508/0.8042, allocations: 1.444 MB / 0.6256 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007567/0.8117, allocations: 5.367 MB / 0.6309 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000767/0.8125, allocations: 317.5 kB / 0.6312 GB, free: 9.605 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003628/0.8129, allocations: 28 kB / 0.6312 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001239/0.8141, allocations: 127.8 kB / 0.6313 GB, free: 9.453 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002704/0.8144, allocations: 109.2 kB / 0.6314 GB, free: 9.344 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.896e-05/0.8145, allocations: 47.92 kB / 0.6315 GB, free: 9.297 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002612/0.8171, allocations: 2.341 MB / 0.6338 GB, free: 6.973 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.8171, allocations: 0 / 0.6338 GB, free: 6.973 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004269/0.8213, allocations: 1.05 MB / 0.6348 GB, free: 5.926 MB / 446.1 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.00796/0.8293, allocations: 6.01 MB / 0.6407 GB, free: 15.88 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.01089/0.8402, allocations: 5.392 MB / 0.6459 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.8402, allocations: 0 / 0.6459 GB, free: 10.46 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004571/0.8448, allocations: 2.083 MB / 0.648 GB, free: 8.332 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.8472, allocations: 401.4 kB / 0.6484 GB, free: 7.945 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08127/0.9284, allocations: 45.54 MB / 0.6928 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00429/0.9327, allocations: 2.585 MB / 0.6953 GB, free: 1.629 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.004136/0.9369, allocations: 1.803 MB / 0.6971 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002654/0.9395, allocations: 1.764 MB / 0.6988 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of SimCode: time 9.32e-07/0.9395, allocations: 0 / 0.6988 GB, free: 14.05 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3527/1.292, allocations: 72.18 MB / 0.7693 GB, free: 185.3 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.7/18.99, allocations: 6.125 kB / 0.7693 GB, free: 185.3 MB / 0.545 GB " [Timeout remaining time 641] (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 & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019988 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: 21.576312577002682] 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]'] 19.16095466297702 19.180612124 18.853454215 Calling exit ...