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.001358/0.001358, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001451/0.001451, allocations: 155.4 kB / 23.01 MB, free: 4.949 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.377/1.377, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 MB " [Timeout remaining time 179] 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.04677/0.04677, allocations: 7.13 MB / 266.9 MB, free: 9.723 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.002156/0.002156, allocations: 63.91 kB / 393.4 MB, free: 10.46 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09687/0.09902, allocations: 55.45 MB / 448.8 MB, free: 2.914 MB / 414.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.009574/0.1086, allocations: 7.538 MB / 456.4 MB, free: 11.34 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005163/0.1138, allocations: 2.523 MB / 458.9 MB, free: 8.809 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006251/0.1144, allocations: 39.88 kB / 458.9 MB, free: 8.77 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007954/0.1152, allocations: 377.5 kB / 459.3 MB, free: 8.398 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002803/0.118, allocations: 1.42 MB / 460.7 MB, free: 6.973 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.1183, allocations: 151.7 kB / 460.9 MB, free: 6.824 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002746/0.1211, allocations: 2.514 MB / 463.4 MB, free: 4.305 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.1221, allocations: 0.8159 MB / 464.2 MB, free: 3.469 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.1233, allocations: 0.9455 MB / 465.1 MB, free: 2.52 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00175/0.125, allocations: 1.378 MB / 466.5 MB, free: 1.137 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003531/0.1254, allocations: 240 kB / 466.8 MB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001314/0.1267, allocations: 0.7723 MB / 467.5 MB, free: 132 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.1278, allocations: 1.235 MB / 468.8 MB, free: 14.89 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00116/0.129, allocations: 1.114 MB / 469.9 MB, free: 13.77 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005324/0.1343, allocations: 5.077 MB / 475 MB, free: 8.672 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1343, allocations: 0 / 475 MB, free: 8.672 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.1343, allocations: 0 / 475 MB, free: 8.672 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.27e-05/0.1344, allocations: 0 / 475 MB, free: 8.672 MB / 446.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.009498/0.1439, allocations: 4.35 MB / 479.3 MB, free: 4.266 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.906e-05/0.1439, allocations: 12.62 kB / 479.3 MB, free: 4.254 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007062/0.151, allocations: 1.863 MB / 481.2 MB, free: 2.387 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00263/0.1536, allocations: 1.311 MB / 482.5 MB, free: 1.043 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001306/0.1537, allocations: 148 kB / 482.6 MB, free: 0.8984 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003894/0.1541, allocations: 196.2 kB / 482.8 MB, free: 0.707 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1893/0.3434, allocations: 8.164 MB / 491 MB, free: 65.7 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.547e-05/0.3434, allocations: 18.34 kB / 491 MB, free: 65.69 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/0.3437, allocations: 98.25 kB / 491.1 MB, free: 65.66 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002364/0.346, allocations: 1.923 MB / 493 MB, free: 65.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009811/0.3559, allocations: 7.352 MB / 0.4887 GB, free: 62.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02208/0.3779, allocations: 22.5 MB / 0.5106 GB, free: 48.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004599/0.3825, allocations: 1.955 MB / 0.5125 GB, free: 47.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001242/0.3838, allocations: 0.7948 MB / 0.5133 GB, free: 47.4 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006205/0.39, allocations: 2.594 MB / 0.5158 GB, free: 46.47 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.788e-05/0.39, allocations: 44.62 kB / 0.5159 GB, free: 46.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=130): time 4.008e-06/0.39, allocations: 4.281 kB / 0.5159 GB, free: 46.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=144): time 0.009786/0.3998, allocations: 4.768 MB / 0.5205 GB, free: 44.84 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.241e-05/0.3998, allocations: 64.34 kB / 0.5206 GB, free: 44.78 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002907/0.4027, allocations: 2.122 MB / 0.5227 GB, free: 43.89 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.489e-05/0.4028, allocations: 49.36 kB / 0.5227 GB, free: 43.84 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009007/0.4037, allocations: 2.189 MB / 0.5249 GB, free: 42.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000358/0.4041, allocations: 0.5541 MB / 0.5254 GB, free: 41.71 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008962/0.405, allocations: 0.7564 MB / 0.5261 GB, free: 41.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.405, allocations: 346 kB / 0.5265 GB, free: 41.02 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00189/0.4069, allocations: 1.23 MB / 0.5277 GB, free: 40.63 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00258/0.4095, allocations: 3.29 MB / 0.5309 GB, free: 37.47 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00453/0.414, allocations: 4.881 MB / 0.5357 GB, free: 33.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.049e-05/0.4141, allocations: 21.31 kB / 0.5357 GB, free: 33.49 MB / 446.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.006685/0.4208, allocations: 4.595 MB / 0.5402 GB, free: 31.34 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.835e-05/0.4208, allocations: 39.67 kB / 0.5402 GB, free: 31.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.729e-05/0.4209, allocations: 72 kB / 0.5403 GB, free: 31.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005098/0.4214, allocations: 234.5 kB / 0.5405 GB, free: 31.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002243/0.4236, allocations: 0.8278 MB / 0.5413 GB, free: 30.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0024/0.426, allocations: 2.702 MB / 0.5439 GB, free: 27.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002189/0.4282, allocations: 183.8 kB / 0.5441 GB, free: 27.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002248/0.4285, allocations: 219.4 kB / 0.5443 GB, free: 27.37 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.001817/0.4303, allocations: 1.582 MB / 0.5459 GB, free: 25.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001999/0.4305, allocations: 191.3 kB / 0.546 GB, free: 25.77 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002682/0.4332, allocations: 1.886 MB / 0.5479 GB, free: 24.17 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.184e-05/0.4332, allocations: 26.95 kB / 0.5479 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.4332, allocations: 0 / 0.5479 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/0.4333, allocations: 10.45 kB / 0.5479 GB, free: 24.15 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00676/0.44, allocations: 4.708 MB / 0.5525 GB, free: 20.09 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.44, allocations: 4 kB / 0.5525 GB, free: 20.08 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008251/0.4409, allocations: 212.1 kB / 0.5527 GB, free: 19.91 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003317/0.4412, allocations: 138.1 kB / 0.5529 GB, free: 19.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.74e-05/0.4413, allocations: 30.81 kB / 0.5529 GB, free: 19.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001919/0.4432, allocations: 2.381 MB / 0.5552 GB, free: 17.48 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.4432, allocations: 7.938 kB / 0.5552 GB, free: 17.47 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003452/0.4466, allocations: 3.008 MB / 0.5582 GB, free: 14.77 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002816/0.4469, allocations: 174.5 kB / 0.5583 GB, free: 14.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.4471, allocations: 20 kB / 0.5583 GB, free: 14.58 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007179/0.4478, allocations: 70.45 kB / 0.5584 GB, free: 14.54 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.448, allocations: 98.73 kB / 0.5585 GB, free: 14.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.579e-05/0.448, allocations: 43.56 kB / 0.5585 GB, free: 14.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001306/0.4493, allocations: 1.239 MB / 0.5598 GB, free: 13.41 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4493, allocations: 4.062 kB / 0.5598 GB, free: 13.41 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002574/0.4519, allocations: 0.6326 MB / 0.5604 GB, free: 12.78 MB / 446.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.0002419/0.4522, allocations: 154.9 kB / 0.5605 GB, free: 12.62 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.003686/0.4558, allocations: 2.898 MB / 0.5634 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.507e-06/0.4558, allocations: 0 / 0.5634 GB, free: 10.08 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001098/0.4569, allocations: 0.9529 MB / 0.5643 GB, free: 9.168 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001167/0.4581, allocations: 277.9 kB / 0.5646 GB, free: 8.914 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007728/0.4658, allocations: 6.425 MB / 0.5708 GB, free: 2.422 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/0.4678, allocations: 2.039 MB / 0.5728 GB, free: 360 kB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002382/0.4702, allocations: 1.087 MB / 0.5739 GB, free: 15.26 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000385/0.4705, allocations: 152.4 kB / 0.574 GB, free: 15.11 MB / 462.1 MB Notification: Performance of SimCode: time 8.91e-07/0.4706, allocations: 0 / 0.574 GB, free: 15.11 MB / 462.1 MB Notification: Performance of Templates: time 0.03852/0.5091, allocations: 19.54 MB / 0.5931 GB, free: 11.83 MB / 478.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 -s ida -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PendulumExcited.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.196632118080743] Failed to read output from testmodel.py, exit status != 0: 0.5175569610437378 0.5320152149999999 0.39458687499999995 Calling exit ...