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.0009177/0.0009177, allocations: 92.22 kB / 19.65 MB, free: 276 kB / 13.93 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.0009947/0.0009947, allocations: 173 kB / 23.03 MB, free: 1.543 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.917/0.917, allocations: 177.1 MB / 203.4 MB, free: 5.629 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.02821/0.02821, allocations: 7.178 MB / 267.1 MB, free: 6.047 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.733e-06/1.733e-06, allocations: 0 / 338.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.567e-05/2.74e-05, allocations: 2.312 kB / 338.9 MB, free: 10.2 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.009146/0.009174, allocations: 8.357 MB / 347.2 MB, free: 1.793 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003491/0.01266, allocations: 2.62 MB / 349.8 MB, free: 15.16 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004985/0.01316, allocations: 35.88 kB / 349.9 MB, free: 15.13 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006775/0.01384, allocations: 389.3 kB / 350.3 MB, free: 14.75 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.01579, allocations: 1.485 MB / 351.7 MB, free: 13.25 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.01605, allocations: 159.6 kB / 351.9 MB, free: 13.1 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.002013/0.01807, allocations: 2.599 MB / 354.5 MB, free: 10.49 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008137/0.01888, allocations: 0.8748 MB / 355.4 MB, free: 9.586 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.02005, allocations: 1.426 MB / 356.8 MB, free: 8.156 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.02115, allocations: 1.34 MB / 358.1 MB, free: 6.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002435/0.0214, allocations: 240 kB / 358.4 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008985/0.02229, allocations: 0.8385 MB / 359.2 MB, free: 5.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006933/0.02299, allocations: 1.297 MB / 360.5 MB, free: 4.438 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006547/0.02364, allocations: 0.8409 MB / 361.4 MB, free: 3.594 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002639/0.02628, allocations: 3.35 MB / 364.7 MB, free: 236 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.02629, allocations: 0 / 364.7 MB, free: 236 kB / 282.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.02629, allocations: 0 / 364.7 MB, free: 236 kB / 282.7 MB Notification: Performance of Transformations before backend: time 5.501e-05/0.02634, allocations: 0 / 364.7 MB, free: 236 kB / 282.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.006263/0.03261, allocations: 4.624 MB / 369.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.03265, allocations: 8.625 kB / 369.3 MB, free: 11.54 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00392/0.03657, allocations: 2.222 MB / 371.6 MB, free: 9.312 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001394/0.03797, allocations: 1.316 MB / 372.9 MB, free: 7.965 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.143e-05/0.03805, allocations: 156.1 kB / 373 MB, free: 7.812 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002418/0.03829, allocations: 196.2 kB / 373.2 MB, free: 7.621 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004505/0.0428, allocations: 4.107 MB / 377.3 MB, free: 3.031 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.059e-05/0.04284, allocations: 20.06 kB / 377.3 MB, free: 3.012 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001837/0.04302, allocations: 99.8 kB / 377.4 MB, free: 2.914 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001643/0.04466, allocations: 1.919 MB / 379.4 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004318/0.04898, allocations: 2.43 MB / 381.8 MB, free: 14.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01665/0.06563, allocations: 25.43 MB / 407.2 MB, free: 4.461 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002412/0.06804, allocations: 1.09 MB / 408.3 MB, free: 3.363 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004436/0.06848, allocations: 319.7 kB / 408.6 MB, free: 3.051 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00258/0.07106, allocations: 2.33 MB / 411 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.065e-05/0.07109, allocations: 50.27 kB / 411 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of pre-optimization done (n=135): time 3.196e-06/0.0711, allocations: 0 / 411 MB, free: 0.6367 MB / 330.7 MB Notification: Performance of matching and sorting (n=149): time 0.124/0.1951, allocations: 3.076 MB / 414.1 MB, free: 71.32 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.1951, allocations: 72.27 kB / 414.2 MB, free: 71.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001942/0.1971, allocations: 1.881 MB / 416 MB, free: 70.91 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.755e-05/0.1971, allocations: 44.58 kB / 416.1 MB, free: 70.88 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009031/0.198, allocations: 2.277 MB / 418.4 MB, free: 69.64 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003409/0.1984, allocations: 0.5914 MB / 418.9 MB, free: 69.29 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007296/0.1991, allocations: 0.8144 MB / 419.8 MB, free: 69.2 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.856e-05/0.1992, allocations: 0.5195 MB / 420.3 MB, free: 68.72 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009069/0.2001, allocations: 404.6 kB / 420.7 MB, free: 68.71 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001675/0.2018, allocations: 3.444 MB / 424.1 MB, free: 64.8 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002517/0.2043, allocations: 4.253 MB / 428.4 MB, free: 60.8 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-05/0.2043, allocations: 29.81 kB / 428.4 MB, free: 60.79 MB / 330.7 MB Notification: Performance of matching and sorting (n=492) (initialization): time 0.003437/0.2077, allocations: 3.116 MB / 431.5 MB, free: 60 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.795e-05/0.2078, allocations: 41.28 kB / 431.6 MB, free: 60 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.963e-05/0.2078, allocations: 73.22 kB / 431.6 MB, free: 60 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000386/0.2082, allocations: 201.3 kB / 431.8 MB, free: 59.97 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001267/0.2095, allocations: 0.8309 MB / 432.7 MB, free: 59.87 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.2109, allocations: 2.703 MB / 435.4 MB, free: 57.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.2121, allocations: 191.8 kB / 435.5 MB, free: 57.54 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/0.2123, allocations: 226 kB / 435.8 MB, free: 57.51 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.0007465/0.2131, allocations: 458 kB / 436.2 MB, free: 57.13 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002041/0.2133, allocations: 226.1 kB / 436.4 MB, free: 57.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.2144, allocations: 0.9587 MB / 437.4 MB, free: 56.21 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-05/0.2144, allocations: 31.8 kB / 437.4 MB, free: 56.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.2144, allocations: 3.844 kB / 437.4 MB, free: 56.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.2144, allocations: 3.938 kB / 437.4 MB, free: 56.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00432/0.2187, allocations: 3.978 MB / 441.4 MB, free: 52.64 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.733e-06/0.2187, allocations: 6.938 kB / 441.4 MB, free: 52.64 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004313/0.2192, allocations: 223 kB / 441.6 MB, free: 52.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002093/0.2194, allocations: 94.98 kB / 441.7 MB, free: 52.39 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.345e-05/0.2194, allocations: 28 kB / 441.8 MB, free: 52.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001126/0.2206, allocations: 2.414 MB / 444.2 MB, free: 49.93 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.2206, allocations: 7.938 kB / 444.2 MB, free: 49.92 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.2221, allocations: 1.517 MB / 445.7 MB, free: 48.42 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002311/0.2224, allocations: 182.1 kB / 445.9 MB, free: 48.25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001277/0.2225, allocations: 29.64 kB / 445.9 MB, free: 48.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003528/0.2228, allocations: 65.56 kB / 446 MB, free: 48.18 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001284/0.223, allocations: 105.5 kB / 446.1 MB, free: 48.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.979e-05/0.223, allocations: 50.34 kB / 446.1 MB, free: 48.07 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007303/0.2238, allocations: 0.8383 MB / 447 MB, free: 47.38 MB / 330.7 MB Notification: Performance of sort global known variables: time 2.1e-07/0.2238, allocations: 0 / 447 MB, free: 47.38 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002054/0.2258, allocations: 0.6406 MB / 447.6 MB, free: 46.74 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.0003229/0.2261, allocations: 161 kB / 447.8 MB, free: 46.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002493/0.2286, allocations: 1.891 MB / 449.6 MB, free: 44.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2286, allocations: 0 / 449.6 MB, free: 44.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005199/0.2292, allocations: 0.6009 MB / 450.2 MB, free: 44.36 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008075/0.23, allocations: 295.7 kB / 450.5 MB, free: 44.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006427/0.2364, allocations: 5.466 MB / 456 MB, free: 38.74 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006262/0.237, allocations: 0.9169 MB / 456.9 MB, free: 37.8 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001194/0.2382, allocations: 0.9449 MB / 457.9 MB, free: 36.86 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002548/0.2385, allocations: 152.5 kB / 458 MB, free: 36.71 MB / 330.7 MB Notification: Performance of SimCode: time 1.844e-06/0.2385, allocations: 4 kB / 458 MB, free: 36.71 MB / 330.7 MB Notification: Performance of Templates: time 0.02533/0.2638, allocations: 20.52 MB / 478.5 MB, free: 16.5 MB / 330.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.0964153204113245]