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.005166/0.005166, allocations: 166.5 kB / 15.11 MB, free: 5.969 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.317/1.317, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001669/0.001669, allocations: 106.6 kB / 226.2 MB, free: 10.1 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.41/0.41, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004044/0.0004044, allocations: 12 kB / 362.9 MB, free: 5.609 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1265, allocations: 48.69 MB / 411.6 MB, free: 4.836 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3935/0.5201, allocations: 90.71 MB / 0.4905 GB, free: 13.21 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002303/0.5203, allocations: 80.78 kB / 0.4906 GB, free: 13.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2227/0.743, allocations: 84.79 MB / 0.5734 GB, free: 13.14 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.7431, allocations: 0 / 0.5734 GB, free: 13.14 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002291/0.7433, allocations: 76 kB / 0.5735 GB, free: 13.07 MB / 426.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.01402/0.7574, allocations: 4.145 MB / 0.5775 GB, free: 8.855 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.7574, allocations: 8.031 kB / 0.5775 GB, free: 8.848 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01182/0.7693, allocations: 2.436 MB / 0.5799 GB, free: 6.402 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01403/0.7834, allocations: 5.133 MB / 0.5849 GB, free: 1.203 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003899/0.7838, allocations: 325.5 kB / 0.5852 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002061/0.7859, allocations: 431.8 kB / 0.5856 GB, free: 472 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2425/1.028, allocations: 10.49 MB / 0.5959 GB, free: 76.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001574/1.029, allocations: 63.28 kB / 0.5959 GB, free: 76.45 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006357/1.029, allocations: 215.7 kB / 0.5961 GB, free: 76.45 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001238/1.03, allocations: 1.007 MB / 0.5971 GB, free: 76.44 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01515/1.046, allocations: 8.222 MB / 0.6051 GB, free: 76.4 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04844/1.094, allocations: 47.43 MB / 0.6515 GB, free: 44.59 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008069/1.102, allocations: 3.065 MB / 0.6545 GB, free: 43.23 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008909/1.111, allocations: 5.208 MB / 0.6595 GB, free: 40.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.086e-05/1.111, allocations: 51.31 kB / 0.6596 GB, free: 40.05 MB / 426.7 MB Notification: Performance of pre-optimization done (n=134): time 3.968e-06/1.111, allocations: 0 / 0.6596 GB, free: 40.05 MB / 426.7 MB Notification: Performance of matching and sorting (n=146): time 0.01987/1.131, allocations: 9.223 MB / 0.6686 GB, free: 35.77 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.098e-05/1.131, allocations: 199.9 kB / 0.6688 GB, free: 35.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005275/1.137, allocations: 3.645 MB / 0.6723 GB, free: 34.27 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002448/1.137, allocations: 45.17 kB / 0.6724 GB, free: 34.22 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002119/1.139, allocations: 3.145 MB / 0.6755 GB, free: 31.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006901/1.14, allocations: 0.594 MB / 0.676 GB, free: 31.39 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002012/1.14, allocations: 122.7 kB / 0.6762 GB, free: 31.29 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002485/1.14, allocations: 0.5511 MB / 0.6767 GB, free: 30.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002426/1.143, allocations: 1.621 MB / 0.6783 GB, free: 30.4 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004465/1.147, allocations: 5.422 MB / 0.6836 GB, free: 24.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004543/1.152, allocations: 2.901 MB / 0.6864 GB, free: 23.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.333e-05/1.152, allocations: 40.09 kB / 0.6864 GB, free: 23.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=770) (initialization): time 0.01061/1.162, allocations: 6.781 MB / 0.6931 GB, free: 20.93 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/1.162, allocations: 67.53 kB / 0.6931 GB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000174/1.163, allocations: 135.2 kB / 0.6933 GB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001931/1.163, allocations: 198.7 kB / 0.6934 GB, free: 20.93 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004135/1.167, allocations: 1.417 MB / 0.6948 GB, free: 20.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001984/1.167, allocations: 266.3 kB / 0.6951 GB, free: 20.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004954/1.172, allocations: 379.3 kB / 0.6954 GB, free: 20.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007078/1.173, allocations: 367.2 kB / 0.6958 GB, free: 20.54 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 () * Number of clocked 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.00426/1.177, allocations: 2.005 MB / 0.6978 GB, free: 19.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001126/1.178, allocations: 346 kB / 0.6981 GB, free: 19.39 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002305/1.181, allocations: 1.255 MB / 0.6993 GB, free: 18.87 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.709e-05/1.181, allocations: 18.23 kB / 0.6993 GB, free: 18.87 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.169e-05/1.181, allocations: 3.125 kB / 0.6993 GB, free: 18.87 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.278e-05/1.181, allocations: 3.375 kB / 0.6993 GB, free: 18.87 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/1.191, allocations: 5.552 MB / 0.7048 GB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.897e-05/1.191, allocations: 14.72 kB / 0.7048 GB, free: 16.36 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000903/1.192, allocations: 258.8 kB / 0.705 GB, free: 16.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-05/1.192, allocations: 29.08 kB / 0.705 GB, free: 16.33 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.958e-05/1.192, allocations: 45.39 kB / 0.7051 GB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.841e-05/1.192, allocations: 29.66 kB / 0.7051 GB, free: 16.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.304e-05/1.192, allocations: 22.81 kB / 0.7051 GB, free: 16.3 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004127/1.196, allocations: 4.886 MB / 0.7099 GB, free: 12.16 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001539/1.198, allocations: 0.5237 MB / 0.7104 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003694/1.198, allocations: 44.84 kB / 0.7105 GB, free: 11.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001204/1.2, allocations: 93.67 kB / 0.7106 GB, free: 11.77 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/1.2, allocations: 133.1 kB / 0.7107 GB, free: 11.72 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.953e-05/1.2, allocations: 65.67 kB / 0.7107 GB, free: 11.71 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.005182/1.205, allocations: 2.542 MB / 0.7132 GB, free: 10.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.61e-07/1.205, allocations: 7.453 kB / 0.7132 GB, free: 10.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.006349/1.211, allocations: 0.8928 MB / 0.7141 GB, free: 10.74 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 () * Number of clocked 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.0004433/1.212, allocations: 202.7 kB / 0.7143 GB, free: 10.59 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006687/1.219, allocations: 3.666 MB / 0.7179 GB, free: 8.633 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.22e-05/1.219, allocations: 4 kB / 0.7179 GB, free: 8.629 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001038/1.22, allocations: 0.7033 MB / 0.7186 GB, free: 8.004 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002597/1.222, allocations: 415.1 kB / 0.719 GB, free: 7.648 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/1.24, allocations: 10.12 MB / 0.7288 GB, free: 14.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003578/1.244, allocations: 3.221 MB / 0.732 GB, free: 11.65 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004572/1.249, allocations: 1.789 MB / 0.7337 GB, free: 10.53 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005397/1.249, allocations: 235.3 kB / 0.734 GB, free: 10.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.373e-06/1.249, allocations: 4 kB / 0.734 GB, free: 10.3 MB / 442.7 MB Notification: Performance of Templates: time 0.2859/1.535, allocations: 26.52 MB / 0.7599 GB, free: 80.89 MB / 442.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)