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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001418/0.001418, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.689/1.689, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04904/0.04904, allocations: 9.243 MB / 313.7 MB, free: 1.562 MB / 238.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-master/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=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: Performance of FrontEnd - loaded program: time 0.001984/0.001984, allocations: 71.88 kB / 437.4 MB, free: 9.043 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3403, allocations: 54.24 MB / 491.6 MB, free: 25.79 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.009454/0.3498, allocations: 8.517 MB / 0.4884 GB, free: 19.75 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.00637/0.3562, allocations: 2.62 MB / 0.491 GB, free: 17.91 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00171/0.3579, allocations: 39.59 kB / 0.491 GB, free: 17.9 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.3589, allocations: 383.8 kB / 0.4914 GB, free: 17.6 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004283/0.3632, allocations: 1.461 MB / 0.4928 GB, free: 16.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000623/0.3638, allocations: 135.4 kB / 0.4929 GB, free: 16.45 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00408/0.3679, allocations: 2.545 MB / 0.4954 GB, free: 14.98 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001239/0.3691, allocations: 0.7543 MB / 0.4961 GB, free: 14.41 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.3706, allocations: 0.9042 MB / 0.497 GB, free: 13.88 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002059/0.3727, allocations: 1.444 MB / 0.4984 GB, free: 12.97 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005848/0.3733, allocations: 236.4 kB / 0.4987 GB, free: 12.97 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002205/0.3755, allocations: 0.8643 MB / 0.4995 GB, free: 12.61 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001348/0.3768, allocations: 1.25 MB / 0.5007 GB, free: 11.87 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001469/0.3783, allocations: 1.581 MB / 0.5023 GB, free: 10.63 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006478/0.3848, allocations: 5.066 MB / 0.5072 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.053e-06/0.3848, allocations: 0 / 0.5072 GB, free: 7.133 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3848, allocations: 0 / 0.5072 GB, free: 7.133 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001966/0.385, allocations: 0 / 0.5072 GB, free: 7.133 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.3985, allocations: 4.44 MB / 0.5116 GB, free: 3 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.697e-05/0.3985, allocations: 12.02 kB / 0.5116 GB, free: 2.988 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006205/0.4047, allocations: 1.777 MB / 0.5133 GB, free: 1.207 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003264/0.408, allocations: 1.377 MB / 0.5146 GB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001932/0.4082, allocations: 152.1 kB / 0.5148 GB, free: 15.64 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008051/0.409, allocations: 199.8 kB / 0.515 GB, free: 15.45 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01665/0.4256, allocations: 8.258 MB / 0.523 GB, free: 6.797 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-05/0.4257, allocations: 19.83 kB / 0.5231 GB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003357/0.4261, allocations: 99.8 kB / 0.5232 GB, free: 6.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00344/0.4295, allocations: 1.899 MB / 0.525 GB, free: 4.773 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01676/0.4463, allocations: 7.422 MB / 0.5323 GB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04422/0.4905, allocations: 25.59 MB / 0.5572 GB, free: 3.227 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007082/0.4976, allocations: 2.538 MB / 0.5597 GB, free: 0.5664 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001762/0.4993, allocations: 0.861 MB / 0.5606 GB, free: 15.7 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009294/0.5086, allocations: 5.097 MB / 0.5655 GB, free: 10.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.048e-05/0.5087, allocations: 51.5 kB / 0.5656 GB, free: 10.04 MB / 430.1 MB Notification: Performance of pre-optimization done (n=148): time 6.412e-06/0.5087, allocations: 0 / 0.5656 GB, free: 10.04 MB / 430.1 MB Notification: Performance of matching and sorting (n=176): time 0.01605/0.5247, allocations: 5.508 MB / 0.571 GB, free: 4.539 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.792e-05/0.5248, allocations: 68.72 kB / 0.571 GB, free: 4.457 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005046/0.5299, allocations: 2.623 MB / 0.5736 GB, free: 1.805 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000264/0.5301, allocations: 49.7 kB / 0.5736 GB, free: 1.75 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001811/0.5319, allocations: 2.184 MB / 0.5758 GB, free: 15.54 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008448/0.5328, allocations: 0.6743 MB / 0.5764 GB, free: 14.86 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001273/0.5341, allocations: 0.838 MB / 0.5773 GB, free: 14.01 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001448/0.5342, allocations: 301.1 kB / 0.5775 GB, free: 13.71 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002403/0.5366, allocations: 1.371 MB / 0.5789 GB, free: 12.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004367/0.541, allocations: 3.621 MB / 0.5824 GB, free: 7.59 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007721/0.5487, allocations: 5.42 MB / 0.5877 GB, free: 1.07 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.867e-05/0.5488, allocations: 20 kB / 0.5877 GB, free: 1.051 MB / 446.1 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.01084/0.5596, allocations: 5.228 MB / 0.5928 GB, free: 11.82 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.831e-05/0.5597, allocations: 40 kB / 0.5929 GB, free: 11.78 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001076/0.5598, allocations: 83.94 kB / 0.593 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001/0.5608, allocations: 361.4 kB / 0.5933 GB, free: 11.34 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003398/0.5642, allocations: 0.9123 MB / 0.5942 GB, free: 10.43 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006846/0.571, allocations: 4.173 MB / 0.5983 GB, free: 6.105 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004215/0.5752, allocations: 211.8 kB / 0.5985 GB, free: 5.898 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008981/0.5761, allocations: 248 kB / 0.5987 GB, free: 5.656 MB / 462.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.003727/0.5799, allocations: 1.607 MB / 0.6003 GB, free: 4.035 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005226/0.5804, allocations: 242.4 kB / 0.6005 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004685/0.5851, allocations: 2.327 MB / 0.6028 GB, free: 1.449 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001077/0.5852, allocations: 27.98 kB / 0.6028 GB, free: 1.422 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.5852, allocations: 4 kB / 0.6028 GB, free: 1.418 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.613e-05/0.5852, allocations: 8.25 kB / 0.6028 GB, free: 1.41 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3191/0.9043, allocations: 6.435 MB / 0.6091 GB, free: 102.6 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/0.9043, allocations: 5.734 kB / 0.6091 GB, free: 102.6 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.9053, allocations: 241.6 kB / 0.6093 GB, free: 102.6 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007643/0.9061, allocations: 260.3 kB / 0.6096 GB, free: 102.6 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001019/0.9062, allocations: 29.09 kB / 0.6096 GB, free: 102.5 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004439/0.9106, allocations: 3.416 MB / 0.6129 GB, free: 100.5 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-05/0.9106, allocations: 12.19 kB / 0.613 GB, free: 100.4 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006635/0.9173, allocations: 3.6 MB / 0.6165 GB, free: 99.08 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001201/0.9185, allocations: 317.6 kB / 0.6168 GB, free: 98.96 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003118/0.9188, allocations: 32.69 kB / 0.6168 GB, free: 98.94 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008958/0.9197, allocations: 87.5 kB / 0.6169 GB, free: 98.92 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003304/0.92, allocations: 107.7 kB / 0.617 GB, free: 98.9 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001308/0.9201, allocations: 47.41 kB / 0.617 GB, free: 98.89 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.003781/0.9239, allocations: 1.682 MB / 0.6187 GB, free: 98.26 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.9239, allocations: 1.188 kB / 0.6187 GB, free: 98.26 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.005294/0.9292, allocations: 0.7226 MB / 0.6194 GB, free: 98.18 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.0006864/0.9299, allocations: 161.9 kB / 0.6195 GB, free: 98.05 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0081/0.938, allocations: 3.308 MB / 0.6228 GB, free: 96.9 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 8.836e-06/0.938, allocations: 0 / 0.6228 GB, free: 96.9 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00207/0.9401, allocations: 1.101 MB / 0.6239 GB, free: 96.47 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00283/0.9429, allocations: 396.4 kB / 0.6242 GB, free: 96.31 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01559/0.9585, allocations: 6.864 MB / 0.6309 GB, free: 93.2 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002457/0.961, allocations: 2.614 MB / 0.6335 GB, free: 92 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.002663/0.9636, allocations: 1.27 MB / 0.6347 GB, free: 91.9 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004181/0.964, allocations: 181.3 kB / 0.6349 GB, free: 91.88 MB / 462.1 MB Notification: Performance of SimCode: time 1.422e-06/0.964, allocations: 0 / 0.6349 GB, free: 91.88 MB / 462.1 MB Notification: Performance of Templates: time 0.04417/1.008, allocations: 27.89 MB / 0.6621 GB, free: 65.71 MB / 462.1 MB " [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: 6.644892694428563]