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.001396/0.001396, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001648/0.001648, allocations: 219.5 kB / 23.01 MB, free: 4.609 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.352/1.352, allocations: 230.6 MB / 256.8 MB, free: 8.047 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.04658/0.04658, allocations: 9.244 MB / 322.4 MB, free: 10.08 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.002231/0.002231, allocations: 59.91 kB / 449 MB, free: 14.59 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09887/0.1011, allocations: 55.47 MB / 0.4926 GB, free: 7.047 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PendulumExcited): time 0.01026/0.1114, allocations: 8.605 MB / 0.501 GB, free: 14.4 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004993/0.1164, allocations: 2.667 MB / 0.5036 GB, free: 11.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007241/0.1171, allocations: 35.88 kB / 0.5037 GB, free: 11.69 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000759/0.1178, allocations: 381.5 kB / 0.504 GB, free: 11.32 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002718/0.1206, allocations: 1.424 MB / 0.5054 GB, free: 9.887 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003395/0.1209, allocations: 151.8 kB / 0.5056 GB, free: 9.738 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002777/0.1237, allocations: 2.523 MB / 0.508 GB, free: 7.207 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001054/0.1247, allocations: 0.8196 MB / 0.5088 GB, free: 6.359 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.1259, allocations: 0.9417 MB / 0.5098 GB, free: 5.414 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001754/0.1276, allocations: 1.436 MB / 0.5112 GB, free: 3.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003416/0.1279, allocations: 240 kB / 0.5114 GB, free: 3.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001409/0.1294, allocations: 0.8854 MB / 0.5123 GB, free: 2.852 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001152/0.1305, allocations: 1.246 MB / 0.5135 GB, free: 1.602 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001458/0.132, allocations: 1.573 MB / 0.515 GB, free: 20 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1834/0.3154, allocations: 5.061 MB / 0.52 GB, free: 12.27 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3154, allocations: 1.406 kB / 0.52 GB, free: 12.27 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.3154, allocations: 1.156 kB / 0.52 GB, free: 12.27 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001157/0.3155, allocations: 0.7188 kB / 0.52 GB, free: 12.27 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.008879/0.3244, allocations: 4.323 MB / 0.5242 GB, free: 10.84 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.133e-05/0.3244, allocations: 14.62 kB / 0.5242 GB, free: 10.84 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006553/0.3309, allocations: 1.812 MB / 0.526 GB, free: 10.61 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004051/0.335, allocations: 1.302 MB / 0.5272 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.3351, allocations: 147.7 kB / 0.5274 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004977/0.3356, allocations: 197.4 kB / 0.5276 GB, free: 10.25 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01199/0.3476, allocations: 8.19 MB / 0.5356 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.149e-05/0.3477, allocations: 16.34 kB / 0.5356 GB, free: 8.438 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002813/0.348, allocations: 95.61 kB / 0.5357 GB, free: 8.406 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00266/0.3506, allocations: 1.916 MB / 0.5375 GB, free: 8.039 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01194/0.3625, allocations: 7.433 MB / 0.5448 GB, free: 5.148 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03277/0.3953, allocations: 24.78 MB / 0.569 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005018/0.4003, allocations: 1.884 MB / 0.5708 GB, free: 13.02 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001404/0.4017, allocations: 0.8079 MB / 0.5716 GB, free: 12.21 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006279/0.408, allocations: 2.857 MB / 0.5744 GB, free: 9.367 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.308e-05/0.4081, allocations: 43.56 kB / 0.5745 GB, free: 9.316 MB / 414.1 MB Notification: Performance of pre-optimization done (n=130): time 4.439e-06/0.4081, allocations: 4.891 kB / 0.5745 GB, free: 9.312 MB / 414.1 MB Notification: Performance of matching and sorting (n=144): time 0.01109/0.4192, allocations: 4.702 MB / 0.5791 GB, free: 4.625 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.4192, allocations: 64.41 kB / 0.5791 GB, free: 4.551 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004549/0.4238, allocations: 2.505 MB / 0.5816 GB, free: 2.012 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.4239, allocations: 45.7 kB / 0.5816 GB, free: 1.961 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001811/0.4257, allocations: 2.148 MB / 0.5837 GB, free: 15.81 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006564/0.4263, allocations: 0.5679 MB / 0.5843 GB, free: 15.25 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001237/0.4276, allocations: 0.7505 MB / 0.585 GB, free: 14.5 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001268/0.4277, allocations: 301.1 kB / 0.5853 GB, free: 14.2 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002234/0.4299, allocations: 1.237 MB / 0.5865 GB, free: 12.96 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004079/0.434, allocations: 3.299 MB / 0.5897 GB, free: 8.688 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006327/0.4404, allocations: 4.891 MB / 0.5945 GB, free: 3.09 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.645e-05/0.4404, allocations: 24 kB / 0.5945 GB, free: 3.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=483) (initialization): time 0.009008/0.4494, allocations: 4.638 MB / 0.599 GB, free: 14.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.948e-05/0.4495, allocations: 42.75 kB / 0.5991 GB, free: 14.64 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001044/0.4496, allocations: 72 kB / 0.5991 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006227/0.4502, allocations: 225.7 kB / 0.5994 GB, free: 14.34 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002771/0.453, allocations: 0.8265 MB / 0.6002 GB, free: 13.52 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003687/0.4567, allocations: 2.749 MB / 0.6029 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002867/0.4596, allocations: 187.8 kB / 0.603 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005736/0.4601, allocations: 224 kB / 0.6032 GB, free: 10.26 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.00337/0.4635, allocations: 1.584 MB / 0.6048 GB, free: 8.668 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005233/0.464, allocations: 223.1 kB / 0.605 GB, free: 8.449 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003958/0.468, allocations: 1.94 MB / 0.6069 GB, free: 6.496 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001073/0.4681, allocations: 23.98 kB / 0.6069 GB, free: 6.473 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.489e-05/0.4681, allocations: 4.688 kB / 0.6069 GB, free: 6.469 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.335e-05/0.4681, allocations: 7.984 kB / 0.6069 GB, free: 6.461 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01252/0.4806, allocations: 5.783 MB / 0.6126 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.04e-05/0.4807, allocations: 0 / 0.6126 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008998/0.4816, allocations: 219.7 kB / 0.6128 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004012/0.482, allocations: 137.1 kB / 0.6129 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/0.4821, allocations: 31.94 kB / 0.613 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002897/0.485, allocations: 2.415 MB / 0.6153 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.885e-06/0.485, allocations: 7.938 kB / 0.6153 GB, free: 13.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00502/0.49, allocations: 3.067 MB / 0.6183 GB, free: 10.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007006/0.4907, allocations: 222.5 kB / 0.6185 GB, free: 10.3 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004882/0.4912, allocations: 27.94 kB / 0.6186 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001023/0.4922, allocations: 74.72 kB / 0.6186 GB, free: 10.21 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/0.4924, allocations: 92.78 kB / 0.6187 GB, free: 10.12 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/0.4925, allocations: 47.98 kB / 0.6188 GB, free: 10.07 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003304/0.4958, allocations: 1.611 MB / 0.6203 GB, free: 8.441 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4958, allocations: 112 / 0.6203 GB, free: 8.441 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003262/0.4991, allocations: 0.6366 MB / 0.621 GB, free: 7.805 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.0004025/0.4995, allocations: 158 kB / 0.6211 GB, free: 7.645 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005363/0.5048, allocations: 2.93 MB / 0.624 GB, free: 4.727 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.222e-06/0.5049, allocations: 0 / 0.624 GB, free: 4.727 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.5064, allocations: 0.9519 MB / 0.6249 GB, free: 3.762 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/0.5085, allocations: 406.3 kB / 0.6253 GB, free: 3.375 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01398/0.5225, allocations: 6.872 MB / 0.632 GB, free: 12.44 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003923/0.5264, allocations: 2.599 MB / 0.6345 GB, free: 9.816 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008653/0.5272, allocations: 207.4 kB / 0.6347 GB, free: 9.613 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5272, allocations: 0 / 0.6347 GB, free: 9.613 MB / 478.1 MB Notification: Performance of Templates: time 0.08317/0.6104, allocations: 56.67 MB / 0.6901 GB, free: 1.059 MB / 0.5138 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: 10.559214861132205] Failed to read output from testmodel.py, exit status != 0: 0.6189806868787855 0.6339026449999999 0.31545685399999995 Calling exit ...