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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009629/0.0009629, allocations: 181 kB / 23.36 MB, free: 1.133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9494/0.9494, allocations: 177.1 MB / 203.8 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.05305/0.05305, allocations: 7.188 MB / 267.4 MB, free: 5.941 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.162e-06/1.162e-06, allocations: 0 / 286 MB, free: 3.352 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.671e-05/1.787e-05, allocations: 2.312 kB / 286 MB, free: 3.348 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.1198/0.1198, allocations: 8.197 MB / 294.2 MB, free: 17.46 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.004317/0.1241, allocations: 2.713 MB / 296.9 MB, free: 15.92 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006277/0.1248, allocations: 38.31 kB / 297 MB, free: 15.91 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000647/0.1254, allocations: 387 kB / 297.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002188/0.1276, allocations: 1.501 MB / 298.9 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.1279, allocations: 149.3 kB / 299 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.002273/0.1302, allocations: 2.616 MB / 301.6 MB, free: 13.75 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009998/0.1312, allocations: 0.8825 MB / 302.5 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001634/0.1328, allocations: 1.43 MB / 303.9 MB, free: 12.26 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001452/0.1342, allocations: 1.291 MB / 305.2 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000483/0.1347, allocations: 241.3 kB / 305.5 MB, free: 11.5 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001088/0.1358, allocations: 0.8162 MB / 306.3 MB, free: 11.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006052/0.1364, allocations: 1.289 MB / 307.6 MB, free: 10.43 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007619/0.1372, allocations: 0.8456 MB / 308.4 MB, free: 9.68 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002379/0.1396, allocations: 3.357 MB / 311.8 MB, free: 6.312 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1396, allocations: 3.938 kB / 311.8 MB, free: 6.309 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1396, allocations: 0 / 311.8 MB, free: 6.309 MB / 266.7 MB Notification: Performance of Transformations before backend: time 9.068e-05/0.1397, allocations: 0 / 311.8 MB, free: 6.309 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1189 * Number of variables: 1189 Notification: Performance of Generate backend data structure: time 0.003675/0.1433, allocations: 3.587 MB / 315.4 MB, free: 2.688 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.1434, allocations: 12.62 kB / 315.4 MB, free: 2.676 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002419/0.1458, allocations: 1.019 MB / 316.4 MB, free: 1.656 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.1468, allocations: 1.021 MB / 317.4 MB, free: 0.6055 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.97e-05/0.1469, allocations: 156.1 kB / 317.6 MB, free: 464 kB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002084/0.1471, allocations: 193.8 kB / 317.8 MB, free: 272 kB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003552/0.1506, allocations: 3.473 MB / 321.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.303e-05/0.1507, allocations: 20 kB / 321.2 MB, free: 12.41 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001797/0.1508, allocations: 95.8 kB / 321.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001527/0.1524, allocations: 1.724 MB / 323.1 MB, free: 10.59 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003192/0.1556, allocations: 2.001 MB / 325.1 MB, free: 8.574 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01505/0.1706, allocations: 18.41 MB / 343.5 MB, free: 5.66 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002091/0.1727, allocations: 1.035 MB / 344.5 MB, free: 4.613 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002971/0.173, allocations: 239.8 kB / 344.7 MB, free: 4.375 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002525/0.1755, allocations: 2.072 MB / 346.8 MB, free: 2.277 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.987e-05/0.1756, allocations: 43.56 kB / 346.9 MB, free: 2.227 MB / 298.7 MB Notification: Performance of pre-optimization done (n=135): time 4.699e-06/0.1756, allocations: 1.641 kB / 346.9 MB, free: 2.227 MB / 298.7 MB Notification: Performance of matching and sorting (n=149): time 0.005042/0.1806, allocations: 2.353 MB / 349.2 MB, free: 15.88 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.1806, allocations: 68.34 kB / 349.3 MB, free: 15.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001338/0.182, allocations: 1.538 MB / 350.8 MB, free: 14.25 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.517e-05/0.182, allocations: 45.7 kB / 350.9 MB, free: 14.2 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001026/0.1831, allocations: 2.115 MB / 353 MB, free: 12.06 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003635/0.1834, allocations: 0.5618 MB / 353.5 MB, free: 11.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000781/0.1842, allocations: 0.7192 MB / 354.3 MB, free: 10.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001152/0.1843, allocations: 349.8 kB / 354.6 MB, free: 10.42 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006867/0.185, allocations: 396.7 kB / 355 MB, free: 10.03 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001678/0.1867, allocations: 2.374 MB / 357.4 MB, free: 6.641 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002943/0.1896, allocations: 3.278 MB / 360.6 MB, free: 2.328 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.972e-05/0.1897, allocations: 24 kB / 360.7 MB, free: 2.305 MB / 314.7 MB Notification: Performance of matching and sorting (n=492) (initialization): time 0.003589/0.1933, allocations: 2.492 MB / 363.2 MB, free: 15.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.922e-05/0.1933, allocations: 37 kB / 363.2 MB, free: 15.74 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.276e-05/0.1934, allocations: 72 kB / 363.3 MB, free: 15.67 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004387/0.1938, allocations: 195.5 kB / 363.5 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/0.1957, allocations: 0.7993 MB / 364.3 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.1974, allocations: 2.033 MB / 366.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001557/0.199, allocations: 147.9 kB / 366.4 MB, free: 12.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002372/0.1992, allocations: 204.1 kB / 366.6 MB, free: 12.2 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 330 * 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 (454): * Single equations (assignments): 449 * 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.0008723/0.2001, allocations: 405.4 kB / 367 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002163/0.2003, allocations: 135.9 kB / 367.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00119/0.2015, allocations: 0.734 MB / 367.9 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.291e-05/0.2016, allocations: 27.98 kB / 367.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.2016, allocations: 0 / 367.9 MB, free: 10.88 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.171e-05/0.2016, allocations: 3.984 kB / 367.9 MB, free: 10.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004422/0.206, allocations: 2.751 MB / 370.7 MB, free: 8.004 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.206, allocations: 4 kB / 370.7 MB, free: 8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005743/0.2066, allocations: 183.7 kB / 370.9 MB, free: 7.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003523/0.207, allocations: 170.1 kB / 371 MB, free: 7.648 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.455e-05/0.207, allocations: 27.98 kB / 371.1 MB, free: 7.621 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.2084, allocations: 1.775 MB / 372.8 MB, free: 5.758 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.2084, allocations: 8.047 kB / 372.8 MB, free: 5.75 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001551/0.2099, allocations: 1.168 MB / 374 MB, free: 4.477 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000226/0.2101, allocations: 162.8 kB / 374.2 MB, free: 4.316 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001694/0.2103, allocations: 28 kB / 374.2 MB, free: 4.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004393/0.2107, allocations: 31.98 kB / 374.2 MB, free: 4.258 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.2109, allocations: 100.7 kB / 374.3 MB, free: 4.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.197e-05/0.211, allocations: 36 kB / 374.4 MB, free: 4.125 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0006566/0.2116, allocations: 0.5948 MB / 374.9 MB, free: 3.535 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2116, allocations: 0 / 374.9 MB, free: 3.535 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002407/0.214, allocations: 0.6522 MB / 375.6 MB, free: 2.883 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (114): * Single equations (assignments): 109 * 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.000261/0.2143, allocations: 144 kB / 375.7 MB, free: 2.73 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002182/0.2165, allocations: 1.613 MB / 377.4 MB, free: 1.117 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 0.000107/0.2166, allocations: 47.94 kB / 377.4 MB, free: 1.062 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005729/0.2172, allocations: 480.8 kB / 377.9 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009899/0.2182, allocations: 306.3 kB / 378.2 MB, free: 308 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007707/0.2259, allocations: 5.553 MB / 383.7 MB, free: 10.62 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009653/0.2268, allocations: 0.9052 MB / 384.6 MB, free: 9.688 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0009298/0.2278, allocations: 289.2 kB / 384.9 MB, free: 9.41 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006261/0.2284, allocations: 357.2 kB / 385.3 MB, free: 9.062 MB / 346.7 MB Notification: Performance of SimCode: time 1.253e-06/0.2284, allocations: 3.938 kB / 385.3 MB, free: 9.059 MB / 346.7 MB Notification: Performance of Templates: time 0.03232/0.2607, allocations: 21.06 MB / 406.3 MB, free: 4.312 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.043484615162015]