Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.Pendulum.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.001529/0.001529, allocations: 106.5 kB / 16.4 MB, free: 6.512 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.001341/0.001341, allocations: 198.7 kB / 19.35 MB, free: 3.727 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.617/1.617, allocations: 222.9 MB / 245 MB, free: 15 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.04758/0.04758, allocations: 9.128 MB / 306.3 MB, free: 3.754 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.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") translateModel(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00241/0.002411, allocations: 63.89 kB / 423.4 MB, free: 20.02 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1183, allocations: 51.43 MB / 474.8 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.009232/0.1276, allocations: 7.008 MB / 481.8 MB, free: 9.512 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005265/0.1329, allocations: 2.359 MB / 484.2 MB, free: 7.145 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001121/0.134, allocations: 27.94 kB / 484.2 MB, free: 7.117 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001111/0.1352, allocations: 310.1 kB / 484.5 MB, free: 6.812 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003718/0.1389, allocations: 1.265 MB / 485.7 MB, free: 5.543 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004666/0.1394, allocations: 79.84 kB / 485.8 MB, free: 5.465 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003372/0.1428, allocations: 2.17 MB / 488 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001389/0.1442, allocations: 0.7075 MB / 488.7 MB, free: 2.57 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00148/0.1457, allocations: 0.7509 MB / 489.5 MB, free: 1.816 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002084/0.1478, allocations: 1.129 MB / 490.6 MB, free: 0.6836 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009738/0.1488, allocations: 200 kB / 490.8 MB, free: 500 kB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00255/0.1514, allocations: 0.7996 MB / 491.6 MB, free: 15.69 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001423/0.1528, allocations: 1.067 MB / 492.6 MB, free: 14.62 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00152/0.1544, allocations: 1.355 MB / 494 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005822/0.1602, allocations: 4.502 MB / 498.5 MB, free: 8.734 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.556e-06/0.1602, allocations: 4 kB / 498.5 MB, free: 8.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.1602, allocations: 0 / 498.5 MB, free: 8.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001098/0.1604, allocations: 0 / 498.5 MB, free: 8.73 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: 1017 * Number of variables: 1017 Notification: Performance of Generate backend data structure: time 0.008227/0.1686, allocations: 3.429 MB / 0.4902 GB, free: 5.238 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/0.1687, allocations: 16.02 kB / 0.4902 GB, free: 5.223 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006901/0.1756, allocations: 1.731 MB / 0.4919 GB, free: 3.488 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/0.1785, allocations: 1.202 MB / 0.493 GB, free: 2.242 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001211/0.1786, allocations: 123.3 kB / 0.4932 GB, free: 2.121 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003417/0.179, allocations: 152.2 kB / 0.4933 GB, free: 1.973 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01219/0.1912, allocations: 7.216 MB / 0.5004 GB, free: 10.47 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.404e-05/0.1912, allocations: 15.83 kB / 0.5004 GB, free: 10.45 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/0.1915, allocations: 79.88 kB / 0.5005 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00294/0.1944, allocations: 1.734 MB / 0.5021 GB, free: 8.637 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01305/0.2075, allocations: 6.584 MB / 0.5086 GB, free: 2.039 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2946/0.5022, allocations: 21.15 MB / 0.5292 GB, free: 28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003918/0.5061, allocations: 2.032 MB / 0.5312 GB, free: 26.96 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001048/0.5072, allocations: 0.6726 MB / 0.5319 GB, free: 26.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005018/0.5122, allocations: 3.277 MB / 0.5351 GB, free: 24.58 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.834e-05/0.5123, allocations: 46.62 kB / 0.5351 GB, free: 24.53 MB / 382.1 MB Notification: Performance of pre-optimization done (n=106): time 3.497e-06/0.5123, allocations: 0.75 kB / 0.5351 GB, free: 24.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=120): time 0.01133/0.5237, allocations: 5.571 MB / 0.5406 GB, free: 21.88 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.5237, allocations: 68.25 kB / 0.5406 GB, free: 21.81 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003044/0.5268, allocations: 2.269 MB / 0.5428 GB, free: 20.6 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 6.589e-05/0.5269, allocations: 45.48 kB / 0.5429 GB, free: 20.55 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007942/0.5277, allocations: 1.907 MB / 0.5447 GB, free: 18.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/0.528, allocations: 477.6 kB / 0.5452 GB, free: 18.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007118/0.5287, allocations: 0.6672 MB / 0.5458 GB, free: 18.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.773e-05/0.5288, allocations: 306.1 kB / 0.5461 GB, free: 17.83 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001412/0.5302, allocations: 1.1 MB / 0.5472 GB, free: 17.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002263/0.5324, allocations: 2.967 MB / 0.5501 GB, free: 14.15 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004303/0.5368, allocations: 4.372 MB / 0.5544 GB, free: 9.531 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-05/0.5368, allocations: 24 kB / 0.5544 GB, free: 9.508 MB / 382.1 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.0063/0.5431, allocations: 4.146 MB / 0.5585 GB, free: 5.367 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.767e-05/0.5432, allocations: 40.06 kB / 0.5585 GB, free: 5.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.271e-05/0.5433, allocations: 64.94 kB / 0.5586 GB, free: 5.266 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004781/0.5438, allocations: 206.3 kB / 0.5588 GB, free: 5.062 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00193/0.5457, allocations: 0.7252 MB / 0.5595 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.5481, allocations: 2.703 MB / 0.5621 GB, free: 1.492 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00262/0.5507, allocations: 159.9 kB / 0.5623 GB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002934/0.551, allocations: 207.8 kB / 0.5625 GB, free: 1.137 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 9 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (395): * Single equations (assignments): 390 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002374/0.5534, allocations: 1.418 MB / 0.5638 GB, free: 15.71 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005148/0.5539, allocations: 197.6 kB / 0.564 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003112/0.5571, allocations: 1.627 MB / 0.5656 GB, free: 13.88 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001094/0.5572, allocations: 23.98 kB / 0.5656 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.5572, allocations: 0 / 0.5656 GB, free: 13.85 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.426e-05/0.5572, allocations: 7.922 kB / 0.5656 GB, free: 13.84 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009254/0.5665, allocations: 4.862 MB / 0.5704 GB, free: 8.883 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.037e-05/0.5665, allocations: 11.97 kB / 0.5704 GB, free: 8.871 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006577/0.5672, allocations: 163.7 kB / 0.5706 GB, free: 8.711 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003558/0.5676, allocations: 112.8 kB / 0.5707 GB, free: 8.598 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.914e-05/0.5677, allocations: 23.98 kB / 0.5707 GB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002405/0.5701, allocations: 2.158 MB / 0.5728 GB, free: 6.289 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.358e-06/0.5701, allocations: 4.062 kB / 0.5728 GB, free: 6.285 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004029/0.5741, allocations: 2.565 MB / 0.5753 GB, free: 3.668 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007412/0.5749, allocations: 271.9 kB / 0.5756 GB, free: 3.383 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002181/0.5751, allocations: 24 kB / 0.5756 GB, free: 3.359 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000646/0.5758, allocations: 55.98 kB / 0.5756 GB, free: 3.305 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.5759, allocations: 72.8 kB / 0.5757 GB, free: 3.23 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.415e-05/0.576, allocations: 32 kB / 0.5757 GB, free: 3.199 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002482/0.5785, allocations: 1.476 MB / 0.5772 GB, free: 1.699 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.5785, allocations: 4 kB / 0.5772 GB, free: 1.695 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002863/0.5814, allocations: 0.5659 MB / 0.5777 GB, free: 1.133 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute.phi,revolute.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 (88): * Single equations (assignments): 83 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003709/0.5818, allocations: 149.5 kB / 0.5779 GB, free: 0.9805 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.004981/0.5868, allocations: 2.653 MB / 0.5805 GB, free: 14.34 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/0.5868, allocations: 4 kB / 0.5805 GB, free: 14.33 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001255/0.5881, allocations: 0.8203 MB / 0.5813 GB, free: 13.5 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002149/0.5902, allocations: 339.9 kB / 0.5816 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01144/0.6017, allocations: 5.589 MB / 0.5871 GB, free: 7.531 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002825/0.6045, allocations: 2.36 MB / 0.5894 GB, free: 5.148 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002485/0.607, allocations: 1.033 MB / 0.5904 GB, free: 4.117 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003603/0.6074, allocations: 139.4 kB / 0.5905 GB, free: 3.98 MB / 414.1 MB Notification: Performance of SimCode: time 1.322e-06/0.6074, allocations: 0 / 0.5905 GB, free: 3.98 MB / 414.1 MB Notification: Performance of Templates: time 0.04528/0.6527, allocations: 20.96 MB / 0.611 GB, free: 15.15 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.Pendulum.sim & ./PlanarMechanics_PlanarMechanics.Examples.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.992778553627431]