Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001453/0.001453, allocations: 107.6 kB / 21.18 MB, free: 472 kB / 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.001582/0.001582, allocations: 208 kB / 24.47 MB, free: 3.801 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 207.7 MB / 235.3 MB, free: 9.82 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings,fileNamePrefix="Modelica_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 55.92 kB / 347.2 MB, free: 9.898 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2609, allocations: 49.16 MB / 396.4 MB, free: 8.879 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings): time 0.009489/0.2704, allocations: 9.401 MB / 405.8 MB, free: 2.766 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.007214/0.2776, allocations: 3.741 MB / 409.5 MB, free: 392 kB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001799/0.2794, allocations: 73.47 kB / 409.6 MB, free: 368 kB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005007/0.2844, allocations: 2.528 MB / 412.1 MB, free: 15.19 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004952/0.2894, allocations: 1.805 MB / 413.9 MB, free: 13.92 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001634/0.291, allocations: 0.6932 MB / 414.6 MB, free: 13.43 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.005272/0.2963, allocations: 3.694 MB / 418.3 MB, free: 11.43 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003662/0.3, allocations: 2.724 MB / 421 MB, free: 9.551 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.3026, allocations: 1.513 MB / 422.5 MB, free: 8.707 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003332/0.3059, allocations: 1.992 MB / 424.5 MB, free: 6.875 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007574/0.3067, allocations: 316 kB / 424.8 MB, free: 6.566 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002316/0.309, allocations: 1.065 MB / 425.9 MB, free: 5.5 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002002/0.311, allocations: 1.877 MB / 427.8 MB, free: 3.617 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002109/0.3131, allocations: 1.596 MB / 429.4 MB, free: 2.012 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009099/0.3222, allocations: 6.762 MB / 436.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.3222, allocations: 4 kB / 436.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.3222, allocations: 0 / 436.1 MB, free: 11.22 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001699/0.3224, allocations: 0 / 436.1 MB, free: 11.22 MB / 350.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.008905/0.3313, allocations: 4.642 MB / 440.8 MB, free: 6.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.3313, allocations: 15.98 kB / 440.8 MB, free: 6.504 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009406/0.3323, allocations: 0.7236 MB / 441.5 MB, free: 5.77 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006955/0.3392, allocations: 1.913 MB / 443.4 MB, free: 3.852 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005504/0.3447, allocations: 2.429 MB / 445.9 MB, free: 1.391 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002588/0.345, allocations: 250.2 kB / 446.1 MB, free: 1.145 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001074/0.3461, allocations: 391.7 kB / 446.5 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01935/0.3654, allocations: 10.14 MB / 456.6 MB, free: 5.887 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001017/0.3655, allocations: 35.69 kB / 456.7 MB, free: 5.852 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004426/0.366, allocations: 159.9 kB / 456.8 MB, free: 5.695 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002959/0.3689, allocations: 1.86 MB / 458.7 MB, free: 3.832 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01791/0.3868, allocations: 8.3 MB / 467 MB, free: 11.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05218/0.439, allocations: 37.86 MB / 0.493 GB, free: 4.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01062/0.4496, allocations: 3.398 MB / 0.4963 GB, free: 1.09 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002219/0.4519, allocations: 1.341 MB / 0.4976 GB, free: 15.74 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01037/0.4622, allocations: 5.524 MB / 0.503 GB, free: 10.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.4623, allocations: 51.55 kB / 0.5031 GB, free: 10.12 MB / 430.1 MB Notification: Performance of pre-optimization done (n=152): time 4.218e-06/0.4623, allocations: 4 kB / 0.5031 GB, free: 10.12 MB / 430.1 MB Notification: Performance of matching and sorting (n=159): time 0.03357/0.4958, allocations: 12.27 MB / 0.5151 GB, free: 13.75 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001524/0.4974, allocations: 1.584 MB / 0.5166 GB, free: 12.02 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006294/0.5037, allocations: 4.07 MB / 0.5206 GB, free: 7.957 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004174/0.5041, allocations: 49.69 kB / 0.5206 GB, free: 7.902 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003157/0.5072, allocations: 3.242 MB / 0.5238 GB, free: 4.629 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008994/0.5081, allocations: 0.6863 MB / 0.5245 GB, free: 3.938 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00189/0.51, allocations: 1.247 MB / 0.5257 GB, free: 2.68 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.5102, allocations: 313.2 kB / 0.526 GB, free: 2.371 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003234/0.5134, allocations: 2.003 MB / 0.5279 GB, free: 372 kB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006789/0.5202, allocations: 5.942 MB / 0.5337 GB, free: 8.449 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01129/0.5315, allocations: 8.572 MB / 0.5421 GB, free: 13.92 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001224/0.5316, allocations: 44 kB / 0.5421 GB, free: 13.88 MB / 478.1 MB Notification: Performance of matching and sorting (n=810) (initialization): time 0.02027/0.5519, allocations: 8.773 MB / 0.5507 GB, free: 5.078 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/0.552, allocations: 64 kB / 0.5508 GB, free: 5.016 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006508/0.5585, allocations: 2.766 MB / 0.5535 GB, free: 2.234 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005351/0.5639, allocations: 1.537 MB / 0.555 GB, free: 0.6797 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1858/0.7496, allocations: 1.356 MB / 0.5563 GB, free: 139.4 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005733/0.7554, allocations: 5.571 MB / 0.5617 GB, free: 136.4 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005023/0.7604, allocations: 395.9 kB / 0.5621 GB, free: 136.4 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000832/0.7612, allocations: 390 kB / 0.5625 GB, free: 136.4 MB / 478.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.003228/0.7645, allocations: 2.016 MB / 0.5645 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006511/0.7651, allocations: 346 kB / 0.5648 GB, free: 135.6 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006816/0.7719, allocations: 3.102 MB / 0.5678 GB, free: 134.7 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005246/0.7772, allocations: 2.66 MB / 0.5704 GB, free: 133.9 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.7772, allocations: 3.281 kB / 0.5704 GB, free: 133.9 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.884e-05/0.7772, allocations: 13.22 kB / 0.5704 GB, free: 133.9 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01598/0.7932, allocations: 8.106 MB / 0.5784 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.896e-05/0.7932, allocations: 3.844 kB / 0.5784 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009095/0.7941, allocations: 188.7 kB / 0.5785 GB, free: 131 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004228/0.7983, allocations: 1.442 MB / 0.5799 GB, free: 130.7 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001483/0.7985, allocations: 34.56 kB / 0.58 GB, free: 130.7 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005004/0.8035, allocations: 5.781 MB / 0.5856 GB, free: 127 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000705/0.8042, allocations: 1.451 MB / 0.587 GB, free: 125.6 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007704/0.8119, allocations: 5.298 MB / 0.5922 GB, free: 123.1 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009774/0.8129, allocations: 303.9 kB / 0.5925 GB, free: 123.1 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003442/0.8132, allocations: 35.05 kB / 0.5925 GB, free: 123.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001257/0.8145, allocations: 122.6 kB / 0.5927 GB, free: 123 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002348/0.8147, allocations: 99.98 kB / 0.5927 GB, free: 122.9 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001038/0.8148, allocations: 43.02 kB / 0.5928 GB, free: 122.9 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.003053/0.8179, allocations: 2.357 MB / 0.5951 GB, free: 121.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.8179, allocations: 0 / 0.5951 GB, free: 121.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.004457/0.8223, allocations: 1.006 MB / 0.5961 GB, free: 120.8 MB / 478.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.00661/0.8289, allocations: 5.765 MB / 0.6017 GB, free: 115 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.007348/0.8363, allocations: 5.097 MB / 0.6067 GB, free: 110 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.8363, allocations: 4.188 kB / 0.6067 GB, free: 110 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003138/0.8394, allocations: 1.799 MB / 0.6084 GB, free: 108.1 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/0.8415, allocations: 391.1 kB / 0.6088 GB, free: 107.8 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05041/0.8919, allocations: 45.51 MB / 0.6533 GB, free: 56.12 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002392/0.8943, allocations: 2.573 MB / 0.6558 GB, free: 53.51 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003237/0.8976, allocations: 1.804 MB / 0.6575 GB, free: 51.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001595/0.8992, allocations: 1.757 MB / 0.6592 GB, free: 49.94 MB / 478.1 MB Notification: Performance of SimCode: time 1.102e-06/0.8992, allocations: 0 / 0.6592 GB, free: 49.94 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1138/1.013, allocations: 65.71 MB / 0.7234 GB, free: 64 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 17.7/18.71, allocations: 18.91 kB / 0.7234 GB, free: 48 kB / 494.1 MB " [Timeout remaining time 641] (rm -f Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; mkfifo Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe >> ../files/Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_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_3_2_3_Modelica_Mechanics_MultiBody_Examples_Elementary_ThreeSprings.fmu > Modelica_3.2.3_Modelica.Mechanics.MultiBody.Examples.Elementary.ThreeSprings.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.340392995160073] 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]'] 18.878583391197026 18.894351817 18.568742172 Calling exit ...