Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.1_ModelicaTest.MultiBody.Forces.Spring2") translateModel(ModelicaTest.MultiBody.Forces.Spring2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_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.001344/0.001344, 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.001821/0.001821, allocations: 196.5 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.642/1.642, allocations: 205.1 MB / 222.4 MB, free: 4.598 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4068/0.4069, allocations: 38 MB / 307.8 MB, free: 10.02 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.1. 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.001506/0.001507, allocations: 80.11 kB / 375.3 MB, free: 15.18 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1579, allocations: 56.46 MB / 431.7 MB, free: 6.625 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.01366/0.1716, allocations: 12.51 MB / 444.2 MB, free: 10.05 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01063/0.1822, allocations: 4.33 MB / 448.5 MB, free: 5.707 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00319/0.1855, allocations: 75.75 kB / 448.6 MB, free: 5.633 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006444/0.192, allocations: 2.893 MB / 451.5 MB, free: 2.73 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007577/0.1996, allocations: 2.097 MB / 453.6 MB, free: 0.625 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.2878/0.4874, allocations: 0.9321 MB / 454.5 MB, free: 36.1 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00729/0.4947, allocations: 5.463 MB / 460 MB, free: 36.08 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005879/0.5006, allocations: 4.023 MB / 464 MB, free: 35.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00476/0.5054, allocations: 1.851 MB / 465.9 MB, free: 35.39 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005713/0.5112, allocations: 2.593 MB / 468.5 MB, free: 35.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001518/0.5127, allocations: 382.4 kB / 468.8 MB, free: 35.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003386/0.5161, allocations: 1.227 MB / 470.1 MB, free: 35.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002383/0.5185, allocations: 2.301 MB / 472.4 MB, free: 34.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003253/0.5218, allocations: 2.612 MB / 475 MB, free: 32.48 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009889/0.5317, allocations: 7.719 MB / 482.7 MB, free: 29.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.13e-05/0.5318, allocations: 0 / 482.7 MB, free: 29.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.795e-06/0.5318, allocations: 0 / 482.7 MB, free: 29.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0005214/0.5323, allocations: 0 / 482.7 MB, free: 29.95 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.01703/0.5493, allocations: 5.887 MB / 488.6 MB, free: 27.01 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.505e-05/0.5494, allocations: 13.94 kB / 488.6 MB, free: 27.01 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01071/0.5601, allocations: 2.286 MB / 490.9 MB, free: 26.6 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00796/0.5681, allocations: 2.955 MB / 493.8 MB, free: 25.36 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003421/0.5685, allocations: 290 kB / 494.1 MB, free: 25.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002358/0.5709, allocations: 0.5992 MB / 494.7 MB, free: 25.14 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02691/0.5978, allocations: 12.1 MB / 0.495 GB, free: 19.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001613/0.598, allocations: 57.97 kB / 0.495 GB, free: 19.82 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000582/0.5986, allocations: 182.8 kB / 0.4952 GB, free: 19.74 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003059/0.6017, allocations: 2.137 MB / 0.4973 GB, free: 19.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02197/0.6236, allocations: 10.74 MB / 0.5078 GB, free: 11.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07126/0.6949, allocations: 47.81 MB / 0.5545 GB, free: 10.78 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01581/0.7108, allocations: 5.392 MB / 0.5597 GB, free: 5.227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004289/0.7151, allocations: 2.496 MB / 0.5622 GB, free: 2.719 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02257/0.7377, allocations: 12.31 MB / 0.5742 GB, free: 5.941 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.242e-05/0.7378, allocations: 55.81 kB / 0.5742 GB, free: 5.879 MB / 446.1 MB Notification: Performance of pre-optimization done (n=219): time 6.412e-06/0.7378, allocations: 0 / 0.5742 GB, free: 5.879 MB / 446.1 MB Notification: Performance of matching and sorting (n=258): time 0.0653/0.8031, allocations: 25.33 MB / 0.599 GB, free: 12.17 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00359/0.8068, allocations: 4.84 MB / 0.6037 GB, free: 6.855 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007623/0.8144, allocations: 4.569 MB / 0.6082 GB, free: 2.27 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0009841/0.8155, allocations: 57.7 kB / 0.6082 GB, free: 2.207 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003253/0.8187, allocations: 3.525 MB / 0.6116 GB, free: 14.68 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.002093/0.8208, allocations: 1.023 MB / 0.6126 GB, free: 13.67 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003004/0.8238, allocations: 1.538 MB / 0.6141 GB, free: 12.13 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.824, allocations: 301.1 kB / 0.6144 GB, free: 11.83 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005444/0.8294, allocations: 3.29 MB / 0.6176 GB, free: 8.539 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2771/1.107, allocations: 7.591 MB / 0.6251 GB, free: 142.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01187/1.119, allocations: 11.47 MB / 0.6363 GB, free: 135.1 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001244/1.119, allocations: 44.31 kB / 0.6363 GB, free: 135.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.04351/1.162, allocations: 16.3 MB / 0.6522 GB, free: 130.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001731/1.162, allocations: 69.47 kB / 0.6523 GB, free: 130.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03267/1.195, allocations: 9.582 MB / 0.6617 GB, free: 128.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03159/1.227, allocations: 6.687 MB / 0.6682 GB, free: 126.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006113/1.233, allocations: 1.714 MB / 0.6699 GB, free: 126.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02918/1.262, allocations: 25.62 MB / 0.6949 GB, free: 107.4 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008253/1.27, allocations: 0.6661 MB / 0.6955 GB, free: 107 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001835/1.272, allocations: 463.9 kB / 0.696 GB, free: 106.5 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.0048/1.277, allocations: 2.343 MB / 0.6983 GB, free: 104.3 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001235/1.278, allocations: 414.7 kB / 0.6987 GB, free: 104.1 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01345/1.292, allocations: 7.293 MB / 0.7058 GB, free: 96.72 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01235/1.304, allocations: 6.66 MB / 0.7123 GB, free: 89.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.465e-05/1.304, allocations: 8 kB / 0.7123 GB, free: 89.97 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.268e-05/1.304, allocations: 7.969 kB / 0.7123 GB, free: 89.96 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02848/1.333, allocations: 15.62 MB / 0.7276 GB, free: 74.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.291e-05/1.333, allocations: 8 kB / 0.7276 GB, free: 74.24 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001841/1.335, allocations: 439.3 kB / 0.728 GB, free: 73.81 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009483/1.344, allocations: 3.413 MB / 0.7313 GB, free: 70.36 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004374/1.345, allocations: 83.88 kB / 0.7314 GB, free: 70.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01709/1.362, allocations: 20.53 MB / 0.7514 GB, free: 48.78 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002173/1.364, allocations: 4.682 MB / 0.756 GB, free: 43.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01671/1.381, allocations: 10.86 MB / 0.7666 GB, free: 32.63 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001514/1.382, allocations: 483.6 kB / 0.7671 GB, free: 32.14 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006605/1.383, allocations: 67.05 kB / 0.7671 GB, free: 32.08 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002428/1.385, allocations: 303.5 kB / 0.7674 GB, free: 31.78 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006616/1.386, allocations: 201.6 kB / 0.7676 GB, free: 31.59 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/1.386, allocations: 79.95 kB / 0.7677 GB, free: 31.51 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003681/1.39, allocations: 2.847 MB / 0.7705 GB, free: 28.66 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.133e-06/1.39, allocations: 0 / 0.7705 GB, free: 28.66 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005903/1.396, allocations: 1.6 MB / 0.772 GB, free: 27.06 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.0004836/1.396, allocations: 219.7 kB / 0.7723 GB, free: 26.86 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.01965/1.416, allocations: 11.81 MB / 0.7838 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.145e-05/1.416, allocations: 4 kB / 0.7838 GB, free: 14.88 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008315/1.424, allocations: 4.92 MB / 0.7886 GB, free: 9.75 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003671/1.428, allocations: 0.5671 MB / 0.7892 GB, free: 9.18 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02217/1.45, allocations: 13.46 MB / 0.8023 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004909/1.455, allocations: 3.7 MB / 0.8059 GB, free: 7.891 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005611/1.461, allocations: 2.241 MB / 0.8081 GB, free: 5.645 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000929/1.462, allocations: 307.3 kB / 0.8084 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of SimCode: time 1.022e-06/1.462, allocations: 0 / 0.8084 GB, free: 5.344 MB / 0.4981 GB Notification: Performance of Templates: time 0.3721/1.834, allocations: 68.45 MB / 0.8752 GB, free: 124.7 MB / 0.4981 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.pipe 2>&1)