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.0007803/0.0007802, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008261/0.0008262, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.289/1.289, allocations: 205.4 MB / 222.1 MB, free: 5.523 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.2672/0.2672, allocations: 38.04 MB / 308.4 MB, free: 10.45 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.0005947/0.0005948, allocations: 20 kB / 376.4 MB, free: 15.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1037/0.1043, allocations: 57.52 MB / 434 MB, free: 5.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring2): time 0.2482/0.3526, allocations: 46.15 MB / 480.1 MB, free: 28.67 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02188/0.3745, allocations: 10.16 MB / 490.3 MB, free: 21.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009232/0.3838, allocations: 216 kB / 490.5 MB, free: 21.75 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.007433/0.3913, allocations: 2.381 MB / 492.9 MB, free: 20.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0196/0.4109, allocations: 7.195 MB / 0.4883 GB, free: 17.89 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003684/0.4146, allocations: 0.7993 MB / 0.4891 GB, free: 17.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01161/0.4263, allocations: 6.041 MB / 0.495 GB, free: 15.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01007/0.4364, allocations: 4.724 MB / 0.4996 GB, free: 13.82 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003919/0.4404, allocations: 1.528 MB / 0.5011 GB, free: 13.32 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005114/0.4455, allocations: 2.465 MB / 0.5035 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001394/0.447, allocations: 173.2 kB / 0.5037 GB, free: 12.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003098/0.4501, allocations: 0.9315 MB / 0.5046 GB, free: 12.43 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003065/0.4532, allocations: 2.064 MB / 0.5066 GB, free: 11.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.4547, allocations: 0.9567 MB / 0.5076 GB, free: 10.91 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007554/0.4622, allocations: 6.072 MB / 0.5135 GB, free: 6.836 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.4623, allocations: 2.094 kB / 0.5135 GB, free: 6.836 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.4623, allocations: 0 / 0.5135 GB, free: 6.836 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003088/0.4626, allocations: 0 / 0.5135 GB, free: 6.836 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.01177/0.4744, allocations: 4.928 MB / 0.5183 GB, free: 3.523 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.4745, allocations: 9.281 kB / 0.5183 GB, free: 3.523 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009038/0.4835, allocations: 2.339 MB / 0.5206 GB, free: 2.336 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005802/0.4893, allocations: 2.9 MB / 0.5234 GB, free: 0.5469 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001851/0.4896, allocations: 290.4 kB / 0.5237 GB, free: 420 kB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001549/0.4911, allocations: 0.6008 MB / 0.5243 GB, free: 15.81 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02422/0.5153, allocations: 12.1 MB / 0.5361 GB, free: 2.898 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002384/0.5157, allocations: 59.42 kB / 0.5362 GB, free: 2.84 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007991/0.5165, allocations: 175.8 kB / 0.5363 GB, free: 2.668 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003179/0.5196, allocations: 2.139 MB / 0.5384 GB, free: 0.5234 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02381/0.5435, allocations: 10.73 MB / 0.5489 GB, free: 5.77 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07113/0.6147, allocations: 47.75 MB / 0.5955 GB, free: 4.812 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0142/0.6289, allocations: 5.392 MB / 0.6008 GB, free: 15.25 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004447/0.6334, allocations: 2.491 MB / 0.6032 GB, free: 12.75 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02249/0.6559, allocations: 12.3 MB / 0.6152 GB, free: 15.9 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.347e-05/0.656, allocations: 59.81 kB / 0.6153 GB, free: 15.83 MB / 494.1 MB Notification: Performance of pre-optimization done (n=219): time 5.55e-06/0.6561, allocations: 0 / 0.6153 GB, free: 15.83 MB / 494.1 MB Notification: Performance of matching and sorting (n=258): time 0.2938/0.9499, allocations: 25.34 MB / 0.64 GB, free: 144.4 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002386/0.9523, allocations: 4.57 MB / 0.6445 GB, free: 140.1 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007175/0.9595, allocations: 4.541 MB / 0.6489 GB, free: 139 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.001121/0.9607, allocations: 66.11 kB / 0.649 GB, free: 139 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001974/0.9626, allocations: 3.526 MB / 0.6524 GB, free: 136.3 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001216/0.9639, allocations: 1.023 MB / 0.6534 GB, free: 135.5 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003559/0.9642, allocations: 151.5 kB / 0.6536 GB, free: 135.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0003444/0.9646, allocations: 0.6282 MB / 0.6542 GB, free: 135 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004699/0.9693, allocations: 3.251 MB / 0.6574 GB, free: 133.9 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005803/0.9751, allocations: 7.56 MB / 0.6648 GB, free: 127.1 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006712/0.9818, allocations: 4.817 MB / 0.6695 GB, free: 125.3 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001245/0.982, allocations: 43.31 kB / 0.6695 GB, free: 125.3 MB / 494.1 MB Notification: Performance of matching and sorting (n=1003) (initialization): time 0.04344/1.025, allocations: 16.23 MB / 0.6854 GB, free: 120.5 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001365/1.026, allocations: 67.88 kB / 0.6854 GB, free: 120.5 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02812/1.054, allocations: 9.56 MB / 0.6948 GB, free: 118.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02549/1.079, allocations: 6.696 MB / 0.7013 GB, free: 115 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005785/1.085, allocations: 1.708 MB / 0.703 GB, free: 113.3 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02473/1.11, allocations: 23.49 MB / 0.7259 GB, free: 88.73 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007227/1.117, allocations: 0.6631 MB / 0.7266 GB, free: 88.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001489/1.119, allocations: 462.7 kB / 0.727 GB, free: 87.62 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 (linear and non-linear blocks): 8 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004747/1.123, allocations: 2.345 MB / 0.7293 GB, free: 85.27 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009412/1.124, allocations: 422.5 kB / 0.7297 GB, free: 84.85 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01269/1.137, allocations: 7.298 MB / 0.7368 GB, free: 77.46 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01199/1.149, allocations: 6.645 MB / 0.7433 GB, free: 70.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.212e-05/1.149, allocations: 8 kB / 0.7433 GB, free: 70.73 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.752e-05/1.149, allocations: 11.95 kB / 0.7433 GB, free: 70.71 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02615/1.175, allocations: 15.61 MB / 0.7586 GB, free: 54.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.298e-05/1.176, allocations: 8 kB / 0.7586 GB, free: 54.94 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001932/1.177, allocations: 435.4 kB / 0.759 GB, free: 54.51 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.008576/1.186, allocations: 3.401 MB / 0.7623 GB, free: 51.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005047/1.187, allocations: 83.02 kB / 0.7624 GB, free: 50.99 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01646/1.203, allocations: 19.11 MB / 0.7811 GB, free: 30.83 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002288/1.205, allocations: 4.421 MB / 0.7854 GB, free: 25.99 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01967/1.225, allocations: 10.84 MB / 0.796 GB, free: 14.94 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002292/1.227, allocations: 491.4 kB / 0.7964 GB, free: 14.44 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001896/1.229, allocations: 67.98 kB / 0.7965 GB, free: 14.37 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003149/1.233, allocations: 299.5 kB / 0.7968 GB, free: 14.08 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007698/1.233, allocations: 205.5 kB / 0.797 GB, free: 13.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002571/1.234, allocations: 83.58 kB / 0.797 GB, free: 13.8 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.00464/1.238, allocations: 2.816 MB / 0.7998 GB, free: 10.98 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.01e-07/1.238, allocations: 0 / 0.7998 GB, free: 10.98 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.00843/1.247, allocations: 1.604 MB / 0.8014 GB, free: 9.383 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 (linear and non-linear blocks): 8 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 3 {4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 1,(1,100.0%) 1,(5,100.0%) 8,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007923/1.248, allocations: 219.5 kB / 0.8016 GB, free: 9.172 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.2222/1.47, allocations: 9.826 MB / 0.8112 GB, free: 134.3 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.517e-05/1.47, allocations: 1.625 kB / 0.8112 GB, free: 134.3 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.008873/1.479, allocations: 4.891 MB / 0.8159 GB, free: 132.9 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005695/1.484, allocations: 0.5416 MB / 0.8165 GB, free: 132.9 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02739/1.512, allocations: 15.61 MB / 0.8317 GB, free: 126.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003873/1.516, allocations: 3.704 MB / 0.8353 GB, free: 125.5 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.005084/1.521, allocations: 2.245 MB / 0.8375 GB, free: 125.3 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008576/1.522, allocations: 305.4 kB / 0.8378 GB, free: 125.3 MB / 494.1 MB Notification: Performance of SimCode: time 8.92e-07/1.522, allocations: 0 / 0.8378 GB, free: 125.3 MB / 494.1 MB Notification: Performance of Templates: time 0.09988/1.622, allocations: 63.71 MB / 0.9 GB, free: 89.14 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring2.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: