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.005483/0.005483, allocations: 100.9 kB / 15.73 MB, free: 6.039 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.001115/0.001115, allocations: 186.5 kB / 16.67 MB, free: 5.969 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.491/1.491, allocations: 205.1 MB / 222.6 MB, free: 4.504 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.4189/0.4189, allocations: 39.94 MB / 309.8 MB, free: 9.402 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.001446/0.001446, allocations: 67.91 kB / 435.8 MB, free: 2.461 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4087/0.4102, allocations: 56.89 MB / 492.7 MB, free: 19.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01364/0.4239, allocations: 11.43 MB / 0.4923 GB, free: 11.21 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01116/0.4351, allocations: 4.048 MB / 0.4962 GB, free: 8.512 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00367/0.4388, allocations: 65.44 kB / 0.4963 GB, free: 8.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005931/0.4449, allocations: 2.5 MB / 0.4987 GB, free: 7.227 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008106/0.453, allocations: 1.871 MB / 0.5006 GB, free: 5.906 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00256/0.4556, allocations: 0.7761 MB / 0.5013 GB, free: 5.371 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.009568/0.4652, allocations: 4.46 MB / 0.5057 GB, free: 3.016 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005595/0.4709, allocations: 3.346 MB / 0.509 GB, free: 1.012 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004828/0.4757, allocations: 1.574 MB / 0.5105 GB, free: 128 kB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005281/0.4811, allocations: 2.236 MB / 0.5127 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002272/0.4834, allocations: 332.6 kB / 0.513 GB, free: 14.77 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004048/0.4874, allocations: 0.9727 MB / 0.5139 GB, free: 14.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003549/0.491, allocations: 1.939 MB / 0.5158 GB, free: 12.71 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00516/0.4962, allocations: 2.253 MB / 0.518 GB, free: 10.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01081/0.5071, allocations: 6.88 MB / 0.5248 GB, free: 3.547 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.5071, allocations: 0 / 0.5248 GB, free: 3.547 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.895e-06/0.5071, allocations: 4 kB / 0.5248 GB, free: 3.543 MB / 398.1 MB Notification: Performance of Transformations before backend: time 0.0002973/0.5074, allocations: 4 kB / 0.5248 GB, free: 3.539 MB / 398.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.01569/0.5231, allocations: 4.827 MB / 0.5295 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.274e-05/0.5232, allocations: 19.88 kB / 0.5295 GB, free: 14.62 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008373/0.5316, allocations: 1.945 MB / 0.5314 GB, free: 12.67 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007049/0.5387, allocations: 2.477 MB / 0.5338 GB, free: 10.13 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002924/0.539, allocations: 254.4 kB / 0.5341 GB, free: 9.879 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001267/0.5403, allocations: 331.8 kB / 0.5344 GB, free: 9.555 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02031/0.5606, allocations: 10.21 MB / 0.5443 GB, free: 14.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001355/0.5608, allocations: 51.58 kB / 0.5444 GB, free: 14.5 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004455/0.5613, allocations: 155.9 kB / 0.5445 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002953/0.5642, allocations: 1.908 MB / 0.5464 GB, free: 12.44 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01678/0.581, allocations: 8.15 MB / 0.5544 GB, free: 4.27 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05324/0.6343, allocations: 39.27 MB / 0.5927 GB, free: 11.81 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009138/0.6435, allocations: 3.281 MB / 0.5959 GB, free: 8.363 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/0.6455, allocations: 1.046 MB / 0.5969 GB, free: 7.301 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01127/0.6568, allocations: 5.921 MB / 0.6027 GB, free: 1.008 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.076e-05/0.6569, allocations: 47.5 kB / 0.6028 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of pre-optimization done (n=148): time 5.57e-06/0.657, allocations: 4 kB / 0.6028 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of matching and sorting (n=160): time 0.02839/0.6854, allocations: 9.467 MB / 0.612 GB, free: 7.367 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/0.6855, allocations: 200.9 kB / 0.6122 GB, free: 7.129 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006993/0.6925, allocations: 4.071 MB / 0.6162 GB, free: 3.031 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002807/0.6929, allocations: 49.7 kB / 0.6162 GB, free: 2.977 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002477/0.6953, allocations: 3.183 MB / 0.6193 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007443/0.6961, allocations: 0.6366 MB / 0.62 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001599/0.6977, allocations: 1.21 MB / 0.6211 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001323/0.6978, allocations: 317.1 kB / 0.6214 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002664/0.7005, allocations: 1.648 MB / 0.6231 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005142/0.7057, allocations: 5.526 MB / 0.6284 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3272/1.033, allocations: 7.783 MB / 0.636 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001737/1.033, allocations: 39.59 kB / 0.6361 GB, free: 116.9 MB / 0.4981 GB Notification: Performance of matching and sorting (n=799) (initialization): time 0.0164/1.05, allocations: 6.9 MB / 0.6428 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001261/1.05, allocations: 65.88 kB / 0.6429 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002297/1.05, allocations: 136.7 kB / 0.643 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003069/1.05, allocations: 181.4 kB / 0.6432 GB, free: 114.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004963/1.055, allocations: 1.434 MB / 0.6446 GB, free: 114.4 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003745/1.056, allocations: 265.5 kB / 0.6448 GB, free: 114.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004938/1.061, allocations: 307.9 kB / 0.6451 GB, free: 114.2 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007209/1.061, allocations: 378.5 kB / 0.6455 GB, free: 114.1 MB / 0.4981 GB 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.003763/1.065, allocations: 2.034 MB / 0.6475 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000677/1.066, allocations: 348.1 kB / 0.6478 GB, free: 113.2 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002436/1.068, allocations: 1.344 MB / 0.6491 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.743e-05/1.068, allocations: 20.66 kB / 0.6491 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.708e-06/1.068, allocations: 1.5 kB / 0.6492 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/1.068, allocations: 11.69 kB / 0.6492 GB, free: 112.7 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01021/1.079, allocations: 5.824 MB / 0.6548 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-05/1.079, allocations: 17.84 kB / 0.6549 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001039/1.08, allocations: 279.6 kB / 0.6551 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.9e-05/1.08, allocations: 29.12 kB / 0.6552 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.306e-05/1.08, allocations: 49.5 kB / 0.6552 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.647e-05/1.08, allocations: 35.94 kB / 0.6552 GB, free: 110.1 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.288e-05/1.08, allocations: 28.16 kB / 0.6553 GB, free: 110 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004214/1.084, allocations: 3.279 MB / 0.6585 GB, free: 108.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001444/1.086, allocations: 0.5197 MB / 0.659 GB, free: 107.9 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003813/1.086, allocations: 51.08 kB / 0.659 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001136/1.087, allocations: 59.78 kB / 0.6591 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001798/1.087, allocations: 146.8 kB / 0.6592 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.676e-05/1.087, allocations: 66.66 kB / 0.6593 GB, free: 107.8 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004396/1.092, allocations: 2.522 MB / 0.6618 GB, free: 106.9 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.163e-06/1.092, allocations: 4 kB / 0.6618 GB, free: 106.9 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.007821/1.1, allocations: 0.9137 MB / 0.6626 GB, free: 106.8 MB / 0.4981 GB 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.0005468/1.1, allocations: 194.2 kB / 0.6628 GB, free: 106.6 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006741/1.107, allocations: 3.835 MB / 0.6666 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.529e-05/1.107, allocations: 0 / 0.6666 GB, free: 105.4 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009834/1.108, allocations: 0.7467 MB / 0.6673 GB, free: 105.1 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003022/1.111, allocations: 464.9 kB / 0.6677 GB, free: 104.9 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0137/1.125, allocations: 8.757 MB / 0.6763 GB, free: 100.6 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002762/1.128, allocations: 3.18 MB / 0.6794 GB, free: 98.35 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00357/1.131, allocations: 1.816 MB / 0.6812 GB, free: 96.53 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006523/1.132, allocations: 243.4 kB / 0.6814 GB, free: 96.29 MB / 0.4981 GB Notification: Performance of SimCode: time 1.573e-06/1.132, allocations: 0 / 0.6814 GB, free: 96.29 MB / 0.4981 GB Notification: Performance of Templates: time 0.04805/1.18, allocations: 25.34 MB / 0.7062 GB, free: 71.06 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)