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.006778/0.006778, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.002179/0.002179, allocations: 193.6 kB / 16.67 MB, free: 5.969 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.696/1.696, allocations: 205.1 MB / 222.5 MB, free: 4.508 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.3513/0.3513, allocations: 39.95 MB / 309.8 MB, free: 9.457 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: 63.91 kB / 435.8 MB, free: 2.449 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3908/0.3922, allocations: 56.89 MB / 492.7 MB, free: 19.55 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.01226/0.4045, allocations: 12.51 MB / 0.4933 GB, free: 10.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01046/0.415, allocations: 4.337 MB / 0.4976 GB, free: 7.734 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003556/0.4186, allocations: 72.41 kB / 0.4976 GB, free: 7.723 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005968/0.4247, allocations: 2.893 MB / 0.5005 GB, free: 5.961 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007067/0.4318, allocations: 2.096 MB / 0.5025 GB, free: 4.469 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002465/0.4343, allocations: 0.9382 MB / 0.5034 GB, free: 3.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009853/0.4441, allocations: 5.472 MB / 0.5088 GB, free: 0.9727 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008363/0.4525, allocations: 4.02 MB / 0.5127 GB, free: 14.62 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006451/0.459, allocations: 1.845 MB / 0.5145 GB, free: 13.58 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006695/0.4657, allocations: 2.596 MB / 0.517 GB, free: 11.46 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002129/0.4679, allocations: 384 kB / 0.5174 GB, free: 11.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004468/0.4724, allocations: 1.225 MB / 0.5186 GB, free: 9.855 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004366/0.4768, allocations: 2.299 MB / 0.5208 GB, free: 7.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.006124/0.4829, allocations: 2.614 MB / 0.5234 GB, free: 4.922 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01259/0.4956, allocations: 8.018 MB / 0.5312 GB, free: 12.87 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.4956, allocations: 0 / 0.5312 GB, free: 12.87 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.4956, allocations: 0 / 0.5312 GB, free: 12.87 MB / 414.1 MB Notification: Performance of Transformations before backend: time 0.0003333/0.496, allocations: 0 / 0.5312 GB, free: 12.87 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.01988/0.5158, allocations: 6.026 MB / 0.5371 GB, free: 6.766 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.653e-05/0.5159, allocations: 19.83 kB / 0.5371 GB, free: 6.746 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01/0.5259, allocations: 2.318 MB / 0.5394 GB, free: 4.422 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006713/0.5326, allocations: 3.013 MB / 0.5423 GB, free: 1.352 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004614/0.5332, allocations: 287.6 kB / 0.5426 GB, free: 1.07 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002986/0.5362, allocations: 0.597 MB / 0.5432 GB, free: 484 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02459/0.5608, allocations: 12.12 MB / 0.555 GB, free: 3.539 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001409/0.5609, allocations: 47.58 kB / 0.5551 GB, free: 3.492 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005555/0.5615, allocations: 179.8 kB / 0.5552 GB, free: 3.316 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003286/0.5648, allocations: 2.135 MB / 0.5573 GB, free: 1.172 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02267/0.5875, allocations: 10.75 MB / 0.5678 GB, free: 6.41 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06964/0.6572, allocations: 47.69 MB / 0.6144 GB, free: 5.484 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0152/0.6724, allocations: 5.401 MB / 0.6197 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00396/0.6764, allocations: 2.502 MB / 0.6221 GB, free: 13.4 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02013/0.6966, allocations: 12.32 MB / 0.6342 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.283e-05/0.6967, allocations: 59.81 kB / 0.6342 GB, free: 476 kB / 0.4981 GB Notification: Performance of pre-optimization done (n=219): time 5.791e-06/0.6967, allocations: 0 / 0.6342 GB, free: 476 kB / 0.4981 GB Notification: Performance of matching and sorting (n=258): time 0.3667/1.063, allocations: 25.37 MB / 0.659 GB, free: 119.1 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002884/1.066, allocations: 4.894 MB / 0.6638 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007808/1.074, allocations: 4.581 MB / 0.6682 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0008797/1.075, allocations: 62.86 kB / 0.6683 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.002493/1.078, allocations: 3.667 MB / 0.6719 GB, free: 110 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.001731/1.079, allocations: 1.068 MB / 0.6729 GB, free: 109.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002223/1.082, allocations: 1.551 MB / 0.6744 GB, free: 108.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.551e-05/1.082, allocations: 304.6 kB / 0.6747 GB, free: 108 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004101/1.086, allocations: 3.28 MB / 0.6779 GB, free: 106.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006105/1.092, allocations: 7.604 MB / 0.6854 GB, free: 98.79 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01212/1.104, allocations: 11.49 MB / 0.6966 GB, free: 86.57 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001511/1.104, allocations: 44 kB / 0.6966 GB, free: 86.53 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.04268/1.147, allocations: 16.22 MB / 0.7125 GB, free: 70.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.000155/1.147, allocations: 68.19 kB / 0.7125 GB, free: 70.19 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02877/1.176, allocations: 9.468 MB / 0.7218 GB, free: 60.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02822/1.204, allocations: 6.652 MB / 0.7283 GB, free: 53.96 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005381/1.21, allocations: 1.708 MB / 0.7299 GB, free: 52.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02651/1.236, allocations: 24.19 MB / 0.7536 GB, free: 27.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009339/1.245, allocations: 0.6629 MB / 0.7542 GB, free: 26.44 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001918/1.247, allocations: 463.9 kB / 0.7546 GB, free: 25.98 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.004847/1.252, allocations: 2.348 MB / 0.7569 GB, free: 23.63 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001334/1.254, allocations: 437.1 kB / 0.7574 GB, free: 23.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01332/1.267, allocations: 7.186 MB / 0.7644 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01212/1.279, allocations: 6.549 MB / 0.7708 GB, free: 9.328 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.728e-05/1.279, allocations: 11.98 kB / 0.7708 GB, free: 9.316 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.547e-05/1.279, allocations: 7.969 kB / 0.7708 GB, free: 9.309 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02826/1.308, allocations: 15.51 MB / 0.7859 GB, free: 9.641 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/1.308, allocations: 8 kB / 0.7859 GB, free: 9.633 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002263/1.31, allocations: 444 kB / 0.7864 GB, free: 9.199 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01097/1.321, allocations: 3.374 MB / 0.7897 GB, free: 5.785 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009716/1.322, allocations: 87.86 kB / 0.7897 GB, free: 5.699 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02084/1.343, allocations: 19.16 MB / 0.8085 GB, free: 1.574 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003037/1.346, allocations: 4.689 MB / 0.813 GB, free: 12.44 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02024/1.366, allocations: 10.78 MB / 0.8236 GB, free: 1.48 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002124/1.368, allocations: 498 kB / 0.824 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002584/1.371, allocations: 71.97 kB / 0.8241 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004742/1.376, allocations: 299.3 kB / 0.8244 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00109/1.377, allocations: 205.5 kB / 0.8246 GB, free: 420 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002628/1.377, allocations: 83.89 kB / 0.8247 GB, free: 336 kB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00494/1.382, allocations: 2.845 MB / 0.8274 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.1e-07/1.382, allocations: 0 / 0.8274 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.01086/1.393, allocations: 1.594 MB / 0.829 GB, free: 11.89 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.0009547/1.394, allocations: 220.8 kB / 0.8292 GB, free: 11.66 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.01928/1.413, allocations: 9.855 MB / 0.8388 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.413, allocations: 0 / 0.8388 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.00958/1.423, allocations: 4.805 MB / 0.8435 GB, free: 12.63 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005716/1.429, allocations: 0.5692 MB / 0.8441 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3185/1.747, allocations: 13.5 MB / 0.8573 GB, free: 184.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00668/1.754, allocations: 3.704 MB / 0.8609 GB, free: 183.4 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.006637/1.76, allocations: 2.243 MB / 0.8631 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/1.762, allocations: 307.9 kB / 0.8634 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.002e-06/1.762, allocations: 2.5 kB / 0.8634 GB, free: 183.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.1307/1.892, allocations: 64.38 MB / 0.9262 GB, free: 146.5 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)