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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001189/0.001189, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001783/0.001783, allocations: 194.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.42/1.42, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.4129/0.4129, allocations: 39.94 MB / 309.7 MB, free: 9.281 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.2. 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.001582/0.001582, allocations: 66.41 kB / 377.6 MB, free: 12.66 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.1616, allocations: 56.88 MB / 434.5 MB, free: 3.68 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01899/0.1806, allocations: 11.42 MB / 445.9 MB, free: 8.199 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01083/0.1915, allocations: 4.051 MB / 450 MB, free: 4.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003263/0.1949, allocations: 63.81 kB / 450 MB, free: 4.074 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005619/0.2005, allocations: 2.495 MB / 452.5 MB, free: 1.57 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.2875/0.4881, allocations: 1.873 MB / 454.4 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002572/0.4907, allocations: 0.7774 MB / 455.2 MB, free: 36.57 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0084/0.4991, allocations: 4.45 MB / 459.6 MB, free: 36.56 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005381/0.5045, allocations: 3.35 MB / 463 MB, free: 36.22 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003638/0.5082, allocations: 1.575 MB / 464.6 MB, free: 36.06 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003937/0.5122, allocations: 2.24 MB / 466.8 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001189/0.5134, allocations: 331.2 kB / 467.1 MB, free: 35.8 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00323/0.5166, allocations: 0.9767 MB / 468.1 MB, free: 35.75 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00211/0.5188, allocations: 1.942 MB / 470 MB, free: 35.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002875/0.5217, allocations: 2.262 MB / 472.3 MB, free: 33.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008735/0.5304, allocations: 6.63 MB / 478.9 MB, free: 31.3 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.383e-06/0.5305, allocations: 0 / 478.9 MB, free: 31.3 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5305, allocations: 4 kB / 478.9 MB, free: 31.3 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002972/0.5308, allocations: 0 / 478.9 MB, free: 31.3 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: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.0155/0.5463, allocations: 4.836 MB / 483.8 MB, free: 28.7 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.5464, allocations: 12.98 kB / 483.8 MB, free: 28.7 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008435/0.5548, allocations: 1.948 MB / 485.7 MB, free: 28.35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006641/0.5615, allocations: 2.436 MB / 488.2 MB, free: 27.29 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003415/0.5619, allocations: 256.4 kB / 488.4 MB, free: 27.2 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001588/0.5635, allocations: 335 kB / 488.7 MB, free: 27.12 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02508/0.5886, allocations: 10.19 MB / 498.9 MB, free: 22.41 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001744/0.5888, allocations: 44.53 kB / 499 MB, free: 22.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005206/0.5893, allocations: 162.1 kB / 499.1 MB, free: 22.33 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003618/0.593, allocations: 1.909 MB / 0.4893 GB, free: 22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02059/0.6136, allocations: 8.139 MB / 0.4973 GB, free: 19.43 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05076/0.6644, allocations: 39.44 MB / 0.5358 GB, free: 12.62 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00832/0.6728, allocations: 3.279 MB / 0.539 GB, free: 9.176 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001981/0.6748, allocations: 1.058 MB / 0.54 GB, free: 8.113 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009385/0.6842, allocations: 5.914 MB / 0.5458 GB, free: 1.871 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.845e-05/0.6843, allocations: 55.5 kB / 0.5458 GB, free: 1.809 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 4.008e-06/0.6843, allocations: 0 / 0.5458 GB, free: 1.809 MB / 414.1 MB Notification: Performance of matching and sorting (n=160): time 0.0238/0.7081, allocations: 9.467 MB / 0.5551 GB, free: 8.242 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.262e-05/0.7083, allocations: 149.5 kB / 0.5552 GB, free: 8.062 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006827/0.7151, allocations: 4.071 MB / 0.5592 GB, free: 3.965 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004238/0.7156, allocations: 49.7 kB / 0.5592 GB, free: 3.91 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.003163/0.7188, allocations: 3.177 MB / 0.5623 GB, free: 0.7344 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001022/0.7198, allocations: 0.636 MB / 0.563 GB, free: 108 kB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001867/0.7217, allocations: 1.214 MB / 0.5642 GB, free: 14.88 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.7218, allocations: 309.1 kB / 0.5644 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002899/0.7247, allocations: 1.656 MB / 0.5661 GB, free: 12.91 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005745/0.7305, allocations: 5.51 MB / 0.5714 GB, free: 5.48 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01044/0.741, allocations: 7.788 MB / 0.579 GB, free: 11.79 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001179/0.7411, allocations: 40 kB / 0.5791 GB, free: 11.75 MB / 462.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01446/0.7556, allocations: 6.901 MB / 0.5858 GB, free: 4.844 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001166/0.7558, allocations: 64 kB / 0.5859 GB, free: 4.781 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002108/0.756, allocations: 139.9 kB / 0.586 GB, free: 4.645 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002052/0.7562, allocations: 191.6 kB / 0.5862 GB, free: 4.461 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00486/0.7611, allocations: 1.439 MB / 0.5876 GB, free: 3.02 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002271/0.7613, allocations: 263 kB / 0.5879 GB, free: 2.762 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004473/0.7658, allocations: 294.7 kB / 0.5881 GB, free: 2.477 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006724/0.7665, allocations: 379.9 kB / 0.5885 GB, free: 2.105 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (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.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 (775): * Single equations (assignments): 772 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003943/0.7704, allocations: 2.044 MB / 0.5905 GB, free: 48 kB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009406/0.7714, allocations: 347.5 kB / 0.5908 GB, free: 15.7 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002467/0.7739, allocations: 1.334 MB / 0.5921 GB, free: 14.36 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.659e-05/0.7739, allocations: 23.98 kB / 0.5922 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.7739, allocations: 0 / 0.5922 GB, free: 14.33 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.684e-05/0.774, allocations: 7.969 kB / 0.5922 GB, free: 14.32 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/0.7848, allocations: 5.834 MB / 0.5979 GB, free: 8.215 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-05/0.7848, allocations: 16 kB / 0.5979 GB, free: 8.199 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009966/0.7858, allocations: 280.3 kB / 0.5981 GB, free: 7.926 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.709e-05/0.7859, allocations: 27.98 kB / 0.5982 GB, free: 7.898 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.97e-05/0.786, allocations: 52 kB / 0.5982 GB, free: 7.848 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.205e-05/0.786, allocations: 35.86 kB / 0.5983 GB, free: 7.812 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.24e-05/0.786, allocations: 27.88 kB / 0.5983 GB, free: 7.785 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004442/0.7905, allocations: 3.281 MB / 0.6015 GB, free: 4.254 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/0.7921, allocations: 0.5276 MB / 0.602 GB, free: 3.703 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005994/0.7927, allocations: 47.98 kB / 0.602 GB, free: 3.656 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001275/0.794, allocations: 63.95 kB / 0.6021 GB, free: 3.594 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.7942, allocations: 142.4 kB / 0.6022 GB, free: 3.457 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001122/0.7943, allocations: 68 kB / 0.6023 GB, free: 3.391 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.004464/0.7988, allocations: 2.527 MB / 0.6048 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of sort global known variables: time 3.216e-06/0.7988, allocations: 0 / 0.6048 GB, free: 0.8516 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.006247/0.8051, allocations: 0.9062 MB / 0.6057 GB, free: 15.94 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * 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 (145): * Single equations (assignments): 142 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005655/0.8057, allocations: 202.4 kB / 0.6059 GB, free: 15.74 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.007423/0.8131, allocations: 3.98 MB / 0.6097 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-05/0.8132, allocations: 4 kB / 0.6097 GB, free: 11.79 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001181/0.8144, allocations: 0.745 MB / 0.6105 GB, free: 11.05 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003482/0.8179, allocations: 473.6 kB / 0.6109 GB, free: 10.6 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02294/0.8408, allocations: 8.862 MB / 0.6196 GB, free: 1.473 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006632/0.8475, allocations: 3.187 MB / 0.6227 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.005407/0.853, allocations: 1.82 MB / 0.6245 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008419/0.8539, allocations: 239.4 kB / 0.6247 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.703e-06/0.8539, allocations: 0 / 0.6247 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of Templates: time 0.3287/1.183, allocations: 28.73 MB / 0.6528 GB, free: 151.9 MB / 0.4981 GB 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)