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.007761/0.007761, allocations: 100.3 kB / 15.73 MB, free: 6.027 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.00179/0.00179, allocations: 187.2 kB / 16.67 MB, free: 5.965 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.546/1.546, allocations: 205.1 MB / 222.5 MB, free: 4.379 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.3941/0.3941, allocations: 39.95 MB / 309.9 MB, free: 9.676 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.001501/0.001501, allocations: 72.31 kB / 435.8 MB, free: 2.453 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.387/0.3885, allocations: 56.88 MB / 492.7 MB, free: 19.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.01374/0.4023, allocations: 12.52 MB / 0.4933 GB, free: 10.52 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01275/0.4151, allocations: 4.334 MB / 0.4976 GB, free: 7.637 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00425/0.4194, allocations: 72.62 kB / 0.4976 GB, free: 7.625 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.006849/0.4263, allocations: 2.896 MB / 0.5005 GB, free: 5.832 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007577/0.434, allocations: 2.099 MB / 0.5025 GB, free: 4.336 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.4367, allocations: 0.9347 MB / 0.5034 GB, free: 3.688 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01005/0.4468, allocations: 5.477 MB / 0.5088 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008839/0.4557, allocations: 4.012 MB / 0.5127 GB, free: 14.5 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005326/0.4611, allocations: 1.848 MB / 0.5145 GB, free: 13.45 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006154/0.4673, allocations: 2.599 MB / 0.517 GB, free: 11.45 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001915/0.4692, allocations: 387.9 kB / 0.5174 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004105/0.4733, allocations: 1.225 MB / 0.5186 GB, free: 9.848 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004111/0.4775, allocations: 2.322 MB / 0.5209 GB, free: 7.52 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006517/0.484, allocations: 2.61 MB / 0.5234 GB, free: 4.895 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01388/0.4979, allocations: 7.984 MB / 0.5312 GB, free: 12.88 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.224e-05/0.498, allocations: 4 kB / 0.5312 GB, free: 12.88 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.057e-06/0.498, allocations: 0 / 0.5312 GB, free: 12.88 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.000525/0.4986, allocations: 0 / 0.5312 GB, free: 12.88 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.02025/0.5188, allocations: 5.879 MB / 0.537 GB, free: 6.93 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.62e-05/0.5189, allocations: 11.89 kB / 0.537 GB, free: 6.918 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01121/0.5301, allocations: 2.283 MB / 0.5392 GB, free: 4.625 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008745/0.5389, allocations: 3.004 MB / 0.5421 GB, free: 1.562 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003172/0.5393, allocations: 287.5 kB / 0.5424 GB, free: 1.281 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002314/0.5416, allocations: 0.6047 MB / 0.543 GB, free: 0.6758 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02608/0.5677, allocations: 12.11 MB / 0.5548 GB, free: 3.754 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001561/0.5679, allocations: 55.44 kB / 0.5549 GB, free: 3.699 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00057/0.5685, allocations: 175.8 kB / 0.5551 GB, free: 3.527 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003313/0.5718, allocations: 2.139 MB / 0.5571 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0233/0.5951, allocations: 10.75 MB / 0.5676 GB, free: 6.617 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07887/0.674, allocations: 47.61 MB / 0.6141 GB, free: 5.758 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01538/0.6895, allocations: 5.4 MB / 0.6194 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004066/0.6936, allocations: 2.494 MB / 0.6218 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02174/0.7154, allocations: 12.31 MB / 0.6339 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.858e-05/0.7155, allocations: 63.81 kB / 0.6339 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=219): time 4.649e-06/0.7155, allocations: 0 / 0.6339 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of matching and sorting (n=258): time 0.4165/1.132, allocations: 25.11 MB / 0.6584 GB, free: 119.3 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003114/1.135, allocations: 4.88 MB / 0.6632 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008822/1.144, allocations: 4.568 MB / 0.6677 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.001306/1.145, allocations: 67.3 kB / 0.6677 GB, free: 112.8 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.003857/1.149, allocations: 3.523 MB / 0.6712 GB, free: 109.9 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.002122/1.151, allocations: 1.025 MB / 0.6722 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002873/1.154, allocations: 1.538 MB / 0.6737 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.147e-05/1.154, allocations: 305.1 kB / 0.674 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004301/1.159, allocations: 3.278 MB / 0.6772 GB, free: 106.3 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006098/1.165, allocations: 7.607 MB / 0.6846 GB, free: 98.73 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01167/1.176, allocations: 11.49 MB / 0.6958 GB, free: 86.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001412/1.177, allocations: 40 kB / 0.6959 GB, free: 86.79 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.0432/1.22, allocations: 16.2 MB / 0.7117 GB, free: 70.53 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.403e-05/1.22, allocations: 68 kB / 0.7117 GB, free: 70.46 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02881/1.249, allocations: 9.458 MB / 0.721 GB, free: 60.95 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02985/1.279, allocations: 6.656 MB / 0.7275 GB, free: 54.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005865/1.285, allocations: 1.712 MB / 0.7291 GB, free: 52.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02793/1.313, allocations: 24.18 MB / 0.7528 GB, free: 27.38 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00924/1.322, allocations: 0.659 MB / 0.7534 GB, free: 26.72 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002023/1.324, allocations: 464 kB / 0.7538 GB, free: 26.27 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.005099/1.329, allocations: 2.352 MB / 0.7561 GB, free: 23.91 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00132/1.33, allocations: 418.6 kB / 0.7565 GB, free: 23.5 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01386/1.344, allocations: 7.183 MB / 0.7636 GB, free: 16.24 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01331/1.358, allocations: 6.551 MB / 0.77 GB, free: 9.629 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.05e-05/1.358, allocations: 8 kB / 0.77 GB, free: 9.621 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.301e-05/1.358, allocations: 15.95 kB / 0.77 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03405/1.392, allocations: 15.5 MB / 0.7851 GB, free: 9.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.016e-05/1.392, allocations: 4 kB / 0.7851 GB, free: 9.949 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002414/1.394, allocations: 447.3 kB / 0.7855 GB, free: 9.512 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0114/1.406, allocations: 3.371 MB / 0.7888 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008253/1.407, allocations: 83.88 kB / 0.7889 GB, free: 6.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02257/1.429, allocations: 19.15 MB / 0.8076 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003377/1.433, allocations: 4.688 MB / 0.8122 GB, free: 12.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02213/1.455, allocations: 10.75 MB / 0.8227 GB, free: 1.836 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002271/1.457, allocations: 479.6 kB / 0.8232 GB, free: 1.344 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00131/1.459, allocations: 67.97 kB / 0.8232 GB, free: 1.277 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003219/1.462, allocations: 291.5 kB / 0.8235 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008091/1.463, allocations: 205.6 kB / 0.8237 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002314/1.463, allocations: 84.36 kB / 0.8238 GB, free: 0.707 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00506/1.468, allocations: 2.843 MB / 0.8266 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.41e-07/1.468, allocations: 0 / 0.8266 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.009924/1.478, allocations: 1.6 MB / 0.8281 GB, free: 12.27 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.001456/1.479, allocations: 225.7 kB / 0.8283 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.02265/1.502, allocations: 9.842 MB / 0.8379 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.229e-05/1.502, allocations: 320 / 0.8379 GB, free: 2.031 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.01132/1.513, allocations: 4.804 MB / 0.8426 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00825/1.522, allocations: 0.5735 MB / 0.8432 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3054/1.827, allocations: 13.31 MB / 0.8562 GB, free: 183.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007437/1.835, allocations: 3.702 MB / 0.8598 GB, free: 182.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.007533/1.842, allocations: 2.247 MB / 0.862 GB, free: 182.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001767/1.844, allocations: 309.6 kB / 0.8623 GB, free: 182.9 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/1.844, allocations: 0 / 0.8623 GB, free: 182.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.1156/1.96, allocations: 65.12 MB / 0.9259 GB, free: 146 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)