Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PlanarMechanics.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") translateModel(PlanarMechanics.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00111/0.00111, allocations: 116.2 kB / 16.42 MB, free: 6.02 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.001098/0.001098, allocations: 187.2 kB / 17.35 MB, free: 5.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04666/0.04666, allocations: 9.113 MB / 300.3 MB, free: 5.844 MB / 238.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001225, allocations: 63.89 kB / 415.3 MB, free: 21.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09236/0.0936, allocations: 51.44 MB / 466.7 MB, free: 1.805 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.008546/0.1022, allocations: 8.191 MB / 474.9 MB, free: 9.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.004575/0.1068, allocations: 2.51 MB / 477.4 MB, free: 7.043 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006965/0.1075, allocations: 31.94 kB / 477.5 MB, free: 7.012 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008073/0.1083, allocations: 345.7 kB / 477.8 MB, free: 6.672 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002723/0.1111, allocations: 1.323 MB / 479.1 MB, free: 5.344 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004273/0.1115, allocations: 119.7 kB / 479.3 MB, free: 5.227 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002841/0.1144, allocations: 2.443 MB / 481.7 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.1157, allocations: 0.8093 MB / 482.5 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001427/0.1171, allocations: 0.8521 MB / 483.4 MB, free: 1.094 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00198/0.1191, allocations: 1.257 MB / 484.6 MB, free: 15.83 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006262/0.1197, allocations: 227.9 kB / 484.8 MB, free: 15.61 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.1214, allocations: 0.8114 MB / 485.7 MB, free: 14.8 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001434/0.1229, allocations: 1.204 MB / 486.9 MB, free: 13.59 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002021/0.1249, allocations: 1.545 MB / 488.4 MB, free: 12.04 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005453/0.1304, allocations: 4.959 MB / 493.4 MB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1304, allocations: 0 / 493.4 MB, free: 7.059 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1304, allocations: 0 / 493.4 MB, free: 7.059 MB / 366.1 MB Notification: Performance of Transformations before backend: time 7.209e-05/0.1305, allocations: 0 / 493.4 MB, free: 7.059 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1172 * Number of variables: 1172 Notification: Performance of Generate backend data structure: time 0.005764/0.1363, allocations: 3.261 MB / 496.6 MB, free: 3.734 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.151e-05/0.1363, allocations: 8.031 kB / 496.6 MB, free: 3.727 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006968/0.1433, allocations: 1.767 MB / 498.4 MB, free: 1.953 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002117/0.1454, allocations: 1.302 MB / 499.7 MB, free: 0.6055 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000113/0.1455, allocations: 147.8 kB / 499.8 MB, free: 472 kB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003586/0.1459, allocations: 180.2 kB / 0.4883 GB, free: 292 kB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01085/0.1568, allocations: 8.061 MB / 0.4962 GB, free: 7.863 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.487e-05/0.1569, allocations: 19.81 kB / 0.4962 GB, free: 7.844 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002625/0.1571, allocations: 87.86 kB / 0.4963 GB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00344/0.1606, allocations: 2.004 MB / 0.4982 GB, free: 5.75 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2074/0.368, allocations: 7.134 MB / 0.5052 GB, free: 39.46 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02945/0.3975, allocations: 24.07 MB / 0.5287 GB, free: 24.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004034/0.4015, allocations: 2.149 MB / 0.5308 GB, free: 22.69 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00106/0.4026, allocations: 0.7233 MB / 0.5315 GB, free: 22.33 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004348/0.407, allocations: 3.988 MB / 0.5354 GB, free: 19 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.407, allocations: 47.41 kB / 0.5354 GB, free: 18.95 MB / 382.1 MB Notification: Performance of pre-optimization done (n=114): time 3.937e-06/0.407, allocations: 0 / 0.5354 GB, free: 18.95 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.008044/0.4151, allocations: 4.38 MB / 0.5397 GB, free: 16.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.941e-05/0.4151, allocations: 59.62 kB / 0.5398 GB, free: 16.51 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0029/0.418, allocations: 2.584 MB / 0.5423 GB, free: 15.1 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.835e-05/0.4181, allocations: 37.08 kB / 0.5423 GB, free: 15.06 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008268/0.4189, allocations: 2.118 MB / 0.5444 GB, free: 13.21 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000242/0.4192, allocations: 455.4 kB / 0.5448 GB, free: 12.83 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007712/0.42, allocations: 0.7537 MB / 0.5456 GB, free: 12.39 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.864e-05/0.42, allocations: 305.1 kB / 0.5459 GB, free: 12.09 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.4216, allocations: 1.174 MB / 0.547 GB, free: 11.05 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002205/0.4238, allocations: 3.313 MB / 0.5503 GB, free: 6.684 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003884/0.4277, allocations: 4.794 MB / 0.5549 GB, free: 0.8359 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.617e-05/0.4278, allocations: 20 kB / 0.555 GB, free: 0.8164 MB / 382.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.007148/0.4349, allocations: 4.422 MB / 0.5593 GB, free: 12.39 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.755e-05/0.435, allocations: 46.75 kB / 0.5593 GB, free: 12.35 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000104/0.4351, allocations: 76 kB / 0.5594 GB, free: 12.27 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00012/0.4352, allocations: 100 kB / 0.5595 GB, free: 12.18 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002631/0.4379, allocations: 0.8422 MB / 0.5603 GB, free: 11.33 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001349/0.438, allocations: 147.4 kB / 0.5604 GB, free: 11.19 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.4404, allocations: 184.3 kB / 0.5606 GB, free: 11.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000307/0.4407, allocations: 228 kB / 0.5608 GB, free: 10.79 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],springDamper.colorConnector_b[3],springDamper.colorConnector_b[2],springDamper.colorConnector_b[1],springDamper.colorConnector_a[3],springDamper.colorConnector_a[2],springDamper.colorConnector_a[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (459): * Single equations (assignments): 454 * Array equations: 5 * 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.002197/0.4429, allocations: 1.573 MB / 0.5624 GB, free: 9.207 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003501/0.4433, allocations: 209.2 kB / 0.5626 GB, free: 9 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002449/0.4457, allocations: 1.406 MB / 0.5639 GB, free: 7.582 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.146e-05/0.4457, allocations: 3.984 kB / 0.564 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.907e-06/0.4457, allocations: 0 / 0.564 GB, free: 7.578 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004636/0.4462, allocations: 282.4 kB / 0.5642 GB, free: 7.281 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003126/0.4465, allocations: 19.98 kB / 0.5642 GB, free: 7.262 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007662/0.4473, allocations: 47.78 kB / 0.5643 GB, free: 7.219 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.4474, allocations: 52.92 kB / 0.5643 GB, free: 7.168 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002308/0.4497, allocations: 1.335 MB / 0.5656 GB, free: 5.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003256/0.453, allocations: 2.302 MB / 0.5679 GB, free: 3.52 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008207/0.4538, allocations: 0.5701 MB / 0.5684 GB, free: 2.953 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002741/0.4566, allocations: 1.655 MB / 0.5701 GB, free: 1.281 MB / 398.1 MB Notification: Performance of Backend: time 2.21e-07/0.4566, allocations: 0 / 0.5701 GB, free: 1.281 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.00469/0.4613, allocations: 2.275 MB / 0.5723 GB, free: 15.05 MB / 414.1 MB Notification: Performance of SimCode: time 0.0112/0.4725, allocations: 6.624 MB / 0.5788 GB, free: 8.41 MB / 414.1 MB Notification: Performance of Templates: time 0.05506/0.5276, allocations: 31.34 MB / 0.6094 GB, free: 9.211 MB / 446.1 MB make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.makefile (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe 2>&1)