Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+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 ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring") translateModel(ModelicaTest.MultiBody.Forces.Spring,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.0009778/0.0009779, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.496/1.496, allocations: 194.3 MB / 202.4 MB, free: 8.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001755/0.001755, allocations: 117.2 kB / 247.4 MB, free: 6.211 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2008/0.2008, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.776e-05/1.779e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09538/0.09541, allocations: 54.88 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.368/0.4635, allocations: 96.65 MB / 0.5321 GB, free: 3.613 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000187/0.4637, allocations: 78.58 kB / 0.5321 GB, free: 3.574 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2154/0.6792, allocations: 83.03 MB / 0.6132 GB, free: 8.359 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.6792, allocations: 0 / 0.6132 GB, free: 8.359 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002142/0.6794, allocations: 80.19 kB / 0.6133 GB, free: 8.281 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.01093/0.6904, allocations: 3.9 MB / 0.6171 GB, free: 4.316 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.6904, allocations: 12.03 kB / 0.6171 GB, free: 4.305 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01161/0.702, allocations: 2.436 MB / 0.6195 GB, free: 1.859 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01298/0.715, allocations: 5.114 MB / 0.6245 GB, free: 12.68 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003286/0.7154, allocations: 140 kB / 0.6246 GB, free: 12.54 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002619/0.718, allocations: 251.9 kB / 0.6249 GB, free: 12.3 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01303/0.7311, allocations: 5.998 MB / 0.6307 GB, free: 6.293 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02088/0.752, allocations: 9.27 MB / 0.6398 GB, free: 11.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002692/0.7523, allocations: 63.41 kB / 0.6398 GB, free: 11.85 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001782/0.7541, allocations: 32 kB / 0.6399 GB, free: 11.82 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001764/0.7559, allocations: 1.014 MB / 0.6409 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3161/1.072, allocations: 46.62 MB / 0.6864 GB, free: 84.96 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00281/1.075, allocations: 1.969 MB / 0.6883 GB, free: 84.25 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001336/1.076, allocations: 0.8704 MB / 0.6892 GB, free: 84.2 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005031/1.077, allocations: 0.5596 MB / 0.6897 GB, free: 83.73 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.642e-05/1.077, allocations: 47.72 kB / 0.6898 GB, free: 83.69 MB / 474.7 MB Notification: Performance of pre-optimization done (n=144): time 6.472e-06/1.077, allocations: 0 / 0.6898 GB, free: 83.69 MB / 474.7 MB Notification: Performance of matching and sorting (n=156): time 0.01942/1.096, allocations: 8.756 MB / 0.6983 GB, free: 79.89 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.417e-05/1.096, allocations: 252.8 kB / 0.6985 GB, free: 79.61 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006078/1.102, allocations: 3.029 MB / 0.7015 GB, free: 79.29 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002087/1.103, allocations: 25.7 kB / 0.7015 GB, free: 79.26 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002043/1.105, allocations: 3.181 MB / 0.7046 GB, free: 77.62 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006824/1.105, allocations: 0.6095 MB / 0.7052 GB, free: 77.28 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003745/1.106, allocations: 0 / 0.7052 GB, free: 77.28 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0003965/1.106, allocations: 0.5638 MB / 0.7058 GB, free: 76.96 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002106/1.108, allocations: 1.472 MB / 0.7072 GB, free: 76.95 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003766/1.112, allocations: 5.377 MB / 0.7125 GB, free: 71.83 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003863/1.116, allocations: 2.813 MB / 0.7152 GB, free: 71.81 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000145/1.116, allocations: 40.94 kB / 0.7153 GB, free: 71.81 MB / 474.7 MB Notification: Performance of matching and sorting (n=800) (initialization): time 0.009168/1.125, allocations: 5.934 MB / 0.721 GB, free: 71.25 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.397e-05/1.125, allocations: 64.75 kB / 0.7211 GB, free: 71.25 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000133/1.126, allocations: 140.8 kB / 0.7212 GB, free: 71.25 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001678/1.126, allocations: 204.4 kB / 0.7214 GB, free: 71.25 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00405/1.13, allocations: 1.473 MB / 0.7229 GB, free: 71.12 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000167/1.13, allocations: 275 kB / 0.7231 GB, free: 71.06 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004163/1.134, allocations: 274.4 kB / 0.7234 GB, free: 71.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005821/1.135, allocations: 385.3 kB / 0.7238 GB, free: 71.04 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 642 * 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 (776): * Single equations (assignments): 773 * 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.0008154/1.136, allocations: 458.5 kB / 0.7242 GB, free: 70.71 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006805/1.136, allocations: 320.2 kB / 0.7245 GB, free: 70.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0019/1.138, allocations: 1.153 MB / 0.7256 GB, free: 70.43 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.049e-05/1.138, allocations: 23.09 kB / 0.7257 GB, free: 70.42 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/1.138, allocations: 6.438 kB / 0.7257 GB, free: 70.42 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.581e-05/1.138, allocations: 7.062 kB / 0.7257 GB, free: 70.42 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008575/1.147, allocations: 5.03 MB / 0.7306 GB, free: 69.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.768e-05/1.147, allocations: 16.97 kB / 0.7306 GB, free: 69.11 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008971/1.148, allocations: 274.3 kB / 0.7309 GB, free: 69.09 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.459e-05/1.148, allocations: 28.56 kB / 0.7309 GB, free: 69.09 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.591e-05/1.148, allocations: 22.84 kB / 0.7309 GB, free: 69.09 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.009e-05/1.148, allocations: 37.67 kB / 0.7309 GB, free: 69.08 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.335e-05/1.148, allocations: 20.94 kB / 0.731 GB, free: 69.08 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003323/1.151, allocations: 4.759 MB / 0.7356 GB, free: 65.36 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008354/1.152, allocations: 0.4924 MB / 0.7361 GB, free: 65.04 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/1.152, allocations: 26.17 kB / 0.7361 GB, free: 65.04 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001111/1.154, allocations: 72.52 kB / 0.7362 GB, free: 65.03 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/1.154, allocations: 138.9 kB / 0.7363 GB, free: 64.98 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.099e-05/1.154, allocations: 69.11 kB / 0.7364 GB, free: 64.96 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002488/1.156, allocations: 1.999 MB / 0.7383 GB, free: 64.24 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.7e-07/1.156, allocations: 0 / 0.7383 GB, free: 64.24 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004488/1.161, allocations: 0.7584 MB / 0.7391 GB, free: 64.23 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 71 * 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 (142): * Single equations (assignments): 139 * 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.0003429/1.161, allocations: 177.5 kB / 0.7392 GB, free: 64.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004505/1.166, allocations: 3.365 MB / 0.7425 GB, free: 62.98 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.084e-06/1.166, allocations: 2.5 kB / 0.7425 GB, free: 62.98 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007536/1.166, allocations: 0.6843 MB / 0.7432 GB, free: 62.75 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001801/1.168, allocations: 349.7 kB / 0.7435 GB, free: 62.61 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/1.18, allocations: 6.95 MB / 0.7503 GB, free: 59.59 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002942/1.183, allocations: 3.222 MB / 0.7535 GB, free: 58.35 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.004237/1.187, allocations: 1.864 MB / 0.7553 GB, free: 57.21 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004168/1.188, allocations: 231.2 kB / 0.7555 GB, free: 56.99 MB / 474.7 MB Notification: Performance of SimCode: time 1.112e-06/1.188, allocations: 0 / 0.7555 GB, free: 56.99 MB / 474.7 MB Notification: Performance of Templates: time 0.04195/1.23, allocations: 22.94 MB / 0.7779 GB, free: 43.43 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.sim & ./ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1)