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.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001594/0.001594, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.527/1.527, allocations: 225.6 MB / 249.9 MB, free: 13.64 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0/package.mo): time 0.04682/0.04682, allocations: 9.225 MB / 314.3 MB, free: 156 kB / 238.1 MB [Timeout remaining time 90] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.Examples.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.DoublePendulum") translateModel(PlanarMechanics.Examples.DoublePendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.DoublePendulum") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.001883/0.001883, allocations: 67.89 kB / 437.8 MB, free: 12.72 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1072, allocations: 54.27 MB / 492 MB, free: 6.367 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.0103/0.1175, allocations: 8.47 MB / 0.4888 GB, free: 13.86 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.005861/0.1233, allocations: 2.62 MB / 0.4913 GB, free: 11.23 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.1244, allocations: 35.94 kB / 0.4913 GB, free: 11.19 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009256/0.1253, allocations: 377.4 kB / 0.4917 GB, free: 10.82 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003598/0.1289, allocations: 1.463 MB / 0.4931 GB, free: 9.352 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004521/0.1294, allocations: 143.7 kB / 0.4933 GB, free: 9.211 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.003493/0.1329, allocations: 2.538 MB / 0.4958 GB, free: 6.664 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001216/0.1341, allocations: 0.7725 MB / 0.4965 GB, free: 5.859 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001325/0.1354, allocations: 0.9105 MB / 0.4974 GB, free: 4.945 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001889/0.1373, allocations: 1.436 MB / 0.4988 GB, free: 3.504 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003939/0.1377, allocations: 232 kB / 0.499 GB, free: 3.277 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001586/0.1393, allocations: 0.862 MB / 0.4999 GB, free: 2.414 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001278/0.1406, allocations: 1.262 MB / 0.5011 GB, free: 1.148 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.2866/0.4272, allocations: 1.581 MB / 0.5026 GB, free: 7.477 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008924/0.4361, allocations: 5.055 MB / 0.5076 GB, free: 7.004 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4361, allocations: 0 / 0.5076 GB, free: 7.004 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.4361, allocations: 0 / 0.5076 GB, free: 7.004 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001465/0.4362, allocations: 1.406 kB / 0.5076 GB, free: 7.004 MB / 366.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.0135/0.4498, allocations: 4.446 MB / 0.5119 GB, free: 5.465 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.4498, allocations: 9.25 kB / 0.5119 GB, free: 5.465 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006624/0.4564, allocations: 1.782 MB / 0.5137 GB, free: 5.238 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003211/0.4596, allocations: 1.368 MB / 0.515 GB, free: 4.812 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001638/0.4598, allocations: 151.2 kB / 0.5151 GB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004509/0.4602, allocations: 195.5 kB / 0.5153 GB, free: 4.809 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01408/0.4743, allocations: 8.259 MB / 0.5234 GB, free: 1.691 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.4e-05/0.4744, allocations: 26.17 kB / 0.5234 GB, free: 1.688 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002907/0.4747, allocations: 96.62 kB / 0.5235 GB, free: 1.656 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002899/0.4776, allocations: 1.899 MB / 0.5254 GB, free: 1.223 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01417/0.4918, allocations: 7.424 MB / 0.5326 GB, free: 13.65 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04573/0.5375, allocations: 25.58 MB / 0.5576 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006819/0.5443, allocations: 2.537 MB / 0.5601 GB, free: 1.305 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/0.546, allocations: 0.8599 MB / 0.5609 GB, free: 456 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008472/0.5544, allocations: 5.098 MB / 0.5659 GB, free: 10.86 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.259e-05/0.5545, allocations: 47.5 kB / 0.5659 GB, free: 10.81 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 5.019e-06/0.5545, allocations: 0 / 0.5659 GB, free: 10.81 MB / 414.1 MB Notification: Performance of matching and sorting (n=176): time 0.01511/0.5696, allocations: 5.514 MB / 0.5713 GB, free: 5.344 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.708e-05/0.5697, allocations: 67.53 kB / 0.5714 GB, free: 5.27 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006033/0.5757, allocations: 2.619 MB / 0.574 GB, free: 2.621 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.5758, allocations: 53.7 kB / 0.574 GB, free: 2.562 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002188/0.578, allocations: 2.181 MB / 0.5761 GB, free: 396 kB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007914/0.5788, allocations: 0.6799 MB / 0.5768 GB, free: 15.71 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001792/0.5806, allocations: 0.8244 MB / 0.5776 GB, free: 14.88 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001628/0.5808, allocations: 305.1 kB / 0.5779 GB, free: 14.57 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002739/0.5835, allocations: 1.367 MB / 0.5792 GB, free: 13.2 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005107/0.5886, allocations: 3.632 MB / 0.5828 GB, free: 8.484 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007823/0.5964, allocations: 5.419 MB / 0.5881 GB, free: 2.293 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.699e-05/0.5965, allocations: 25.31 kB / 0.5881 GB, free: 2.27 MB / 430.1 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.01051/0.607, allocations: 5.22 MB / 0.5932 GB, free: 13.17 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.415e-05/0.6071, allocations: 44.25 kB / 0.5932 GB, free: 13.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001606/0.6073, allocations: 76 kB / 0.5933 GB, free: 13.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/0.6084, allocations: 360.5 kB / 0.5936 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003003/0.6114, allocations: 0.9133 MB / 0.5945 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006391/0.6178, allocations: 4.186 MB / 0.5986 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003459/0.6212, allocations: 211.8 kB / 0.5988 GB, free: 7.262 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007163/0.622, allocations: 240 kB / 0.5991 GB, free: 7.027 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.004235/0.6262, allocations: 1.605 MB / 0.6006 GB, free: 5.414 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007285/0.6269, allocations: 238.4 kB / 0.6009 GB, free: 5.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00514/0.6321, allocations: 2.335 MB / 0.6031 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001175/0.6322, allocations: 30.72 kB / 0.6032 GB, free: 2.797 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.904e-05/0.6322, allocations: 4 kB / 0.6032 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-05/0.6322, allocations: 14.41 kB / 0.6032 GB, free: 2.781 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.6473, allocations: 6.433 MB / 0.6095 GB, free: 12.25 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.499e-05/0.6473, allocations: 4 kB / 0.6095 GB, free: 12.24 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009747/0.6483, allocations: 243.6 kB / 0.6097 GB, free: 12 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007293/0.649, allocations: 256.6 kB / 0.6099 GB, free: 11.75 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001297/0.6491, allocations: 31.94 kB / 0.61 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004467/0.6536, allocations: 3.424 MB / 0.6133 GB, free: 8.164 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.665e-06/0.6536, allocations: 7.938 kB / 0.6133 GB, free: 8.156 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00598/0.6596, allocations: 3.604 MB / 0.6168 GB, free: 4.488 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000983/0.6606, allocations: 323.5 kB / 0.6172 GB, free: 4.152 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006445/0.6612, allocations: 28 kB / 0.6172 GB, free: 4.125 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001243/0.6625, allocations: 75.91 kB / 0.6172 GB, free: 4.051 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002343/0.6627, allocations: 110.1 kB / 0.6174 GB, free: 3.941 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001113/0.6628, allocations: 51.98 kB / 0.6174 GB, free: 3.891 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003851/0.6667, allocations: 1.676 MB / 0.619 GB, free: 2.199 MB / 462.1 MB Notification: Performance of sort global known variables: time 5e-08/0.6667, allocations: 0 / 0.619 GB, free: 2.199 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.004165/0.6708, allocations: 0.7261 MB / 0.6198 GB, free: 1.477 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.0004814/0.6713, allocations: 162.9 kB / 0.6199 GB, free: 1.309 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006307/0.6776, allocations: 3.313 MB / 0.6231 GB, free: 14.01 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.444e-06/0.6776, allocations: 4 kB / 0.6231 GB, free: 14 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001829/0.6794, allocations: 1.097 MB / 0.6242 GB, free: 12.89 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002802/0.6822, allocations: 411.3 kB / 0.6246 GB, free: 12.51 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01686/0.6991, allocations: 7.236 MB / 0.6317 GB, free: 5.188 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004661/0.7038, allocations: 2.623 MB / 0.6342 GB, free: 2.535 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009112/0.7047, allocations: 223.4 kB / 0.6344 GB, free: 2.32 MB / 478.1 MB Notification: Performance of SimCode: time 1.343e-06/0.7047, allocations: 3.938 kB / 0.6345 GB, free: 2.316 MB / 478.1 MB Notification: Performance of Templates: time 0.09495/0.7996, allocations: 58.39 MB / 0.6915 GB, free: 8.043 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]