Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2") translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005402/0.005402, allocations: 101 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001195/0.001195, allocations: 182.6 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.1 MB / 222.6 MB, free: 4.516 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4204/0.4204, allocations: 39.94 MB / 309.8 MB, free: 9.328 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 67.91 kB / 435.8 MB, free: 2.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3587/0.3601, allocations: 56.88 MB / 492.7 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.01341/0.3736, allocations: 12.51 MB / 0.4933 GB, free: 10.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01233/0.386, allocations: 4.332 MB / 0.4976 GB, free: 7.605 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003984/0.39, allocations: 76.72 kB / 0.4976 GB, free: 7.59 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006951/0.397, allocations: 2.895 MB / 0.5005 GB, free: 5.855 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007269/0.4043, allocations: 2.095 MB / 0.5025 GB, free: 4.363 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002559/0.4069, allocations: 0.9304 MB / 0.5034 GB, free: 3.719 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009398/0.4163, allocations: 5.481 MB / 0.5088 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005862/0.4222, allocations: 4.019 MB / 0.5127 GB, free: 14.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004223/0.4264, allocations: 1.847 MB / 0.5145 GB, free: 13.48 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004676/0.4311, allocations: 2.598 MB / 0.517 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00125/0.4324, allocations: 384 kB / 0.5174 GB, free: 11.09 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00314/0.4356, allocations: 1.221 MB / 0.5186 GB, free: 9.867 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002419/0.438, allocations: 2.299 MB / 0.5208 GB, free: 7.562 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003246/0.4413, allocations: 2.614 MB / 0.5234 GB, free: 4.934 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009678/0.451, allocations: 7.98 MB / 0.5312 GB, free: 12.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.451, allocations: 0 / 0.5312 GB, free: 12.93 MB / 414.1 MB Notification: Performance of FrontEnd: time 3.426e-06/0.451, allocations: 7.922 kB / 0.5312 GB, free: 12.92 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0002355/0.4513, allocations: 0 / 0.5312 GB, free: 12.92 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.01321/0.4645, allocations: 5.883 MB / 0.5369 GB, free: 6.965 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.998e-05/0.4645, allocations: 11.89 kB / 0.537 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009502/0.474, allocations: 2.279 MB / 0.5392 GB, free: 4.664 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007576/0.4817, allocations: 3 MB / 0.5421 GB, free: 1.605 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002996/0.482, allocations: 295.5 kB / 0.5424 GB, free: 1.316 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002416/0.4844, allocations: 0.5969 MB / 0.543 GB, free: 0.7188 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02677/0.5112, allocations: 12.11 MB / 0.5548 GB, free: 3.793 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002258/0.5115, allocations: 55.44 kB / 0.5549 GB, free: 3.738 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007377/0.5123, allocations: 179.8 kB / 0.555 GB, free: 3.562 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003603/0.5159, allocations: 2.131 MB / 0.5571 GB, free: 1.422 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02243/0.5383, allocations: 10.76 MB / 0.5676 GB, free: 6.652 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07139/0.6098, allocations: 47.62 MB / 0.6141 GB, free: 5.789 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01606/0.6259, allocations: 5.396 MB / 0.6194 GB, free: 232 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004216/0.6301, allocations: 2.496 MB / 0.6218 GB, free: 13.72 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0223/0.6525, allocations: 12.32 MB / 0.6339 GB, free: 0.8516 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/0.6526, allocations: 51.88 kB / 0.6339 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=219): time 5.4e-06/0.6526, allocations: 0 / 0.6339 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of matching and sorting (n=258): time 0.3668/1.019, allocations: 25.11 MB / 0.6584 GB, free: 119.2 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003225/1.023, allocations: 4.887 MB / 0.6632 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008056/1.031, allocations: 4.564 MB / 0.6677 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0009051/1.032, allocations: 67.28 kB / 0.6677 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.00246/1.034, allocations: 3.523 MB / 0.6712 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001677/1.036, allocations: 1.026 MB / 0.6722 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002511/1.038, allocations: 1.539 MB / 0.6737 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.382e-05/1.038, allocations: 305.1 kB / 0.674 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004409/1.043, allocations: 3.282 MB / 0.6772 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006174/1.049, allocations: 7.6 MB / 0.6846 GB, free: 98.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01144/1.061, allocations: 11.48 MB / 0.6958 GB, free: 86.92 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001431/1.061, allocations: 44 kB / 0.6958 GB, free: 86.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.04222/1.103, allocations: 16.21 MB / 0.7117 GB, free: 70.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.551e-05/1.103, allocations: 68 kB / 0.7117 GB, free: 70.54 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02889/1.132, allocations: 9.464 MB / 0.721 GB, free: 61.02 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0298/1.162, allocations: 6.645 MB / 0.7275 GB, free: 54.32 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005334/1.167, allocations: 1.719 MB / 0.7291 GB, free: 52.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02784/1.195, allocations: 24.18 MB / 0.7527 GB, free: 27.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008195/1.203, allocations: 0.6629 MB / 0.7534 GB, free: 26.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001604/1.205, allocations: 459.9 kB / 0.7538 GB, free: 26.35 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 688 * Number of states: 0 () * Number of discrete variables: 45 (fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],spring2.color[3],spring2.color[2],spring2.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (923): * Single equations (assignments): 902 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 5 systems {(4,100.0%), (4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%)} * Non-linear Jacobian (size): 3 systems {4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (5,13,100.0%), (2,1,100.0%), (2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.004525/1.21, allocations: 2.345 MB / 0.7561 GB, free: 24 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001176/1.211, allocations: 422.6 kB / 0.7565 GB, free: 23.58 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01377/1.224, allocations: 7.182 MB / 0.7635 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01258/1.237, allocations: 6.545 MB / 0.7699 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.31e-05/1.237, allocations: 12 kB / 0.7699 GB, free: 9.703 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.23e-05/1.237, allocations: 15.95 kB / 0.77 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02847/1.266, allocations: 15.5 MB / 0.7851 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.749e-05/1.266, allocations: 4 kB / 0.7851 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002237/1.268, allocations: 451.3 kB / 0.7855 GB, free: 9.594 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01075/1.279, allocations: 3.373 MB / 0.7888 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008076/1.28, allocations: 79.88 kB / 0.7889 GB, free: 6.105 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02164/1.301, allocations: 19.15 MB / 0.8076 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003069/1.304, allocations: 4.684 MB / 0.8122 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0205/1.325, allocations: 10.76 MB / 0.8227 GB, free: 1.922 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001722/1.327, allocations: 479.9 kB / 0.8231 GB, free: 1.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008552/1.328, allocations: 67.97 kB / 0.8232 GB, free: 1.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002612/1.33, allocations: 295.5 kB / 0.8235 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006582/1.331, allocations: 197.6 kB / 0.8237 GB, free: 0.8789 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002249/1.331, allocations: 87.88 kB / 0.8238 GB, free: 0.793 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.004453/1.335, allocations: 2.843 MB / 0.8265 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.264e-06/1.336, allocations: 0 / 0.8265 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.007975/1.343, allocations: 1.601 MB / 0.8281 GB, free: 12.35 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 25 * Number of states: 36 ($STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],body.frame_a.r_0[1],body.frame_a.r_0[2],body.frame_a.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],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],body2.frame_a.r_0[1],body2.frame_a.r_0[2],body2.frame_a.r_0[3],body2.v_0[1],body2.v_0[2],body2.v_0[3],body2.w_a[1],body2.w_a[2],body2.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 (195): * Single equations (assignments): 180 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 5 systems {(4,100.0%), (3,100.0%), (4,100.0%), (3,100.0%), (4,100.0%)} * Non-linear Jacobian (size): 3 systems {4, 4, 4} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,1,100.0%), (5,8,100.0%), (2,1,100.0%), (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.0006491/1.344, allocations: 229.6 kB / 0.8283 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01833/1.363, allocations: 9.839 MB / 0.8379 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 9.969e-06/1.363, allocations: 0 / 0.8379 GB, free: 2.117 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01006/1.373, allocations: 4.805 MB / 0.8426 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004364/1.377, allocations: 0.5636 MB / 0.8432 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2932/1.67, allocations: 13.31 MB / 0.8562 GB, free: 183.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007295/1.678, allocations: 3.707 MB / 0.8598 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006653/1.684, allocations: 2.247 MB / 0.862 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001275/1.686, allocations: 307.2 kB / 0.8623 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of SimCode: time 1.112e-06/1.686, allocations: 0 / 0.8623 GB, free: 182.8 MB / 0.5762 GB Notification: Performance of Templates: time 0.1054/1.791, allocations: 64.37 MB / 0.9251 GB, free: 146.8 MB / 0.5762 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1)