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.001169/0.001169, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 197 kB / 16.53 MB, free: 6.664 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.59/1.59, allocations: 205.1 MB / 222.4 MB, free: 4.609 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.3586/0.3586, allocations: 39.93 MB / 309.7 MB, free: 9.285 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.001565/0.001565, allocations: 70.41 kB / 377.6 MB, free: 12.68 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1522/0.1538, allocations: 56.88 MB / 434.5 MB, free: 3.695 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.01527/0.1691, allocations: 12.51 MB / 447 MB, free: 7.129 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.1805, allocations: 4.33 MB / 451.3 MB, free: 2.789 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00332/0.1838, allocations: 75.75 kB / 451.4 MB, free: 2.715 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.2829/0.4669, allocations: 2.89 MB / 454.3 MB, free: 36.38 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007861/0.4748, allocations: 2.097 MB / 456.4 MB, free: 36.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002966/0.4778, allocations: 0.9353 MB / 457.3 MB, free: 36.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.008446/0.4862, allocations: 5.46 MB / 462.8 MB, free: 36.28 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005527/0.4918, allocations: 4.035 MB / 466.8 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003982/0.4958, allocations: 1.836 MB / 468.7 MB, free: 35.44 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004126/0.5, allocations: 2.6 MB / 471.3 MB, free: 34.67 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001464/0.5015, allocations: 384.4 kB / 471.6 MB, free: 34.67 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003091/0.5046, allocations: 1.226 MB / 472.9 MB, free: 34.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002545/0.5071, allocations: 2.305 MB / 475.2 MB, free: 33.71 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004283/0.5114, allocations: 2.607 MB / 477.8 MB, free: 31.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01372/0.5252, allocations: 7.71 MB / 485.5 MB, free: 29.37 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.417e-05/0.5252, allocations: 0.8906 kB / 485.5 MB, free: 29.37 MB / 382.1 MB Notification: Performance of FrontEnd: time 5.039e-06/0.5253, allocations: 2.906 kB / 485.5 MB, free: 29.37 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005268/0.5258, allocations: 1.75 kB / 485.5 MB, free: 29.37 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: 1730 * Number of variables: 1730 Notification: Performance of Generate backend data structure: time 0.02377/0.5496, allocations: 5.891 MB / 491.4 MB, free: 26.42 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.822e-05/0.5497, allocations: 13.27 kB / 491.4 MB, free: 26.41 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01168/0.5613, allocations: 2.285 MB / 493.7 MB, free: 26.01 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009295/0.5707, allocations: 2.959 MB / 496.6 MB, free: 24.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005436/0.5713, allocations: 287 kB / 496.9 MB, free: 24.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003585/0.5749, allocations: 0.5996 MB / 497.5 MB, free: 24.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03449/0.6094, allocations: 12.11 MB / 0.4977 GB, free: 17.81 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003791/0.6098, allocations: 53.06 kB / 0.4977 GB, free: 17.78 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001685/0.6115, allocations: 179.6 kB / 0.4979 GB, free: 17.7 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004011/0.6156, allocations: 2.135 MB / 0.5 GB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02503/0.6406, allocations: 10.74 MB / 0.5105 GB, free: 7.289 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07589/0.7166, allocations: 47.81 MB / 0.5572 GB, free: 6.531 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0165/0.7331, allocations: 5.387 MB / 0.5624 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004696/0.7379, allocations: 2.504 MB / 0.5649 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02242/0.7603, allocations: 12.3 MB / 0.5769 GB, free: 1.703 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.755e-05/0.7605, allocations: 63.8 kB / 0.577 GB, free: 1.633 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 6.222e-06/0.7605, allocations: 0.6562 kB / 0.577 GB, free: 1.633 MB / 446.1 MB Notification: Performance of matching and sorting (n=258): time 0.07291/0.8334, allocations: 25.33 MB / 0.6017 GB, free: 7.922 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004111/0.8376, allocations: 4.834 MB / 0.6064 GB, free: 2.613 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008204/0.8458, allocations: 4.565 MB / 0.6109 GB, free: 14.03 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001634/0.8475, allocations: 61.7 kB / 0.6109 GB, free: 13.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003316/0.8508, allocations: 3.527 MB / 0.6144 GB, free: 10.45 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002666/0.8535, allocations: 1.027 MB / 0.6154 GB, free: 9.426 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002743/0.8563, allocations: 1.536 MB / 0.6169 GB, free: 7.887 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001298/0.8564, allocations: 307.3 kB / 0.6172 GB, free: 7.586 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005734/0.8621, allocations: 3.275 MB / 0.6204 GB, free: 4.309 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3073/1.169, allocations: 7.595 MB / 0.6278 GB, free: 140.2 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01424/1.184, allocations: 11.48 MB / 0.639 GB, free: 132.9 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002296/1.184, allocations: 43.91 kB / 0.639 GB, free: 132.9 MB / 494.1 MB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.05018/1.234, allocations: 16.29 MB / 0.6549 GB, free: 128.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001699/1.234, allocations: 74.3 kB / 0.655 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03459/1.269, allocations: 9.587 MB / 0.6644 GB, free: 126.2 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03411/1.303, allocations: 6.686 MB / 0.6709 GB, free: 124.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006329/1.31, allocations: 1.711 MB / 0.6726 GB, free: 124.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03024/1.34, allocations: 25.63 MB / 0.6976 GB, free: 105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01112/1.351, allocations: 0.6633 MB / 0.6982 GB, free: 104.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002031/1.353, allocations: 463.4 kB / 0.6987 GB, free: 103.9 MB / 494.1 MB 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 (922): * Single equations (assignments): 900 * Array equations: 9 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (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.00574/1.359, allocations: 2.346 MB / 0.701 GB, free: 101.6 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009881/1.36, allocations: 414.7 kB / 0.7014 GB, free: 101.4 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.014/1.374, allocations: 7.286 MB / 0.7085 GB, free: 94.05 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0136/1.387, allocations: 6.655 MB / 0.715 GB, free: 87.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-05/1.388, allocations: 12 kB / 0.715 GB, free: 87.3 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.066e-05/1.388, allocations: 7.969 kB / 0.715 GB, free: 87.3 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.031/1.419, allocations: 15.63 MB / 0.7303 GB, free: 71.58 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.55e-05/1.419, allocations: 4 kB / 0.7303 GB, free: 71.57 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002253/1.421, allocations: 443.3 kB / 0.7307 GB, free: 71.14 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01011/1.431, allocations: 3.411 MB / 0.734 GB, free: 67.69 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008249/1.432, allocations: 87.56 kB / 0.7341 GB, free: 67.61 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01841/1.45, allocations: 20.53 MB / 0.7542 GB, free: 46.12 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002866/1.453, allocations: 4.685 MB / 0.7587 GB, free: 41.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02021/1.474, allocations: 10.85 MB / 0.7693 GB, free: 29.99 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/1.475, allocations: 483.6 kB / 0.7698 GB, free: 29.49 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009227/1.476, allocations: 75.7 kB / 0.7699 GB, free: 29.42 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00273/1.479, allocations: 295.5 kB / 0.7702 GB, free: 29.13 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007348/1.48, allocations: 209.5 kB / 0.7704 GB, free: 28.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002271/1.48, allocations: 83.62 kB / 0.7704 GB, free: 28.85 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004417/1.484, allocations: 2.843 MB / 0.7732 GB, free: 26.01 MB / 494.1 MB Notification: Performance of sort global known variables: time 6.61e-07/1.485, allocations: 0 / 0.7732 GB, free: 26.01 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.009492/1.494, allocations: 1.589 MB / 0.7748 GB, free: 24.42 MB / 494.1 MB 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 (194): * Single equations (assignments): 178 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 8 * Torn equation systems: 5 * 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): 5 systems {(1,1,100.0%), (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.0008954/1.495, allocations: 222.2 kB / 0.775 GB, free: 24.21 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.02193/1.517, allocations: 11.82 MB / 0.7865 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.66e-05/1.517, allocations: 1.938 kB / 0.7865 GB, free: 12.21 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008802/1.526, allocations: 4.918 MB / 0.7913 GB, free: 7.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004106/1.53, allocations: 0.5725 MB / 0.7919 GB, free: 6.527 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.023/1.553, allocations: 13.46 MB / 0.805 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004464/1.557, allocations: 3.7 MB / 0.8086 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005933/1.563, allocations: 2.245 MB / 0.8108 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009034/1.564, allocations: 311.3 kB / 0.8111 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of SimCode: time 1.593e-06/1.564, allocations: 0 / 0.8111 GB, free: 2.668 MB / 0.4981 GB Notification: Performance of Templates: time 0.3902/1.955, allocations: 68.43 MB / 0.878 GB, free: 119.4 MB / 0.4981 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)