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/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.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 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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008048/0.0008048, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006324/0.006324, allocations: 170.4 kB / 16.26 MB, free: 6.617 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.517/1.517, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3157/0.3157, allocations: 38.04 MB / 308.8 MB, free: 10.34 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.1. 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.0005475/0.0005475, allocations: 12 kB / 377 MB, free: 14.83 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1202/0.1208, allocations: 57.52 MB / 434.6 MB, free: 5.211 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.2668/0.3876, allocations: 41.71 MB / 476.3 MB, free: 29.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.02327/0.411, allocations: 9.197 MB / 485.5 MB, free: 25.49 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.009721/0.4207, allocations: 182.5 kB / 485.7 MB, free: 25.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001593/0.4224, allocations: 435.4 kB / 486.1 MB, free: 25.29 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004982/0.4274, allocations: 1.763 MB / 487.8 MB, free: 24.52 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001543/0.4289, allocations: 0.7188 MB / 488.6 MB, free: 24.21 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.006587/0.4355, allocations: 6.162 MB / 494.7 MB, free: 22.43 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005736/0.4413, allocations: 4.566 MB / 499.3 MB, free: 20.59 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002297/0.4436, allocations: 1.178 MB / 0.4887 GB, free: 20.14 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003484/0.4471, allocations: 2.118 MB / 0.4908 GB, free: 19.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006248/0.4477, allocations: 150.9 kB / 0.491 GB, free: 19.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0022/0.4499, allocations: 0.836 MB / 0.4918 GB, free: 19.28 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002194/0.4521, allocations: 1.769 MB / 0.4935 GB, free: 18.74 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002446/0.4546, allocations: 2.037 MB / 0.4955 GB, free: 17.34 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01046/0.4651, allocations: 6.389 MB / 0.5017 GB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.4651, allocations: 1.375 kB / 0.5017 GB, free: 15.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.046e-06/0.4651, allocations: 4 kB / 0.5017 GB, free: 15.46 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0003842/0.4655, allocations: 0 / 0.5017 GB, free: 15.46 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.01078/0.4763, allocations: 3.961 MB / 0.5056 GB, free: 12.68 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.4764, allocations: 9.188 kB / 0.5056 GB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007907/0.4843, allocations: 1.997 MB / 0.5076 GB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005782/0.4901, allocations: 2.44 MB / 0.5099 GB, free: 10.11 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.4903, allocations: 256.7 kB / 0.5102 GB, free: 9.992 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006716/0.491, allocations: 329.3 kB / 0.5105 GB, free: 9.875 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.017/0.508, allocations: 10.22 MB / 0.5205 GB, free: 3.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001099/0.5081, allocations: 47.53 kB / 0.5205 GB, free: 3.23 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003848/0.5085, allocations: 155.9 kB / 0.5207 GB, free: 3.078 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00235/0.5109, allocations: 1.911 MB / 0.5225 GB, free: 1.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01667/0.5276, allocations: 8.165 MB / 0.5305 GB, free: 8.969 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04931/0.5769, allocations: 39.46 MB / 0.569 GB, free: 352 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007611/0.5846, allocations: 3.275 MB / 0.5722 GB, free: 12.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001431/0.586, allocations: 1.049 MB / 0.5733 GB, free: 11.84 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00815/0.5942, allocations: 5.916 MB / 0.579 GB, free: 5.555 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.756e-05/0.5942, allocations: 51.5 kB / 0.5791 GB, free: 5.496 MB / 446.1 MB Notification: Performance of pre-optimization done (n=148): time 3.647e-06/0.5942, allocations: 0 / 0.5791 GB, free: 5.496 MB / 446.1 MB Notification: Performance of matching and sorting (n=160): time 0.0222/0.6165, allocations: 9.475 MB / 0.5884 GB, free: 11.91 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.194e-05/0.6166, allocations: 145.5 kB / 0.5885 GB, free: 11.74 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005929/0.6225, allocations: 4.079 MB / 0.5925 GB, free: 7.633 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001169/0.6226, allocations: 45.7 kB / 0.5925 GB, free: 7.582 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002229/0.6249, allocations: 3.183 MB / 0.5956 GB, free: 4.352 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005453/0.6254, allocations: 0.6405 MB / 0.5962 GB, free: 3.703 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005779/0.626, allocations: 0.5113 MB / 0.5967 GB, free: 3.184 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6261, allocations: 317.1 kB / 0.5971 GB, free: 2.871 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002445/0.6286, allocations: 1.652 MB / 0.5987 GB, free: 1.215 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004814/0.6334, allocations: 5.509 MB / 0.604 GB, free: 9.773 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008079/0.6415, allocations: 7.784 MB / 0.6116 GB, free: 72 kB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.614e-05/0.6416, allocations: 40 kB / 0.6117 GB, free: 32 kB / 478.1 MB Notification: Performance of matching and sorting (n=799) (initialization): time 0.01095/0.6526, allocations: 6.905 MB / 0.6184 GB, free: 9.113 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.412e-05/0.6527, allocations: 64 kB / 0.6185 GB, free: 9.051 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000131/0.6528, allocations: 136.2 kB / 0.6186 GB, free: 8.918 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001678/0.653, allocations: 180 kB / 0.6188 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003992/0.657, allocations: 1.439 MB / 0.6202 GB, free: 7.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002196/0.6572, allocations: 267 kB / 0.6204 GB, free: 7.039 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004165/0.6614, allocations: 303.7 kB / 0.6207 GB, free: 6.742 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004769/0.6619, allocations: 379.9 kB / 0.6211 GB, free: 6.375 MB / 494.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.003664/0.6656, allocations: 2.037 MB / 0.6231 GB, free: 4.324 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006692/0.6662, allocations: 347.5 kB / 0.6234 GB, free: 3.98 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002409/0.6687, allocations: 1.341 MB / 0.6247 GB, free: 2.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.551e-05/0.6687, allocations: 20 kB / 0.6248 GB, free: 2.605 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/0.6687, allocations: 4 kB / 0.6248 GB, free: 2.602 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.6687, allocations: 11.91 kB / 0.6248 GB, free: 2.59 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2562/0.9249, allocations: 5.827 MB / 0.6305 GB, free: 143.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.727e-05/0.925, allocations: 16.59 kB / 0.6305 GB, free: 143.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009302/0.9259, allocations: 282.5 kB / 0.6307 GB, free: 143.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.045e-05/0.9259, allocations: 24.03 kB / 0.6308 GB, free: 143.7 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.641e-05/0.926, allocations: 48.47 kB / 0.6308 GB, free: 143.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-05/0.9261, allocations: 35.56 kB / 0.6308 GB, free: 143.7 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-05/0.9261, allocations: 25.69 kB / 0.6309 GB, free: 143.7 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003193/0.9293, allocations: 3.278 MB / 0.6341 GB, free: 142.6 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001084/0.9304, allocations: 0.5319 MB / 0.6346 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002909/0.9307, allocations: 50.89 kB / 0.6346 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/0.9318, allocations: 69.44 kB / 0.6347 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.932, allocations: 143.9 kB / 0.6348 GB, free: 142.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.9321, allocations: 72.67 kB / 0.6349 GB, free: 142.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.004669/0.9367, allocations: 2.53 MB / 0.6374 GB, free: 142.3 MB / 494.1 MB Notification: Performance of sort global known variables: time 5.71e-07/0.9368, allocations: 0.875 kB / 0.6374 GB, free: 142.3 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.005062/0.9418, allocations: 0.9001 MB / 0.6383 GB, free: 142.3 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.0003816/0.9422, allocations: 207.6 kB / 0.6385 GB, free: 142.1 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.005225/0.9474, allocations: 3.772 MB / 0.6421 GB, free: 140.9 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/0.9475, allocations: 0 / 0.6421 GB, free: 140.9 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008475/0.9483, allocations: 0.7471 MB / 0.6429 GB, free: 140.7 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01122/0.9596, allocations: 465.7 kB / 0.6433 GB, free: 140.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01512/0.9747, allocations: 10.92 MB / 0.654 GB, free: 134.2 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003511/0.9782, allocations: 3.182 MB / 0.6571 GB, free: 132.9 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.004817/0.9831, allocations: 1.823 MB / 0.6589 GB, free: 132.8 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006889/0.9838, allocations: 243 kB / 0.6591 GB, free: 132.8 MB / 494.1 MB Notification: Performance of SimCode: time 1.583e-06/0.9838, allocations: 0 / 0.6591 GB, free: 132.8 MB / 494.1 MB Notification: Performance of Templates: time 0.06197/1.046, allocations: 27.52 MB / 0.686 GB, free: 124 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Spring.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: