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.001494/0.001494, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 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.001748/0.001748, allocations: 219.5 kB / 22.26 MB, free: 5.125 MB / 14.72 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 1.572/1.572, allocations: 230.6 MB / 256 MB, free: 7.977 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.05259/0.05259, allocations: 9.242 MB / 321.7 MB, free: 10.03 MB / 254.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/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: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002258/0.002258, allocations: 67.91 kB / 448.2 MB, free: 14.53 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1172, allocations: 55.46 MB / 0.4919 GB, free: 6.977 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.01122/0.1284, allocations: 8.597 MB / 0.5003 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005993/0.1344, allocations: 2.675 MB / 0.5029 GB, free: 11.66 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001272/0.1357, allocations: 35.88 kB / 0.5029 GB, free: 11.62 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001209/0.1369, allocations: 381.5 kB / 0.5033 GB, free: 11.25 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003976/0.1409, allocations: 1.42 MB / 0.5047 GB, free: 9.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006568/0.1415, allocations: 151.8 kB / 0.5048 GB, free: 9.672 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00424/0.1458, allocations: 2.529 MB / 0.5073 GB, free: 7.137 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001658/0.1474, allocations: 0.8235 MB / 0.5081 GB, free: 6.285 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001812/0.1493, allocations: 0.9378 MB / 0.509 GB, free: 5.344 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002704/0.152, allocations: 1.444 MB / 0.5104 GB, free: 3.895 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006972/0.1527, allocations: 240 kB / 0.5107 GB, free: 3.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.1547, allocations: 0.8854 MB / 0.5115 GB, free: 2.773 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002067/0.1568, allocations: 1.238 MB / 0.5127 GB, free: 1.531 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.3007/0.4575, allocations: 1.578 MB / 0.5143 GB, free: 12.7 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008215/0.4657, allocations: 5.062 MB / 0.5192 GB, free: 12.23 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.4657, allocations: 3.312 kB / 0.5192 GB, free: 12.23 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4657, allocations: 0.7031 kB / 0.5192 GB, free: 12.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.000189/0.4659, allocations: 0 / 0.5192 GB, free: 12.23 MB / 382.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.01252/0.4784, allocations: 4.321 MB / 0.5234 GB, free: 10.8 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.4784, allocations: 9.906 kB / 0.5234 GB, free: 10.8 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007494/0.4859, allocations: 1.815 MB / 0.5252 GB, free: 10.57 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003769/0.4897, allocations: 1.301 MB / 0.5265 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001326/0.4898, allocations: 151.2 kB / 0.5266 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005333/0.4904, allocations: 190.8 kB / 0.5268 GB, free: 10.21 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01431/0.5047, allocations: 8.198 MB / 0.5348 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.479e-05/0.5048, allocations: 17.16 kB / 0.5348 GB, free: 8.328 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003614/0.5051, allocations: 91.98 kB / 0.5349 GB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003369/0.5085, allocations: 1.919 MB / 0.5368 GB, free: 7.926 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01698/0.5255, allocations: 7.426 MB / 0.544 GB, free: 5.043 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04215/0.5676, allocations: 24.78 MB / 0.5682 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005828/0.5735, allocations: 1.879 MB / 0.5701 GB, free: 12.92 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001625/0.5751, allocations: 0.8158 MB / 0.5709 GB, free: 12.11 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007374/0.5825, allocations: 2.858 MB / 0.5737 GB, free: 9.258 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.256e-05/0.5825, allocations: 43.56 kB / 0.5737 GB, free: 9.207 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 4.929e-06/0.5825, allocations: 1.312 kB / 0.5737 GB, free: 9.207 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01319/0.5957, allocations: 4.704 MB / 0.5783 GB, free: 4.52 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.341e-05/0.5958, allocations: 64.41 kB / 0.5784 GB, free: 4.445 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006334/0.6021, allocations: 2.505 MB / 0.5808 GB, free: 1.906 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001665/0.6023, allocations: 49.7 kB / 0.5809 GB, free: 1.852 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0024/0.6047, allocations: 2.161 MB / 0.583 GB, free: 15.69 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00086/0.6055, allocations: 0.5532 MB / 0.5835 GB, free: 15.14 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001924/0.6074, allocations: 0.7454 MB / 0.5842 GB, free: 14.39 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.6076, allocations: 305.1 kB / 0.5845 GB, free: 14.09 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003619/0.6113, allocations: 1.237 MB / 0.5857 GB, free: 12.86 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005661/0.6169, allocations: 3.299 MB / 0.589 GB, free: 8.582 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007548/0.6245, allocations: 4.884 MB / 0.5937 GB, free: 2.984 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.481e-05/0.6245, allocations: 20 kB / 0.5937 GB, free: 2.965 MB / 430.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.01035/0.6349, allocations: 4.647 MB / 0.5983 GB, free: 14.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.597e-05/0.635, allocations: 39.12 kB / 0.5983 GB, free: 14.52 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001352/0.6351, allocations: 72 kB / 0.5984 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006771/0.6358, allocations: 232.6 kB / 0.5986 GB, free: 14.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002976/0.6388, allocations: 0.8287 MB / 0.5994 GB, free: 13.39 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003743/0.6425, allocations: 2.747 MB / 0.6021 GB, free: 10.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002816/0.6453, allocations: 191.1 kB / 0.6023 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000537/0.6459, allocations: 220.8 kB / 0.6025 GB, free: 10.14 MB / 446.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.003328/0.6492, allocations: 1.577 MB / 0.604 GB, free: 8.551 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007794/0.65, allocations: 223.7 kB / 0.6042 GB, free: 8.332 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005059/0.655, allocations: 1.941 MB / 0.6061 GB, free: 6.387 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001151/0.6551, allocations: 31.91 kB / 0.6062 GB, free: 6.355 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/0.6552, allocations: 4 kB / 0.6062 GB, free: 6.352 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.718e-05/0.6552, allocations: 7.984 kB / 0.6062 GB, free: 6.344 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01528/0.6704, allocations: 5.781 MB / 0.6118 GB, free: 464 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.209e-05/0.6705, allocations: 4 kB / 0.6118 GB, free: 460 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/0.6715, allocations: 216.1 kB / 0.612 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004658/0.672, allocations: 133.5 kB / 0.6122 GB, free: 108 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001761/0.6722, allocations: 38.97 kB / 0.6122 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003314/0.6755, allocations: 2.418 MB / 0.6146 GB, free: 13.54 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.093e-05/0.6755, allocations: 8.594 kB / 0.6146 GB, free: 13.53 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005818/0.6813, allocations: 3.067 MB / 0.6176 GB, free: 10.4 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.6824, allocations: 222.5 kB / 0.6178 GB, free: 10.18 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008997/0.6833, allocations: 27.94 kB / 0.6178 GB, free: 10.15 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001563/0.6848, allocations: 71.97 kB / 0.6179 GB, free: 10.08 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003287/0.6852, allocations: 88.78 kB / 0.618 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/0.6853, allocations: 47.03 kB / 0.618 GB, free: 9.953 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.005529/0.6908, allocations: 1.615 MB / 0.6196 GB, free: 8.32 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6908, allocations: 4 kB / 0.6196 GB, free: 8.316 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005089/0.6959, allocations: 0.6367 MB / 0.6202 GB, free: 7.68 MB / 462.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.0006236/0.6966, allocations: 150.2 kB / 0.6204 GB, free: 7.527 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006318/0.7029, allocations: 2.93 MB / 0.6232 GB, free: 4.609 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 9.337e-06/0.7029, allocations: 5.031 kB / 0.6232 GB, free: 4.605 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.7047, allocations: 0.9519 MB / 0.6241 GB, free: 3.641 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002955/0.7076, allocations: 402.8 kB / 0.6245 GB, free: 3.258 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01628/0.7239, allocations: 6.508 MB / 0.6309 GB, free: 12.69 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004911/0.7288, allocations: 2.595 MB / 0.6334 GB, free: 10.07 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.004023/0.7329, allocations: 1.138 MB / 0.6345 GB, free: 8.938 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008845/0.7337, allocations: 155.4 kB / 0.6347 GB, free: 8.785 MB / 478.1 MB Notification: Performance of SimCode: time 1.914e-06/0.7337, allocations: 0 / 0.6347 GB, free: 8.785 MB / 478.1 MB Notification: Performance of Templates: time 0.06319/0.7969, allocations: 26.82 MB / 0.6609 GB, free: 14.15 MB / 0.4981 GB " [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.456720411079004] Failed to read output from testmodel.py, exit status != 0: 0.807284879963845 0.824644238 0.35521892399999994 Calling exit ...