Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.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.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001082/0.001082, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.211/1.211, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001532/0.001532, allocations: 103.5 kB / 223.2 MB, free: 4.121 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.1703/0.1703, allocations: 37.99 MB / 300.4 MB, free: 5.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.064e-05/3.066e-05, allocations: 7.984 kB / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09142/0.09146, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3655/0.457, allocations: 90.61 MB / 496.3 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001704/0.4573, allocations: 70.75 kB / 496.4 MB, free: 18.61 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2072/0.6645, allocations: 84.82 MB / 0.5676 GB, free: 4.082 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.513e-06/0.6645, allocations: 0 / 0.5676 GB, free: 4.082 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001913/0.6647, allocations: 87.94 kB / 0.5677 GB, free: 3.996 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: 1500 * Number of variables: 1500 Notification: Performance of Generate backend data structure: time 0.01198/0.6767, allocations: 3.897 MB / 0.5715 GB, free: 36 kB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.293e-05/0.6768, allocations: 16.03 kB / 0.5715 GB, free: 20 kB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.6886, allocations: 2.439 MB / 0.5739 GB, free: 13.57 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01274/0.7014, allocations: 5.117 MB / 0.5789 GB, free: 8.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003345/0.7018, allocations: 328.5 kB / 0.5792 GB, free: 8.062 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001703/0.7035, allocations: 431.8 kB / 0.5796 GB, free: 7.641 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02029/0.7238, allocations: 10.34 MB / 0.5897 GB, free: 12.18 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001415/0.724, allocations: 63.41 kB / 0.5898 GB, free: 12.12 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005869/0.7246, allocations: 215.8 kB / 0.59 GB, free: 11.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001432/0.726, allocations: 1.01 MB / 0.5909 GB, free: 10.89 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01666/0.7427, allocations: 7.962 MB / 0.5987 GB, free: 2.906 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3077/1.05, allocations: 47.44 MB / 0.645 GB, free: 56.94 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007701/1.058, allocations: 3.015 MB / 0.648 GB, free: 56.23 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001804/1.06, allocations: 0.968 MB / 0.6489 GB, free: 56.18 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008918/1.069, allocations: 5.195 MB / 0.654 GB, free: 54.02 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.77e-05/1.069, allocations: 56.17 kB / 0.6541 GB, free: 53.98 MB / 426.7 MB Notification: Performance of pre-optimization done (n=134): time 5.209e-06/1.069, allocations: 0 / 0.6541 GB, free: 53.98 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.01916/1.088, allocations: 8.277 MB / 0.6621 GB, free: 51.18 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.583e-05/1.088, allocations: 194.4 kB / 0.6623 GB, free: 50.96 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004516/1.093, allocations: 3.546 MB / 0.6658 GB, free: 50.57 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001988/1.093, allocations: 47.23 kB / 0.6658 GB, free: 50.54 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001544/1.095, allocations: 3.15 MB / 0.6689 GB, free: 48.88 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004548/1.095, allocations: 0.5873 MB / 0.6695 GB, free: 48.56 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001847/1.095, allocations: 121.6 kB / 0.6696 GB, free: 48.56 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002568/1.096, allocations: 0.5574 MB / 0.6702 GB, free: 48.24 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002078/1.098, allocations: 1.521 MB / 0.6716 GB, free: 48.23 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003517/1.101, allocations: 5.308 MB / 0.6768 GB, free: 43.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003517/1.105, allocations: 2.849 MB / 0.6796 GB, free: 43.26 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001026/1.105, allocations: 36.25 kB / 0.6796 GB, free: 43.26 MB / 426.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.00897/1.114, allocations: 6.568 MB / 0.6861 GB, free: 42.72 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.78e-05/1.114, allocations: 68.19 kB / 0.6861 GB, free: 42.72 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001137/1.114, allocations: 136 kB / 0.6862 GB, free: 42.72 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001482/1.114, allocations: 199.8 kB / 0.6864 GB, free: 42.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003784/1.118, allocations: 1.412 MB / 0.6878 GB, free: 42.59 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001362/1.118, allocations: 264.5 kB / 0.6881 GB, free: 42.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004058/1.122, allocations: 381.6 kB / 0.6884 GB, free: 42.51 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004556/1.123, allocations: 368.7 kB / 0.6888 GB, free: 42.51 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 618 * Number of states: 0 () * Number of discrete variables: 36 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[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 (746): * Single equations (assignments): 743 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006351/1.123, allocations: 0.5729 MB / 0.6893 GB, free: 42.11 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004874/1.124, allocations: 347.2 kB / 0.6897 GB, free: 41.91 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001923/1.126, allocations: 1.218 MB / 0.6909 GB, free: 41.43 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.286e-05/1.126, allocations: 17.12 kB / 0.6909 GB, free: 41.43 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.126, allocations: 3.938 kB / 0.6909 GB, free: 41.43 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.298e-05/1.126, allocations: 7.828 kB / 0.6909 GB, free: 41.43 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007608/1.133, allocations: 5.543 MB / 0.6963 GB, free: 38.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/1.133, allocations: 20.66 kB / 0.6963 GB, free: 38.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000855/1.134, allocations: 258.5 kB / 0.6966 GB, free: 38.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.292e-05/1.134, allocations: 26.61 kB / 0.6966 GB, free: 38.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.301e-05/1.134, allocations: 47.19 kB / 0.6966 GB, free: 38.89 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.788e-05/1.134, allocations: 30.44 kB / 0.6967 GB, free: 38.88 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-05/1.134, allocations: 22.19 kB / 0.6967 GB, free: 38.88 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003311/1.138, allocations: 4.837 MB / 0.7014 GB, free: 34.79 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009482/1.139, allocations: 0.5304 MB / 0.7019 GB, free: 34.43 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002813/1.139, allocations: 46.39 kB / 0.702 GB, free: 34.41 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001152/1.14, allocations: 82.19 kB / 0.7021 GB, free: 34.4 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001395/1.14, allocations: 134.8 kB / 0.7022 GB, free: 34.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.034e-05/1.14, allocations: 61.86 kB / 0.7022 GB, free: 34.34 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003124/1.144, allocations: 2.441 MB / 0.7046 GB, free: 33.46 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.61e-07/1.144, allocations: 0 / 0.7046 GB, free: 33.46 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005874/1.149, allocations: 0.8982 MB / 0.7055 GB, free: 33.35 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (134): * Single equations (assignments): 131 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004559/1.15, allocations: 186.8 kB / 0.7057 GB, free: 33.21 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005889/1.156, allocations: 3.559 MB / 0.7092 GB, free: 32 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.115e-05/1.156, allocations: 4.125 kB / 0.7092 GB, free: 32 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009945/1.157, allocations: 0.6923 MB / 0.7098 GB, free: 31.76 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002544/1.159, allocations: 420.6 kB / 0.7102 GB, free: 31.58 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01136/1.171, allocations: 6.991 MB / 0.7171 GB, free: 28.14 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002783/1.174, allocations: 3.221 MB / 0.7202 GB, free: 25.69 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004168/1.178, allocations: 1.794 MB / 0.722 GB, free: 24.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005034/1.178, allocations: 238.5 kB / 0.7222 GB, free: 24.34 MB / 426.7 MB Notification: Performance of SimCode: time 1.212e-06/1.178, allocations: 0 / 0.7222 GB, free: 24.34 MB / 426.7 MB Notification: Performance of Templates: time 0.04928/1.228, allocations: 26.52 MB / 0.7481 GB, free: 7.258 MB / 426.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1)