Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.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.00157/0.00157, allocations: 119.1 kB / 20.45 MB, free: 1.176 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.00144/0.00144, allocations: 206 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.479/1.479, allocations: 230.5 MB / 257.4 MB, free: 7.77 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.SpringDamperSystem,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem,fileNamePrefix="Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002144/0.002144, allocations: 63.89 kB / 377.7 MB, free: 2.801 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2831, allocations: 53.41 MB / 431.2 MB, free: 6.441 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01378/0.2969, allocations: 10.46 MB / 441.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008692/0.3055, allocations: 4.014 MB / 445.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001795/0.3073, allocations: 87.56 kB / 445.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005242/0.3126, allocations: 2.682 MB / 448.4 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005121/0.3177, allocations: 2.004 MB / 450.4 MB, free: 3.129 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.3194, allocations: 0.8112 MB / 451.2 MB, free: 2.316 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.006548/0.326, allocations: 4.678 MB / 455.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003617/0.3296, allocations: 2.937 MB / 458.8 MB, free: 10.64 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002373/0.332, allocations: 1.705 MB / 460.5 MB, free: 8.93 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00357/0.3355, allocations: 2.379 MB / 462.9 MB, free: 6.543 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000886/0.3364, allocations: 352 kB / 463.3 MB, free: 6.199 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00239/0.3388, allocations: 1.151 MB / 464.4 MB, free: 5.047 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002301/0.3411, allocations: 2.154 MB / 466.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002595/0.3437, allocations: 1.806 MB / 468.4 MB, free: 1.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01025/0.354, allocations: 7.548 MB / 475.9 MB, free: 9.492 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.354, allocations: 0 / 475.9 MB, free: 9.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.184e-06/0.354, allocations: 3.938 kB / 475.9 MB, free: 9.488 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002558/0.3542, allocations: 0 / 475.9 MB, free: 9.488 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: 1686 * Number of variables: 1686 Notification: Performance of Generate backend data structure: time 0.01239/0.3666, allocations: 5.311 MB / 481.2 MB, free: 4.117 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.54e-05/0.3667, allocations: 19.98 kB / 481.2 MB, free: 4.098 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001347/0.368, allocations: 0.7982 MB / 482 MB, free: 3.289 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008582/0.3766, allocations: 2.221 MB / 484.3 MB, free: 1.062 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00695/0.3836, allocations: 2.89 MB / 487.2 MB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000269/0.3838, allocations: 274.9 kB / 487.4 MB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001181/0.385, allocations: 431.7 kB / 487.8 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02419/0.4092, allocations: 12.34 MB / 0.4885 GB, free: 264 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001319/0.4093, allocations: 51.58 kB / 0.4885 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004548/0.4098, allocations: 179.7 kB / 0.4887 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00344/0.4132, allocations: 2.162 MB / 0.4908 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02267/0.4359, allocations: 10.22 MB / 0.5008 GB, free: 3.625 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2912/0.727, allocations: 42.49 MB / 0.5423 GB, free: 71.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01056/0.7376, allocations: 3.823 MB / 0.546 GB, free: 71.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002123/0.7397, allocations: 1.625 MB / 0.5476 GB, free: 71.46 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01006/0.7498, allocations: 6.503 MB / 0.5539 GB, free: 68.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.7498, allocations: 54.67 kB / 0.554 GB, free: 68.93 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 4.418e-06/0.7498, allocations: 0 / 0.554 GB, free: 68.93 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.03631/0.7861, allocations: 16.04 MB / 0.5697 GB, free: 57.73 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009128/0.7871, allocations: 1.593 MB / 0.5712 GB, free: 56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004499/0.7916, allocations: 4.457 MB / 0.5756 GB, free: 51.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003284/0.7919, allocations: 57.7 kB / 0.5756 GB, free: 51.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001442/0.7933, allocations: 3.535 MB / 0.5791 GB, free: 48.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006576/0.794, allocations: 0.8511 MB / 0.5799 GB, free: 47.36 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001244/0.7952, allocations: 1.361 MB / 0.5812 GB, free: 45.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.107e-05/0.7953, allocations: 301.1 kB / 0.5815 GB, free: 45.69 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002722/0.798, allocations: 2.25 MB / 0.5837 GB, free: 43.44 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003813/0.8018, allocations: 6.377 MB / 0.5899 GB, free: 35.08 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007811/0.8096, allocations: 9.281 MB / 0.599 GB, free: 23.94 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001199/0.8097, allocations: 40 kB / 0.599 GB, free: 23.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01379/0.8235, allocations: 9.132 MB / 0.608 GB, free: 14.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.361e-05/0.8236, allocations: 70.81 kB / 0.608 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004822/0.8284, allocations: 2.868 MB / 0.6108 GB, free: 11.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002899/0.8313, allocations: 1.069 MB / 0.6119 GB, free: 10.72 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004411/0.8357, allocations: 1.579 MB / 0.6134 GB, free: 9.137 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003541/0.8393, allocations: 4.454 MB / 0.6178 GB, free: 4.449 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004944/0.8442, allocations: 427.5 kB / 0.6182 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009529/0.8452, allocations: 412 kB / 0.6186 GB, free: 3.629 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 665 * Number of states: 0 () * Number of discrete variables: 45 (damper1.color_b[3],damper1.color_b[2],damper1.color_b[1],damper1.color_a[3],damper1.color_a[2],damper1.color_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],p2.boxColor[3],p2.boxColor[2],p2.boxColor[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],bar2.color[3],bar2.color[2],bar2.color[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 (848): * Single equations (assignments): 839 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00344/0.8486, allocations: 2.219 MB / 0.6207 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007946/0.8494, allocations: 393.4 kB / 0.6211 GB, free: 1.012 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007059/0.8565, allocations: 3.309 MB / 0.6243 GB, free: 13.67 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005794/0.8623, allocations: 2.769 MB / 0.627 GB, free: 10.89 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.8623, allocations: 11.94 kB / 0.6271 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.477e-05/0.8623, allocations: 7.969 kB / 0.6271 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02108/0.8834, allocations: 9.801 MB / 0.6366 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.725e-05/0.8834, allocations: 13 kB / 0.6366 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001675/0.8851, allocations: 383.4 kB / 0.637 GB, free: 452 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003159/0.8883, allocations: 0.9786 MB / 0.638 GB, free: 15.45 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000275/0.8885, allocations: 63.98 kB / 0.638 GB, free: 15.39 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005878/0.8944, allocations: 4.685 MB / 0.6426 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001228/0.8956, allocations: 1.458 MB / 0.644 GB, free: 8.898 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/0.9065, allocations: 5.977 MB / 0.6499 GB, free: 2.711 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00138/0.9079, allocations: 373.4 kB / 0.6502 GB, free: 2.344 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009526/0.9088, allocations: 63.8 kB / 0.6503 GB, free: 2.285 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002274/0.9111, allocations: 155.8 kB / 0.6504 GB, free: 2.133 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004512/0.9115, allocations: 180.3 kB / 0.6506 GB, free: 1.957 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/0.9118, allocations: 75.92 kB / 0.6507 GB, free: 1.883 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.005339/0.9171, allocations: 2.601 MB / 0.6532 GB, free: 15.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9171, allocations: 3.938 kB / 0.6532 GB, free: 15.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.006973/0.9241, allocations: 1.113 MB / 0.6543 GB, free: 14.16 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 60 * Number of states: 14 ($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],p2.s,p2.v) * 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 (180): * Single equations (assignments): 173 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01157/0.9357, allocations: 6.657 MB / 0.6608 GB, free: 7.289 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01102/0.9467, allocations: 5.587 MB / 0.6663 GB, free: 1.699 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.166e-05/0.9467, allocations: 0 / 0.6663 GB, free: 1.699 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00444/0.9511, allocations: 1.975 MB / 0.6682 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003965/0.9551, allocations: 0.5033 MB / 0.6687 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09038/1.045, allocations: 50.79 MB / 0.7183 GB, free: 5.52 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005543/1.051, allocations: 2.935 MB / 0.7212 GB, free: 2.547 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.005092/1.056, allocations: 2.014 MB / 0.7231 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003398/1.06, allocations: 2.098 MB / 0.7252 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of SimCode: time 1.052e-06/1.06, allocations: 0 / 0.7252 GB, free: 14.47 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3391/1.399, allocations: 73.58 MB / 0.797 GB, free: 202.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.6/20, allocations: 0 / 0.797 GB, free: 202.6 MB / 0.5762 GB " [Timeout remaining time 640] (rm -f Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; mkfifo Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe >> ../files/Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.sim & python3 -m fmpy simulate --output-file Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0019992 Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem.fmu > Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 22.596791580785066] 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]', 'p2.s', 'p2.v'] 20.170415433123708 20.190204432 19.832199015 Calling exit ...