Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.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.001245/0.001245, allocations: 110.2 kB / 19.69 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.001386/0.001386, allocations: 216 kB / 23.01 MB, free: 4.566 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.325/1.325, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.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.04626/0.04626, allocations: 9.241 MB / 322.4 MB, free: 10.07 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.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.DoublePendulum") translateModel(PlanarMechanics.Examples.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.DoublePendulum") [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.00208/0.00208, allocations: 67.89 kB / 449 MB, free: 14.55 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09682/0.0989, allocations: 55.47 MB / 0.4926 GB, free: 7.008 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.01051/0.1094, allocations: 8.49 MB / 0.5009 GB, free: 14.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005269/0.1147, allocations: 2.663 MB / 0.5035 GB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001035/0.1157, allocations: 39.88 kB / 0.5036 GB, free: 11.77 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001077/0.1168, allocations: 377.5 kB / 0.5039 GB, free: 11.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003516/0.1203, allocations: 1.471 MB / 0.5054 GB, free: 9.918 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005234/0.1208, allocations: 135.8 kB / 0.5055 GB, free: 9.785 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003546/0.1244, allocations: 2.515 MB / 0.508 GB, free: 7.262 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001284/0.1257, allocations: 0.7613 MB / 0.5087 GB, free: 6.473 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00149/0.1272, allocations: 0.9183 MB / 0.5096 GB, free: 5.551 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002207/0.1294, allocations: 1.444 MB / 0.511 GB, free: 4.102 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005943/0.13, allocations: 232 kB / 0.5112 GB, free: 3.875 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001778/0.1317, allocations: 0.8737 MB / 0.5121 GB, free: 3 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001543/0.1333, allocations: 1.238 MB / 0.5133 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002298/0.1356, allocations: 1.561 MB / 0.5148 GB, free: 192 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.201/0.3366, allocations: 5.028 MB / 0.5197 GB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3366, allocations: 0.8438 kB / 0.5197 GB, free: 12.36 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.71e-07/0.3366, allocations: 0 / 0.5197 GB, free: 12.36 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.934e-05/0.3367, allocations: 0.7188 kB / 0.5197 GB, free: 12.36 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: 1179 * Number of variables: 1179 Notification: Performance of Generate backend data structure: time 0.009069/0.3457, allocations: 4.405 MB / 0.524 GB, free: 10.96 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.3458, allocations: 9.969 kB / 0.524 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005936/0.3517, allocations: 1.784 MB / 0.5258 GB, free: 10.74 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002342/0.3541, allocations: 1.306 MB / 0.5271 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.3542, allocations: 148.7 kB / 0.5272 GB, free: 10.39 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003637/0.3545, allocations: 204.1 kB / 0.5274 GB, free: 10.38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01062/0.3651, allocations: 8.255 MB / 0.5354 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.49e-05/0.3652, allocations: 19.38 kB / 0.5355 GB, free: 8.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/0.3655, allocations: 94.91 kB / 0.5356 GB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002625/0.3681, allocations: 1.908 MB / 0.5374 GB, free: 8.027 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0109/0.379, allocations: 7.414 MB / 0.5447 GB, free: 5.141 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03129/0.4103, allocations: 25.54 MB / 0.5696 GB, free: 14.13 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005779/0.4161, allocations: 2.086 MB / 0.5716 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001424/0.4175, allocations: 0.8643 MB / 0.5725 GB, free: 11.19 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006348/0.4238, allocations: 3.149 MB / 0.5756 GB, free: 8.059 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.804e-05/0.4239, allocations: 51.5 kB / 0.5756 GB, free: 7.996 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 3.336e-06/0.4239, allocations: 0 / 0.5756 GB, free: 7.996 MB / 414.1 MB Notification: Performance of matching and sorting (n=176): time 0.0129/0.4368, allocations: 5.505 MB / 0.581 GB, free: 2.539 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.066e-05/0.4368, allocations: 64.72 kB / 0.581 GB, free: 2.465 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004509/0.4414, allocations: 2.619 MB / 0.5836 GB, free: 15.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001343/0.4415, allocations: 49.7 kB / 0.5837 GB, free: 15.76 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001771/0.4433, allocations: 2.178 MB / 0.5858 GB, free: 13.59 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006827/0.4439, allocations: 0.6834 MB / 0.5864 GB, free: 12.91 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001276/0.4452, allocations: 0.8283 MB / 0.5873 GB, free: 12.07 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001282/0.4453, allocations: 309.1 kB / 0.5876 GB, free: 11.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002418/0.4478, allocations: 1.363 MB / 0.5889 GB, free: 10.4 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004577/0.4523, allocations: 3.63 MB / 0.5924 GB, free: 5.68 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00686/0.4592, allocations: 5.421 MB / 0.5977 GB, free: 15.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.66e-05/0.4592, allocations: 24 kB / 0.5977 GB, free: 15.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.008823/0.4681, allocations: 5.225 MB / 0.6028 GB, free: 10.44 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.774e-05/0.4681, allocations: 40 kB / 0.6029 GB, free: 10.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001026/0.4682, allocations: 76 kB / 0.603 GB, free: 10.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009086/0.4691, allocations: 363.8 kB / 0.6033 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002865/0.472, allocations: 0.9163 MB / 0.6042 GB, free: 9.051 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006105/0.4781, allocations: 4.06 MB / 0.6082 GB, free: 4.879 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002892/0.481, allocations: 207.8 kB / 0.6084 GB, free: 4.676 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006484/0.4816, allocations: 251.3 kB / 0.6086 GB, free: 4.434 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 358 * Number of states: 0 () * Number of discrete variables: 18 (revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[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 (498): * Single equations (assignments): 493 * 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 {(2,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003201/0.4848, allocations: 1.6 MB / 0.6102 GB, free: 2.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005291/0.4854, allocations: 246.3 kB / 0.6104 GB, free: 2.578 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004485/0.4899, allocations: 2.331 MB / 0.6127 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001116/0.49, allocations: 35.2 kB / 0.6127 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.691e-05/0.49, allocations: 7.984 kB / 0.6127 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.541e-05/0.49, allocations: 3.984 kB / 0.6127 GB, free: 192 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01292/0.5029, allocations: 6.401 MB / 0.619 GB, free: 9.691 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.455e-05/0.5029, allocations: 4 kB / 0.619 GB, free: 9.688 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009414/0.5039, allocations: 240.1 kB / 0.6192 GB, free: 9.453 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006983/0.5046, allocations: 263.4 kB / 0.6195 GB, free: 9.195 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001148/0.5047, allocations: 33.72 kB / 0.6195 GB, free: 9.164 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004467/0.5092, allocations: 3.321 MB / 0.6227 GB, free: 5.738 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/0.5092, allocations: 4 kB / 0.6227 GB, free: 5.734 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005961/0.5151, allocations: 3.609 MB / 0.6263 GB, free: 2.055 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006968/0.5158, allocations: 234.5 kB / 0.6265 GB, free: 1.824 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004766/0.5163, allocations: 32 kB / 0.6265 GB, free: 1.793 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.5174, allocations: 81.27 kB / 0.6266 GB, free: 1.715 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002105/0.5176, allocations: 113 kB / 0.6267 GB, free: 1.605 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.5177, allocations: 47.98 kB / 0.6267 GB, free: 1.559 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003347/0.521, allocations: 1.679 MB / 0.6284 GB, free: 15.87 MB / 478.1 MB Notification: Performance of sort global known variables: time 9.1e-08/0.521, allocations: 0 / 0.6284 GB, free: 15.87 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0031/0.5241, allocations: 0.7108 MB / 0.6291 GB, free: 15.16 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute.phi,revolute.w,revolute1.phi,revolute1.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 (132): * Single equations (assignments): 127 * 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 {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003449/0.5245, allocations: 163.1 kB / 0.6292 GB, free: 14.99 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.005403/0.5299, allocations: 3.312 MB / 0.6325 GB, free: 11.68 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 4.809e-06/0.5299, allocations: 0 / 0.6325 GB, free: 11.68 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001653/0.5316, allocations: 1.11 MB / 0.6336 GB, free: 10.56 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002161/0.5337, allocations: 405.7 kB / 0.6339 GB, free: 10.18 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01323/0.5469, allocations: 7.219 MB / 0.641 GB, free: 2.887 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002957/0.5499, allocations: 2.623 MB / 0.6436 GB, free: 244 kB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007354/0.5506, allocations: 219.4 kB / 0.6438 GB, free: 24 kB / 478.1 MB Notification: Performance of SimCode: time 1.223e-06/0.5506, allocations: 0 / 0.6438 GB, free: 24 kB / 478.1 MB Notification: Performance of Templates: time 0.0844/0.635, allocations: 58.31 MB / 0.7007 GB, free: 5.844 MB / 0.5294 GB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.sim & ./PlanarMechanics_PlanarMechanics.Examples.DoublePendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.DoublePendulum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.579548728885129] Failed to read output from testmodel.py, exit status != 0: 0.6436035439837724 0.658791618 0.318991784 Calling exit ...