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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001925/0.001925, allocations: 108 kB / 16.41 MB, free: 6.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 194.8 kB / 19.36 MB, free: 3.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.0566/0.0566, allocations: 9.123 MB / 306.3 MB, free: 3.785 MB / 238.1 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/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=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") translateModel(PlanarMechanics.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001895/0.001895, allocations: 67.88 kB / 423.4 MB, free: 20.06 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1188, allocations: 51.44 MB / 474.8 MB, free: 0.5859 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.0105/0.1293, allocations: 8.19 MB / 483 MB, free: 8.355 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00638/0.1358, allocations: 2.514 MB / 485.5 MB, free: 5.824 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001574/0.1374, allocations: 35.94 kB / 485.5 MB, free: 5.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.1385, allocations: 349.7 kB / 485.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004146/0.1428, allocations: 1.326 MB / 487.2 MB, free: 4.117 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.1433, allocations: 115.7 kB / 487.3 MB, free: 4.004 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003936/0.1473, allocations: 2.434 MB / 489.7 MB, free: 1.562 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001357/0.1487, allocations: 0.8094 MB / 490.6 MB, free: 0.7305 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.1501, allocations: 0.8482 MB / 491.4 MB, free: 15.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001787/0.1519, allocations: 1.265 MB / 492.7 MB, free: 14.61 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004616/0.1524, allocations: 224 kB / 492.9 MB, free: 14.39 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001668/0.1541, allocations: 0.8075 MB / 493.7 MB, free: 13.58 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001249/0.1554, allocations: 1.212 MB / 494.9 MB, free: 12.37 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00166/0.157, allocations: 1.538 MB / 496.4 MB, free: 10.82 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006595/0.1636, allocations: 4.984 MB / 0.4897 GB, free: 5.816 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.784e-06/0.1637, allocations: 3.984 kB / 0.4897 GB, free: 5.812 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.726e-06/0.1637, allocations: 0 / 0.4897 GB, free: 5.812 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001389/0.1638, allocations: 0 / 0.4897 GB, free: 5.812 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.007573/0.1714, allocations: 3.345 MB / 0.4929 GB, free: 2.398 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.1715, allocations: 8.031 kB / 0.4929 GB, free: 2.391 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007123/0.1786, allocations: 1.789 MB / 0.4947 GB, free: 0.5977 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003134/0.1818, allocations: 1.298 MB / 0.496 GB, free: 15.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001513/0.182, allocations: 143.8 kB / 0.4961 GB, free: 15.11 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004245/0.1824, allocations: 188.2 kB / 0.4963 GB, free: 14.93 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01432/0.1967, allocations: 8.061 MB / 0.5042 GB, free: 6.508 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001096/0.1969, allocations: 27.78 kB / 0.5042 GB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006889/0.1976, allocations: 87.86 kB / 0.5043 GB, free: 6.395 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003975/0.2016, allocations: 2 MB / 0.5062 GB, free: 4.391 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2987/0.5003, allocations: 7.129 MB / 0.5132 GB, free: 38.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04006/0.5404, allocations: 24.13 MB / 0.5367 GB, free: 23.25 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006311/0.5467, allocations: 2.155 MB / 0.5388 GB, free: 21.87 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001721/0.5485, allocations: 0.7224 MB / 0.5396 GB, free: 21.51 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007701/0.5562, allocations: 3.992 MB / 0.5434 GB, free: 18.25 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.761e-05/0.5563, allocations: 47.17 kB / 0.5435 GB, free: 18.2 MB / 382.1 MB Notification: Performance of pre-optimization done (n=114): time 5.039e-06/0.5564, allocations: 0 / 0.5435 GB, free: 18.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=117): time 0.01378/0.5701, allocations: 4.431 MB / 0.5478 GB, free: 15.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.816e-05/0.5702, allocations: 63.53 kB / 0.5479 GB, free: 15.86 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005328/0.5756, allocations: 2.583 MB / 0.5504 GB, free: 14.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001479/0.5758, allocations: 37.42 kB / 0.5504 GB, free: 14.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00151/0.5773, allocations: 2.199 MB / 0.5526 GB, free: 12.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005344/0.5778, allocations: 488.5 kB / 0.5531 GB, free: 12.03 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001502/0.5793, allocations: 0.7622 MB / 0.5538 GB, free: 11.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.806e-05/0.5794, allocations: 305.1 kB / 0.5541 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002419/0.5818, allocations: 1.163 MB / 0.5552 GB, free: 9.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003397/0.5853, allocations: 3.321 MB / 0.5585 GB, free: 5.418 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006208/0.5915, allocations: 4.777 MB / 0.5631 GB, free: 15.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.104e-05/0.5916, allocations: 27.28 kB / 0.5632 GB, free: 15.56 MB / 398.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.01221/0.6038, allocations: 4.449 MB / 0.5675 GB, free: 11.12 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001034/0.6039, allocations: 46.44 kB / 0.5675 GB, free: 11.07 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001591/0.6041, allocations: 72 kB / 0.5676 GB, free: 11 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001688/0.6043, allocations: 104.8 kB / 0.5677 GB, free: 10.9 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003159/0.6075, allocations: 0.8422 MB / 0.5685 GB, free: 10.06 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001639/0.6076, allocations: 147.4 kB / 0.5687 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002795/0.6104, allocations: 176.9 kB / 0.5688 GB, free: 9.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004541/0.6109, allocations: 224 kB / 0.5691 GB, free: 9.523 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.002868/0.6138, allocations: 1.575 MB / 0.5706 GB, free: 7.938 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005481/0.6143, allocations: 218.5 kB / 0.5708 GB, free: 7.723 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002927/0.6173, allocations: 1.414 MB / 0.5722 GB, free: 6.297 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001347/0.6174, allocations: 27.97 kB / 0.5722 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.217e-06/0.6175, allocations: 0 / 0.5722 GB, free: 6.27 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.6175, allocations: 4.859 kB / 0.5722 GB, free: 6.266 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009825/0.6273, allocations: 4.791 MB / 0.5769 GB, free: 1.359 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.336e-05/0.6273, allocations: 4 kB / 0.5769 GB, free: 1.355 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008554/0.6282, allocations: 187.7 kB / 0.5771 GB, free: 1.172 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.889e-05/0.6282, allocations: 8 kB / 0.5771 GB, free: 1.164 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.401e-05/0.6283, allocations: 28.58 kB / 0.5771 GB, free: 1.137 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.556e-05/0.6284, allocations: 12.94 kB / 0.5771 GB, free: 1.125 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.799e-06/0.6284, allocations: 15.92 kB / 0.5771 GB, free: 1.109 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003765/0.6321, allocations: 2.372 MB / 0.5795 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006888/0.6328, allocations: 295.7 kB / 0.5797 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004034/0.6333, allocations: 31.92 kB / 0.5798 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008348/0.6341, allocations: 51.89 kB / 0.5798 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001294/0.6342, allocations: 72.45 kB / 0.5799 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.712e-05/0.6343, allocations: 51.73 kB / 0.5799 GB, free: 14.14 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.00318/0.6375, allocations: 1.655 MB / 0.5816 GB, free: 12.47 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6375, allocations: 0 / 0.5816 GB, free: 12.47 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.00344/0.641, allocations: 0.6171 MB / 0.5822 GB, free: 11.86 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.w) * 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 (93): * Single equations (assignments): 88 * 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 Backend phase and start with SimCode phase: time 0.0004674/0.6415, allocations: 163.4 kB / 0.5823 GB, free: 11.69 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.004866/0.6464, allocations: 2.629 MB / 0.5849 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.881e-06/0.6464, allocations: 0 / 0.5849 GB, free: 9.086 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001016/0.6474, allocations: 0.6359 MB / 0.5855 GB, free: 8.449 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002079/0.6495, allocations: 379.1 kB / 0.5859 GB, free: 8.09 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01232/0.6618, allocations: 6.455 MB / 0.5922 GB, free: 1.559 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003777/0.6656, allocations: 2.563 MB / 0.5947 GB, free: 14.96 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002891/0.6685, allocations: 1.113 MB / 0.5958 GB, free: 13.85 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005394/0.6691, allocations: 167.4 kB / 0.5959 GB, free: 13.68 MB / 430.1 MB Notification: Performance of SimCode: time 8.01e-07/0.6691, allocations: 0 / 0.5959 GB, free: 13.68 MB / 430.1 MB Notification: Performance of Templates: time 0.04669/0.7158, allocations: 21.83 MB / 0.6172 GB, free: 8 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.makefile [Timeout 660] (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) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.805901689454913]