Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.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.001958/0.001958, allocations: 107.4 kB / 16.4 MB, free: 6.5 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.002472/0.002472, allocations: 198.7 kB / 19.35 MB, free: 3.73 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.553/1.553, 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.0482/0.0482, allocations: 9.135 MB / 306.3 MB, free: 3.738 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.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") translateModel(PlanarMechanics.Examples.PendulumExcited,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PendulumExcited") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001936/0.001936, allocations: 67.89 kB / 423.4 MB, free: 20.11 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1253, allocations: 51.43 MB / 474.8 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.01102/0.1364, allocations: 8.515 MB / 483.3 MB, free: 8.086 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006685/0.1431, allocations: 2.597 MB / 485.9 MB, free: 5.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001481/0.1446, allocations: 35.88 kB / 485.9 MB, free: 5.445 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.1457, allocations: 373.6 kB / 486.3 MB, free: 5.078 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003761/0.1495, allocations: 1.381 MB / 487.7 MB, free: 3.691 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004531/0.15, allocations: 143.8 kB / 487.8 MB, free: 3.551 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.003454/0.1534, allocations: 2.536 MB / 490.4 MB, free: 1.008 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001514/0.155, allocations: 1.003 MB / 491.4 MB, free: 15.98 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.1564, allocations: 0.9144 MB / 492.3 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001805/0.1583, allocations: 1.323 MB / 493.6 MB, free: 13.73 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004252/0.1587, allocations: 236 kB / 493.8 MB, free: 13.5 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001533/0.1602, allocations: 0.8425 MB / 494.7 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001195/0.1614, allocations: 1.219 MB / 495.9 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001589/0.163, allocations: 1.588 MB / 497.5 MB, free: 9.836 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006289/0.1693, allocations: 5.085 MB / 0.4908 GB, free: 4.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.1694, allocations: 0 / 0.4908 GB, free: 4.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1694, allocations: 0 / 0.4908 GB, free: 4.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001453/0.1695, allocations: 0 / 0.4908 GB, free: 4.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: 1181 * Number of variables: 1181 Notification: Performance of Generate backend data structure: time 0.01032/0.1799, allocations: 4.375 MB / 0.4951 GB, free: 292 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.1799, allocations: 8.031 kB / 0.4951 GB, free: 284 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006897/0.1868, allocations: 1.781 MB / 0.4968 GB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003545/0.1904, allocations: 1.355 MB / 0.4981 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002432/0.1907, allocations: 148 kB / 0.4983 GB, free: 12.95 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001269/0.192, allocations: 196.2 kB / 0.4985 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0175/0.2095, allocations: 8.192 MB / 0.5065 GB, free: 4.199 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001252/0.2097, allocations: 23.86 kB / 0.5065 GB, free: 4.176 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008377/0.2105, allocations: 91.88 kB / 0.5066 GB, free: 4.086 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003479/0.214, allocations: 1.919 MB / 0.5084 GB, free: 2.164 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3135/0.5275, allocations: 7.425 MB / 0.5157 GB, free: 38.47 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04224/0.5698, allocations: 24.85 MB / 0.54 GB, free: 22.27 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005101/0.5749, allocations: 2.41 MB / 0.5423 GB, free: 20.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001354/0.5763, allocations: 0.8611 MB / 0.5432 GB, free: 20.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006304/0.5827, allocations: 4.452 MB / 0.5475 GB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.019e-05/0.5827, allocations: 43.34 kB / 0.5475 GB, free: 16.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=130): time 4.108e-06/0.5827, allocations: 0 / 0.5475 GB, free: 16.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=144): time 0.01001/0.5928, allocations: 4.697 MB / 0.5521 GB, free: 12.98 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.704e-05/0.5928, allocations: 72.34 kB / 0.5522 GB, free: 12.89 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004034/0.5969, allocations: 2.496 MB / 0.5546 GB, free: 10.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 8.213e-05/0.597, allocations: 45.7 kB / 0.5547 GB, free: 10.31 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.5981, allocations: 2.152 MB / 0.5568 GB, free: 8.164 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000414/0.5985, allocations: 0.5611 MB / 0.5573 GB, free: 7.609 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001007/0.5995, allocations: 0.7467 MB / 0.5581 GB, free: 6.855 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.406e-05/0.5996, allocations: 301.1 kB / 0.5584 GB, free: 6.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001825/0.6014, allocations: 1.241 MB / 0.5596 GB, free: 5.316 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002599/0.604, allocations: 3.299 MB / 0.5628 GB, free: 1.012 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00673/0.6108, allocations: 4.891 MB / 0.5676 GB, free: 11.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.217e-05/0.6109, allocations: 24 kB / 0.5676 GB, free: 11.09 MB / 398.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.009608/0.6205, allocations: 4.638 MB / 0.5721 GB, free: 6.449 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.956e-05/0.6206, allocations: 39.94 kB / 0.5722 GB, free: 6.41 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001547/0.6207, allocations: 72 kB / 0.5722 GB, free: 6.34 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007157/0.6215, allocations: 230 kB / 0.5724 GB, free: 6.113 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002938/0.6244, allocations: 0.8265 MB / 0.5732 GB, free: 5.285 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004139/0.6286, allocations: 2.866 MB / 0.576 GB, free: 2.285 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003301/0.6319, allocations: 191.7 kB / 0.5762 GB, free: 2.102 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006978/0.6326, allocations: 216 kB / 0.5764 GB, free: 1.891 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 329 * Number of states: 0 () * Number of discrete variables: 21 (worldForce.arrowTorque.twoHeadedArrow,worldForce.arrowTorque.headAtOrigin,worldForce.arrowForce.twoHeadedArrow,worldForce.arrowForce.headAtOrigin,cutForce.arrowForce.twoHeadedArrow,cutForce.arrowForce.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.color[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],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 (445): * Single equations (assignments): 440 * 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,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00443/0.6371, allocations: 1.576 MB / 0.578 GB, free: 308 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008032/0.6379, allocations: 226.4 kB / 0.5782 GB, free: 80 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004804/0.6427, allocations: 1.933 MB / 0.5801 GB, free: 14.13 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001091/0.6428, allocations: 27.98 kB / 0.5801 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.34e-05/0.6428, allocations: 4 kB / 0.5801 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.067e-05/0.6429, allocations: 7.969 kB / 0.5801 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01329/0.6562, allocations: 5.825 MB / 0.5858 GB, free: 8.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.6562, allocations: 4 kB / 0.5858 GB, free: 8.156 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009276/0.6571, allocations: 211.7 kB / 0.586 GB, free: 7.949 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004484/0.6576, allocations: 132.8 kB / 0.5861 GB, free: 7.816 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001158/0.6577, allocations: 31.98 kB / 0.5862 GB, free: 7.785 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003075/0.6608, allocations: 2.521 MB / 0.5886 GB, free: 5.129 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.327e-06/0.6608, allocations: 7.938 kB / 0.5886 GB, free: 5.121 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005459/0.6663, allocations: 3.074 MB / 0.5916 GB, free: 1.988 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000817/0.6671, allocations: 299.6 kB / 0.5919 GB, free: 1.676 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005345/0.6677, allocations: 20 kB / 0.5919 GB, free: 1.656 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.6689, allocations: 75.91 kB / 0.592 GB, free: 1.582 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002546/0.6692, allocations: 88.75 kB / 0.5921 GB, free: 1.496 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001247/0.6693, allocations: 41.12 kB / 0.5921 GB, free: 1.457 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003558/0.6729, allocations: 1.608 MB / 0.5937 GB, free: 15.83 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.6729, allocations: 0 / 0.5937 GB, free: 15.83 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.00395/0.6768, allocations: 0.6561 MB / 0.5944 GB, free: 15.18 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * 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 (109): * Single equations (assignments): 104 * 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,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0005426/0.6774, allocations: 150.9 kB / 0.5945 GB, free: 15.02 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.006359/0.6838, allocations: 3.042 MB / 0.5975 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.6838, allocations: 448 / 0.5975 GB, free: 11.98 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001839/0.6857, allocations: 1.015 MB / 0.5985 GB, free: 10.96 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002797/0.6885, allocations: 417.4 kB / 0.5989 GB, free: 10.57 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01484/0.7033, allocations: 6.413 MB / 0.6051 GB, free: 4.09 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005956/0.7093, allocations: 2.59 MB / 0.6076 GB, free: 1.465 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.003586/0.7129, allocations: 1.136 MB / 0.6088 GB, free: 332 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007147/0.7137, allocations: 167.4 kB / 0.6089 GB, free: 164 kB / 430.1 MB Notification: Performance of SimCode: time 1.052e-06/0.7137, allocations: 0 / 0.6089 GB, free: 164 kB / 430.1 MB Notification: Performance of Templates: time 0.05826/0.772, allocations: 24.09 MB / 0.6324 GB, free: 8.207 MB / 462.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.sim & ./PlanarMechanics_PlanarMechanics.Examples.PendulumExcited -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.071844234131277]