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.001456/0.001456, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001612/0.001612, allocations: 221.1 kB / 23 MB, free: 4.914 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.359/1.359, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.04694/0.04694, allocations: 9.249 MB / 322.4 MB, free: 9.867 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.001983/0.001983, allocations: 63.91 kB / 448.9 MB, free: 14.1 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09563/0.09761, allocations: 55.47 MB / 0.4926 GB, free: 6.547 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.00885/0.1065, allocations: 7.42 MB / 0.4998 GB, free: 15.09 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005788/0.1122, allocations: 2.5 MB / 0.5022 GB, free: 12.58 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001229/0.1135, allocations: 39.88 kB / 0.5023 GB, free: 12.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.1147, allocations: 381.4 kB / 0.5026 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003981/0.1187, allocations: 1.467 MB / 0.5041 GB, free: 10.7 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003836/0.1191, allocations: 135.8 kB / 0.5042 GB, free: 10.56 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002855/0.1219, allocations: 2.529 MB / 0.5067 GB, free: 8.027 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009777/0.1229, allocations: 0.7496 MB / 0.5074 GB, free: 7.25 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001081/0.124, allocations: 0.9222 MB / 0.5083 GB, free: 6.324 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00181/0.1258, allocations: 1.37 MB / 0.5097 GB, free: 4.949 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003544/0.1261, allocations: 232 kB / 0.5099 GB, free: 4.723 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001311/0.1274, allocations: 0.7684 MB / 0.5106 GB, free: 3.953 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001109/0.1286, allocations: 1.238 MB / 0.5118 GB, free: 2.711 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001229/0.1298, allocations: 1.094 MB / 0.5129 GB, free: 1.609 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2009/0.3307, allocations: 5.037 MB / 0.5178 GB, free: 12.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.471e-06/0.3307, allocations: 1.031 kB / 0.5178 GB, free: 12.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.033e-06/0.3307, allocations: 0 / 0.5178 GB, free: 12.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.023e-05/0.3308, allocations: 0 / 0.5178 GB, free: 12.94 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.009296/0.3401, allocations: 4.397 MB / 0.5221 GB, free: 11.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.3401, allocations: 11.19 kB / 0.5221 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006075/0.3462, allocations: 1.782 MB / 0.5239 GB, free: 11.31 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002632/0.3488, allocations: 1.315 MB / 0.5252 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001233/0.3489, allocations: 153.7 kB / 0.5253 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004136/0.3494, allocations: 198.5 kB / 0.5255 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01118/0.3605, allocations: 8.258 MB / 0.5336 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.702e-05/0.3606, allocations: 26.06 kB / 0.5336 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002763/0.3609, allocations: 94.5 kB / 0.5337 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002653/0.3635, allocations: 1.906 MB / 0.5355 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/0.3758, allocations: 7.409 MB / 0.5428 GB, free: 6.25 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03257/0.4083, allocations: 23.22 MB / 0.5654 GB, free: 2.352 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005871/0.4142, allocations: 2.083 MB / 0.5675 GB, free: 272 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001368/0.4156, allocations: 0.8615 MB / 0.5683 GB, free: 15.41 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005857/0.4214, allocations: 2.828 MB / 0.5711 GB, free: 12.59 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.4215, allocations: 43.56 kB / 0.5711 GB, free: 12.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 4.018e-06/0.4215, allocations: 4.844 kB / 0.5711 GB, free: 12.53 MB / 414.1 MB Notification: Performance of matching and sorting (n=176): time 0.01242/0.4339, allocations: 5.478 MB / 0.5765 GB, free: 7.109 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.037e-05/0.434, allocations: 68.72 kB / 0.5765 GB, free: 7.027 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003084/0.4371, allocations: 2.231 MB / 0.5787 GB, free: 4.797 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001074/0.4372, allocations: 50.47 kB / 0.5788 GB, free: 4.742 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001551/0.4387, allocations: 2.213 MB / 0.5809 GB, free: 2.543 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000606/0.4393, allocations: 0.6727 MB / 0.5816 GB, free: 1.879 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001125/0.4405, allocations: 0.8401 MB / 0.5824 GB, free: 1.027 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4406, allocations: 341.9 kB / 0.5827 GB, free: 0.6875 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/0.4428, allocations: 1.376 MB / 0.5841 GB, free: 15.3 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004049/0.4469, allocations: 3.625 MB / 0.5876 GB, free: 10.59 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006548/0.4534, allocations: 5.426 MB / 0.5929 GB, free: 4.402 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.713e-05/0.4535, allocations: 24 kB / 0.5929 GB, free: 4.379 MB / 430.1 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.008875/0.4624, allocations: 5.185 MB / 0.598 GB, free: 15.41 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.741e-05/0.4624, allocations: 40 kB / 0.598 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.17e-05/0.4625, allocations: 76.16 kB / 0.5981 GB, free: 15.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008718/0.4634, allocations: 362.8 kB / 0.5985 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002651/0.466, allocations: 0.9163 MB / 0.5993 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005403/0.4714, allocations: 4.012 MB / 0.6033 GB, free: 9.918 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002444/0.4739, allocations: 211.9 kB / 0.6035 GB, free: 9.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003924/0.4743, allocations: 245.8 kB / 0.6037 GB, free: 9.473 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.002581/0.4768, allocations: 1.605 MB / 0.6053 GB, free: 7.855 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003473/0.4772, allocations: 202.6 kB / 0.6055 GB, free: 7.656 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003906/0.4811, allocations: 2.294 MB / 0.6077 GB, free: 5.348 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.986e-05/0.4812, allocations: 27.98 kB / 0.6077 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.955e-06/0.4812, allocations: 4 kB / 0.6077 GB, free: 5.316 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.45e-05/0.4812, allocations: 7.969 kB / 0.6077 GB, free: 5.309 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009808/0.491, allocations: 5.331 MB / 0.6129 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.096e-05/0.491, allocations: 4.469 kB / 0.6129 GB, free: 15.93 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008956/0.4919, allocations: 248.3 kB / 0.6132 GB, free: 15.68 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006533/0.4926, allocations: 256.6 kB / 0.6134 GB, free: 15.43 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.351e-05/0.4927, allocations: 28 kB / 0.6135 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004114/0.4968, allocations: 3.264 MB / 0.6166 GB, free: 12.05 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.694e-06/0.4968, allocations: 7.938 kB / 0.6167 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005288/0.5021, allocations: 3.563 MB / 0.6201 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004457/0.5025, allocations: 190.6 kB / 0.6203 GB, free: 8.215 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000222/0.5027, allocations: 30.97 kB / 0.6203 GB, free: 8.188 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007377/0.5035, allocations: 79.91 kB / 0.6204 GB, free: 8.109 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001756/0.5037, allocations: 105 kB / 0.6205 GB, free: 8.008 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001023/0.5038, allocations: 48 kB / 0.6206 GB, free: 7.961 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001966/0.5057, allocations: 1.305 MB / 0.6218 GB, free: 6.664 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5057, allocations: 0 / 0.6218 GB, free: 6.664 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002693/0.5084, allocations: 0.7021 MB / 0.6225 GB, free: 5.965 MB / 462.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.0003209/0.5087, allocations: 162.3 kB / 0.6227 GB, free: 5.797 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005196/0.5139, allocations: 3.308 MB / 0.6259 GB, free: 2.5 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/0.5139, allocations: 0 / 0.6259 GB, free: 2.5 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001631/0.5156, allocations: 1.102 MB / 0.627 GB, free: 1.383 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.5168, allocations: 275.2 kB / 0.6272 GB, free: 1.125 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.5286, allocations: 7.165 MB / 0.6342 GB, free: 9.887 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002788/0.5313, allocations: 2.062 MB / 0.6363 GB, free: 7.797 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006715/0.532, allocations: 203.4 kB / 0.6365 GB, free: 7.598 MB / 478.1 MB Notification: Performance of SimCode: time 9.62e-07/0.532, allocations: 0 / 0.6365 GB, free: 7.598 MB / 478.1 MB Notification: Performance of Templates: time 0.07307/0.6051, allocations: 56.51 MB / 0.6916 GB, free: 15.2 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.13256942294538] Failed to read output from testmodel.py, exit status != 0: 0.6132171028293669 0.6270901240000001 0.293422888 Calling exit ...