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.001326/0.001326, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001525/0.001525, allocations: 215.4 kB / 22.25 MB, free: 4.855 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.789 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.05031/0.05031, allocations: 9.23 MB / 321.7 MB, free: 9.938 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.002206/0.002206, allocations: 67.91 kB / 448.2 MB, free: 14.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1032/0.1054, allocations: 55.46 MB / 0.4918 GB, free: 6.613 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.009669/0.1151, allocations: 7.428 MB / 0.4991 GB, free: 15.15 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005561/0.1207, allocations: 2.507 MB / 0.5015 GB, free: 12.63 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001119/0.1218, allocations: 35.88 kB / 0.5016 GB, free: 12.6 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001157/0.1229, allocations: 385.4 kB / 0.5019 GB, free: 12.22 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004014/0.127, allocations: 1.459 MB / 0.5033 GB, free: 10.75 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006155/0.1276, allocations: 131.8 kB / 0.5035 GB, free: 10.62 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.00363/0.1312, allocations: 2.524 MB / 0.5059 GB, free: 8.098 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001405/0.1326, allocations: 0.7496 MB / 0.5067 GB, free: 7.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001646/0.1342, allocations: 0.9222 MB / 0.5076 GB, free: 6.395 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002351/0.1366, allocations: 1.374 MB / 0.5089 GB, free: 5.016 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006926/0.1373, allocations: 232 kB / 0.5091 GB, free: 4.789 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.1391, allocations: 0.7645 MB / 0.5099 GB, free: 4.023 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001618/0.1407, allocations: 1.242 MB / 0.5111 GB, free: 2.777 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.1425, allocations: 1.094 MB / 0.5122 GB, free: 1.676 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2023/0.3448, allocations: 5.036 MB / 0.5171 GB, free: 12.95 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.3448, allocations: 0 / 0.5171 GB, free: 12.95 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3448, allocations: 0.875 kB / 0.5171 GB, free: 12.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.113e-05/0.3449, allocations: 0 / 0.5171 GB, free: 12.95 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.009194/0.3541, allocations: 4.398 MB / 0.5214 GB, free: 11.54 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3541, allocations: 13 kB / 0.5214 GB, free: 11.54 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006513/0.3606, allocations: 1.79 MB / 0.5231 GB, free: 11.32 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002485/0.3631, allocations: 1.315 MB / 0.5244 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000112/0.3632, allocations: 149.5 kB / 0.5246 GB, free: 10.97 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004378/0.3637, allocations: 201.1 kB / 0.5248 GB, free: 10.96 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01164/0.3753, allocations: 8.258 MB / 0.5328 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.246e-05/0.3754, allocations: 21.78 kB / 0.5328 GB, free: 9.293 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002918/0.3757, allocations: 93.89 kB / 0.5329 GB, free: 9.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002852/0.3785, allocations: 1.912 MB / 0.5348 GB, free: 8.895 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01237/0.3909, allocations: 7.402 MB / 0.542 GB, free: 6.234 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02976/0.4206, allocations: 23.21 MB / 0.5647 GB, free: 2.332 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006021/0.4267, allocations: 2.093 MB / 0.5667 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00141/0.4281, allocations: 0.8542 MB / 0.5676 GB, free: 15.39 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006075/0.4342, allocations: 2.845 MB / 0.5703 GB, free: 12.56 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.4342, allocations: 43.56 kB / 0.5704 GB, free: 12.5 MB / 414.1 MB Notification: Performance of pre-optimization done (n=148): time 3.767e-06/0.4342, allocations: 0 / 0.5704 GB, free: 12.5 MB / 414.1 MB Notification: Performance of matching and sorting (n=176): time 0.01307/0.4473, allocations: 5.48 MB / 0.5757 GB, free: 7.078 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.698e-05/0.4473, allocations: 71.53 kB / 0.5758 GB, free: 6.996 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003273/0.4506, allocations: 2.23 MB / 0.578 GB, free: 4.766 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001259/0.4507, allocations: 49.7 kB / 0.578 GB, free: 4.711 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001587/0.4523, allocations: 2.211 MB / 0.5802 GB, free: 2.516 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006452/0.453, allocations: 0.6725 MB / 0.5808 GB, free: 1.852 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001177/0.4541, allocations: 0.8407 MB / 0.5817 GB, free: 1 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.4543, allocations: 341.9 kB / 0.582 GB, free: 0.6602 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002291/0.4566, allocations: 1.375 MB / 0.5833 GB, free: 15.28 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004145/0.4607, allocations: 3.627 MB / 0.5869 GB, free: 10.56 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006675/0.4674, allocations: 5.416 MB / 0.5922 GB, free: 4.375 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.461e-05/0.4675, allocations: 24 kB / 0.5922 GB, free: 4.352 MB / 430.1 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.009091/0.4766, allocations: 5.188 MB / 0.5973 GB, free: 15.38 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.106e-05/0.4766, allocations: 40 kB / 0.5973 GB, free: 15.34 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.667e-05/0.4767, allocations: 81.5 kB / 0.5974 GB, free: 15.26 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009357/0.4776, allocations: 363.5 kB / 0.5977 GB, free: 14.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002734/0.4804, allocations: 0.9124 MB / 0.5986 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005979/0.4864, allocations: 4.004 MB / 0.6025 GB, free: 9.891 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002264/0.4886, allocations: 213.6 kB / 0.6027 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000346/0.489, allocations: 246.2 kB / 0.603 GB, free: 9.445 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.00257/0.4915, allocations: 1.603 MB / 0.6045 GB, free: 7.828 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/0.4918, allocations: 202.6 kB / 0.6047 GB, free: 7.629 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004244/0.4961, allocations: 2.294 MB / 0.607 GB, free: 5.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001129/0.4962, allocations: 28.64 kB / 0.607 GB, free: 5.293 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.887e-06/0.4962, allocations: 4 kB / 0.607 GB, free: 5.289 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/0.4962, allocations: 7.969 kB / 0.607 GB, free: 5.281 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01005/0.5063, allocations: 5.326 MB / 0.6122 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/0.5063, allocations: 4 kB / 0.6122 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009381/0.5072, allocations: 252.8 kB / 0.6124 GB, free: 15.66 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006942/0.5079, allocations: 256.6 kB / 0.6127 GB, free: 15.4 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9e-05/0.508, allocations: 28 kB / 0.6127 GB, free: 15.37 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004383/0.5124, allocations: 3.256 MB / 0.6159 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.17e-05/0.5124, allocations: 15.94 kB / 0.6159 GB, free: 12.01 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00557/0.518, allocations: 3.563 MB / 0.6194 GB, free: 8.379 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004025/0.5184, allocations: 187.2 kB / 0.6196 GB, free: 8.195 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002241/0.5186, allocations: 37.86 kB / 0.6196 GB, free: 8.16 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007681/0.5194, allocations: 79.91 kB / 0.6197 GB, free: 8.082 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001922/0.5196, allocations: 109 kB / 0.6198 GB, free: 7.977 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001031/0.5197, allocations: 49.7 kB / 0.6198 GB, free: 7.93 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.00197/0.5216, allocations: 1.301 MB / 0.6211 GB, free: 6.637 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5216, allocations: 288 / 0.6211 GB, free: 6.637 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002753/0.5244, allocations: 0.6953 MB / 0.6218 GB, free: 5.941 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.0003289/0.5247, allocations: 169.1 kB / 0.6219 GB, free: 5.77 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.005241/0.53, allocations: 3.312 MB / 0.6252 GB, free: 2.465 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.691e-06/0.53, allocations: 4 kB / 0.6252 GB, free: 2.461 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001667/0.5316, allocations: 1.103 MB / 0.6263 GB, free: 1.344 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001244/0.5329, allocations: 270 kB / 0.6265 GB, free: 1.09 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01077/0.5436, allocations: 6.776 MB / 0.6331 GB, free: 10.25 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002912/0.5466, allocations: 2.061 MB / 0.6351 GB, free: 8.16 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002697/0.5493, allocations: 1.22 MB / 0.6363 GB, free: 6.938 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000384/0.5496, allocations: 151.4 kB / 0.6365 GB, free: 6.789 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/0.5496, allocations: 0 / 0.6365 GB, free: 6.789 MB / 478.1 MB Notification: Performance of Templates: time 0.04645/0.5961, allocations: 25.08 MB / 0.661 GB, free: 14.04 MB / 0.4981 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: 5.507356200367212] Failed to read output from testmodel.py, exit status != 0: 0.6045729145407677 0.618994843 0.270974641 Calling exit ...