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.001623/0.001623, 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.001951/0.001951, allocations: 205.6 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 12.78/12.78, allocations: 230.5 MB / 257.4 MB, free: 7.742 MB / 206.1 MB " [Timeout remaining time 167] 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.001966/0.001966, allocations: 59.89 kB / 377.7 MB, free: 2.805 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3127, allocations: 53.41 MB / 431.2 MB, free: 6.445 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem): time 0.01367/0.3264, allocations: 10.46 MB / 441.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.009617/0.336, allocations: 4.015 MB / 445.6 MB, free: 7.91 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001789/0.3378, allocations: 79.62 kB / 445.7 MB, free: 7.832 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005841/0.3436, allocations: 2.69 MB / 448.4 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005949/0.3496, allocations: 2.003 MB / 450.4 MB, free: 3.125 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002357/0.352, allocations: 0.8034 MB / 451.2 MB, free: 2.32 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007456/0.3594, allocations: 4.679 MB / 455.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004946/0.3644, allocations: 2.93 MB / 458.8 MB, free: 10.65 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003415/0.3678, allocations: 1.709 MB / 460.5 MB, free: 8.934 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00437/0.3721, allocations: 2.386 MB / 462.9 MB, free: 6.539 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001295/0.3734, allocations: 352 kB / 463.3 MB, free: 6.195 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003039/0.3765, allocations: 1.155 MB / 464.4 MB, free: 5.039 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002968/0.3794, allocations: 2.146 MB / 466.6 MB, free: 2.887 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003778/0.3832, allocations: 1.809 MB / 468.4 MB, free: 1.066 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01087/0.3941, allocations: 7.54 MB / 475.9 MB, free: 9.496 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.3941, allocations: 3.984 kB / 475.9 MB, free: 9.492 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3941, allocations: 0 / 475.9 MB, free: 9.492 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003233/0.3944, allocations: 3.938 kB / 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.01349/0.4079, allocations: 5.323 MB / 481.2 MB, free: 4.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.423e-05/0.408, allocations: 11.98 kB / 481.2 MB, free: 4.094 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001717/0.4097, allocations: 0.7982 MB / 482 MB, free: 3.285 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009094/0.4188, allocations: 2.221 MB / 484.3 MB, free: 1.059 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007624/0.4264, allocations: 2.886 MB / 487.1 MB, free: 14.12 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002727/0.4267, allocations: 274.8 kB / 487.4 MB, free: 13.85 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001415/0.4281, allocations: 431.6 kB / 487.8 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0252/0.4533, allocations: 12.34 MB / 0.4885 GB, free: 260 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001383/0.4534, allocations: 47.58 kB / 0.4885 GB, free: 212 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004926/0.4539, allocations: 171.8 kB / 0.4887 GB, free: 40 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003593/0.4575, allocations: 2.166 MB / 0.4908 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02549/0.483, allocations: 10.22 MB / 0.5008 GB, free: 3.629 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4218/0.9049, allocations: 42.48 MB / 0.5422 GB, free: 71.75 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01072/0.9156, allocations: 3.837 MB / 0.546 GB, free: 71.64 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002225/0.9178, allocations: 1.625 MB / 0.5476 GB, free: 71.53 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01134/0.9291, allocations: 6.496 MB / 0.5539 GB, free: 69.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.343e-05/0.9292, allocations: 61.95 kB / 0.554 GB, free: 69 MB / 446.1 MB Notification: Performance of pre-optimization done (n=183): time 5.47e-06/0.9292, allocations: 0.5312 kB / 0.554 GB, free: 69 MB / 446.1 MB Notification: Performance of matching and sorting (n=205): time 0.03582/0.965, allocations: 16.05 MB / 0.5697 GB, free: 57.71 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0008952/0.9659, allocations: 1.589 MB / 0.5712 GB, free: 55.98 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004886/0.9708, allocations: 4.461 MB / 0.5756 GB, free: 51.67 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002675/0.9711, allocations: 57.53 kB / 0.5756 GB, free: 51.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001426/0.9725, allocations: 3.535 MB / 0.5791 GB, free: 48.18 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006171/0.9731, allocations: 0.8438 MB / 0.5799 GB, free: 47.34 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001182/0.9743, allocations: 1.362 MB / 0.5812 GB, free: 45.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.542e-05/0.9743, allocations: 305.2 kB / 0.5815 GB, free: 45.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002528/0.9769, allocations: 2.242 MB / 0.5837 GB, free: 43.43 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003677/0.9805, allocations: 6.374 MB / 0.5899 GB, free: 35.07 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007249/0.9878, allocations: 9.283 MB / 0.599 GB, free: 23.93 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.164e-05/0.9879, allocations: 44 kB / 0.599 GB, free: 23.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=886) (initialization): time 0.01272/1.001, allocations: 9.127 MB / 0.608 GB, free: 14.75 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.469e-05/1.001, allocations: 71.94 kB / 0.608 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004406/1.005, allocations: 2.871 MB / 0.6108 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002696/1.008, allocations: 1.072 MB / 0.6119 GB, free: 10.71 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00389/1.012, allocations: 1.579 MB / 0.6134 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003324/1.015, allocations: 4.443 MB / 0.6178 GB, free: 4.445 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004481/1.019, allocations: 435.4 kB / 0.6182 GB, free: 4.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004968/1.02, allocations: 412 kB / 0.6186 GB, free: 3.617 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.002549/1.022, allocations: 2.212 MB / 0.6207 GB, free: 1.395 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006681/1.023, allocations: 398.7 kB / 0.6211 GB, free: 1.004 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006341/1.029, allocations: 3.317 MB / 0.6243 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.005709/1.035, allocations: 2.769 MB / 0.627 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.728e-05/1.035, allocations: 4 kB / 0.627 GB, free: 10.87 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/1.035, allocations: 7.969 kB / 0.6271 GB, free: 10.86 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02151/1.057, allocations: 9.805 MB / 0.6366 GB, free: 0.8164 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.196e-05/1.057, allocations: 12 kB / 0.6366 GB, free: 0.8047 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001507/1.058, allocations: 379.5 kB / 0.637 GB, free: 444 kB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002989/1.061, allocations: 0.9863 MB / 0.638 GB, free: 15.43 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001638/1.061, allocations: 59.97 kB / 0.638 GB, free: 15.38 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005578/1.067, allocations: 4.685 MB / 0.6426 GB, free: 10.47 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001189/1.068, allocations: 1.458 MB / 0.644 GB, free: 8.887 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009869/1.078, allocations: 5.979 MB / 0.6499 GB, free: 2.703 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/1.079, allocations: 385.2 kB / 0.6502 GB, free: 2.324 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004174/1.08, allocations: 56.55 kB / 0.6503 GB, free: 2.27 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/1.081, allocations: 151.8 kB / 0.6504 GB, free: 2.121 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003514/1.082, allocations: 180.3 kB / 0.6506 GB, free: 1.945 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001526/1.082, allocations: 71.98 kB / 0.6507 GB, free: 1.875 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004151/1.086, allocations: 2.598 MB / 0.6532 GB, free: 15.27 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/1.086, allocations: 0 / 0.6532 GB, free: 15.27 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00591/1.092, allocations: 1.117 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.01029/1.102, allocations: 6.666 MB / 0.6608 GB, free: 7.273 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01112/1.113, allocations: 5.593 MB / 0.6663 GB, free: 1.676 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-05/1.113, allocations: 0 / 0.6663 GB, free: 1.676 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004714/1.118, allocations: 1.973 MB / 0.6682 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003293/1.121, allocations: 0.4939 MB / 0.6687 GB, free: 15.18 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.09037/1.212, allocations: 50.8 MB / 0.7183 GB, free: 5.504 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006123/1.218, allocations: 2.927 MB / 0.7211 GB, free: 2.539 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.007292/1.225, allocations: 2.014 MB / 0.7231 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004295/1.229, allocations: 2.1 MB / 0.7252 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of SimCode: time 1.362e-06/1.229, allocations: 0 / 0.7252 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7751/2.005, allocations: 73.59 MB / 0.797 GB, free: 202.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.33/20.33, allocations: 8 kB / 0.797 GB, free: 202.6 MB / 0.5762 GB " [Timeout remaining time 639] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.SpringDamperSystem_res.mat --tempDir=temp_Modelica_trunk_Modelica_Mechanics_MultiBody_Examples_Elementary_SpringDamperSystem_fmu --startTime=0 --stopTime=10 --stepSize=0.0019992 --timeout=50 --tolerance=1e-06 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: 36.125815176870674] 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.509685466066003 20.530297126 20.132009992 Calling exit ...