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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+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 ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.00148/0.00148, allocations: 171.3 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.286/1.286, allocations: 170.6 MB / 178.7 MB, free: 15.59 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001627/0.001628, allocations: 99.5 kB / 218 MB, free: 8.344 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1817/0.1817, allocations: 37.98 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.604e-05/1.602e-05, allocations: 2.344 kB / 350 MB, free: 36.99 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08438/0.08441, allocations: 48.72 MB / 398.7 MB, free: 5.34 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3451/0.4296, allocations: 88.12 MB / 486.8 MB, free: 17.95 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002207/0.4299, allocations: 70.12 kB / 486.9 MB, free: 17.95 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2448/0.6747, allocations: 94.02 MB / 0.5673 GB, free: 6.207 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.6747, allocations: 0 / 0.5673 GB, free: 6.207 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003636/0.6751, allocations: 95.98 kB / 0.5674 GB, free: 6.113 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1679 * Number of variables: 1679 Notification: Performance of Generate backend data structure: time 0.02913/0.7043, allocations: 5.812 MB / 0.5731 GB, free: 240 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.7043, allocations: 12.03 kB / 0.5731 GB, free: 228 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0157/0.72, allocations: 2.88 MB / 0.5759 GB, free: 13.33 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01927/0.7393, allocations: 7.157 MB / 0.5829 GB, free: 6.109 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003775/0.7398, allocations: 152 kB / 0.583 GB, free: 5.961 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00274/0.7425, allocations: 279.9 kB / 0.5833 GB, free: 5.688 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01558/0.7581, allocations: 7.09 MB / 0.5902 GB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0271/0.7853, allocations: 10.64 MB / 0.6006 GB, free: 2.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004367/0.7858, allocations: 79.19 kB / 0.6007 GB, free: 2.652 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002609/0.7884, allocations: 36 kB / 0.6007 GB, free: 2.617 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002597/0.791, allocations: 1.198 MB / 0.6019 GB, free: 1.414 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2948/1.086, allocations: 56.12 MB / 0.6567 GB, free: 54.31 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005041/1.091, allocations: 3.473 MB / 0.6601 GB, free: 53.6 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003946/1.095, allocations: 2.217 MB / 0.6623 GB, free: 53.55 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/1.096, allocations: 0.6715 MB / 0.6629 GB, free: 52.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.478e-05/1.096, allocations: 60.03 kB / 0.663 GB, free: 52.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=205): time 5.34e-06/1.096, allocations: 0 / 0.663 GB, free: 52.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=238): time 0.04295/1.139, allocations: 20.01 MB / 0.6825 GB, free: 48.47 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.004e-05/1.139, allocations: 262.1 kB / 0.6828 GB, free: 48.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006687/1.146, allocations: 3.456 MB / 0.6861 GB, free: 47.8 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009595/1.147, allocations: 25.7 kB / 0.6862 GB, free: 47.77 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00223/1.149, allocations: 3.524 MB / 0.6896 GB, free: 46 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00135/1.151, allocations: 0.9279 MB / 0.6905 GB, free: 45.46 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003655/1.151, allocations: 3.188 kB / 0.6905 GB, free: 45.46 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003233/1.151, allocations: 0.6214 MB / 0.6911 GB, free: 45.15 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003303/1.155, allocations: 2.928 MB / 0.694 GB, free: 44.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004958/1.16, allocations: 7.259 MB / 0.7011 GB, free: 37.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005515/1.165, allocations: 4.524 MB / 0.7055 GB, free: 36.46 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.59e-05/1.165, allocations: 44.41 kB / 0.7055 GB, free: 36.46 MB / 426.7 MB Notification: Performance of matching and sorting (n=985) (initialization): time 0.02218/1.187, allocations: 11.67 MB / 0.7169 GB, free: 33.07 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.427e-05/1.187, allocations: 72.28 kB / 0.717 GB, free: 33.07 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01146/1.199, allocations: 5.944 MB / 0.7228 GB, free: 31.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.009337/1.208, allocations: 3.041 MB / 0.7258 GB, free: 31.07 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007582/1.216, allocations: 1.788 MB / 0.7275 GB, free: 30.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01671/1.233, allocations: 14.08 MB / 0.7413 GB, free: 17.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01234/1.245, allocations: 0.633 MB / 0.7419 GB, free: 17.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002373/1.248, allocations: 459.2 kB / 0.7423 GB, free: 16.88 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 705 * Number of states: 0 () * Number of discrete variables: 42 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (915): * Single equations (assignments): 895 * 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: 3 * 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 {1,1,1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,100.0%) 13,(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002253/1.25, allocations: 0.4933 MB / 0.7428 GB, free: 16.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009576/1.251, allocations: 386.5 kB / 0.7432 GB, free: 16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02069/1.272, allocations: 6.699 MB / 0.7497 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01861/1.29, allocations: 6.072 MB / 0.7557 GB, free: 6.461 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.828e-05/1.29, allocations: 11.84 kB / 0.7557 GB, free: 6.453 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001234/1.291, allocations: 18.67 kB / 0.7557 GB, free: 6.445 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0586/1.349, allocations: 14.84 MB / 0.7702 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.514e-05/1.349, allocations: 0 / 0.7702 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003574/1.353, allocations: 419.5 kB / 0.7706 GB, free: 11.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01688/1.37, allocations: 3.285 MB / 0.7738 GB, free: 8.473 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009308/1.371, allocations: 43.92 kB / 0.7738 GB, free: 8.43 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3599/1.731, allocations: 16 MB / 0.7894 GB, free: 90.38 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002292/1.733, allocations: 4.244 MB / 0.7936 GB, free: 86.51 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02281/1.756, allocations: 10.41 MB / 0.8038 GB, free: 85.56 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001545/1.757, allocations: 449 kB / 0.8042 GB, free: 85.47 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008588/1.758, allocations: 27.12 kB / 0.8042 GB, free: 85.47 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002852/1.761, allocations: 300.7 kB / 0.8045 GB, free: 85.47 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005508/1.762, allocations: 180.3 kB / 0.8047 GB, free: 85.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002047/1.762, allocations: 69.83 kB / 0.8047 GB, free: 85.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003536/1.766, allocations: 2.292 MB / 0.807 GB, free: 85.28 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.51e-07/1.766, allocations: 0 / 0.807 GB, free: 85.28 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007262/1.773, allocations: 1.355 MB / 0.8083 GB, free: 85.28 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 36 ($STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],$STATESET0.x[3],$STATESET0.x[2],$STATESET0.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (177): * Single equations (assignments): 163 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 5 {(3,100.0%),(4,100.0%),(3,100.0%),(4,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: 3 {(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.000536/1.773, allocations: 172.7 kB / 0.8085 GB, free: 85.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01389/1.787, allocations: 8.305 MB / 0.8166 GB, free: 84.33 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.105e-05/1.787, allocations: 2.625 kB / 0.8166 GB, free: 84.33 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008294/1.796, allocations: 4.448 MB / 0.8209 GB, free: 83.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004136/1.8, allocations: 407.3 kB / 0.8213 GB, free: 83.13 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02041/1.82, allocations: 11.06 MB / 0.8321 GB, free: 80.36 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00382/1.824, allocations: 3.716 MB / 0.8357 GB, free: 79.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005718/1.83, allocations: 2.279 MB / 0.838 GB, free: 79.34 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009522/1.831, allocations: 284.8 kB / 0.8382 GB, free: 79.34 MB / 442.7 MB Notification: Performance of SimCode: time 1.613e-06/1.831, allocations: 0 / 0.8382 GB, free: 79.34 MB / 442.7 MB Notification: Performance of Templates: time 0.08197/1.913, allocations: 48.08 MB / 0.8852 GB, free: 56.09 MB / 442.7 MB 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)