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.0007103/0.0007103, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0007693/0.0007693, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 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 0.8643/0.8643, allocations: 177.1 MB / 203.5 MB, free: 5.734 MB / 186.7 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.02857/0.02857, allocations: 7.112 MB / 267.1 MB, free: 6.316 MB / 250.7 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: Performance of FrontEnd - loaded program: time 1.352e-06/1.352e-06, allocations: 0 / 393.6 MB, free: 3.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.209e-05/2.344e-05, allocations: 2.281 kB / 393.6 MB, free: 3.496 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.DoublePendulum): time 0.005613/0.005637, allocations: 7.424 MB / 401.1 MB, free: 12.04 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.008529, allocations: 2.523 MB / 403.6 MB, free: 9.504 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003794/0.008909, allocations: 39.81 kB / 403.6 MB, free: 9.465 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000554/0.009463, allocations: 381.4 kB / 404 MB, free: 9.09 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001592/0.01105, allocations: 1.497 MB / 405.5 MB, free: 7.586 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.01123, allocations: 135.7 kB / 405.6 MB, free: 7.453 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001714/0.01294, allocations: 2.586 MB / 408.2 MB, free: 4.859 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005687/0.01351, allocations: 0.7612 MB / 409 MB, free: 4.074 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008733/0.01438, allocations: 1.379 MB / 410.4 MB, free: 2.691 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009837/0.01537, allocations: 1.324 MB / 411.7 MB, free: 1.363 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001879/0.01556, allocations: 232 kB / 411.9 MB, free: 1.137 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007111/0.01627, allocations: 0.8269 MB / 412.7 MB, free: 316 kB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.1484/0.1646, allocations: 1.278 MB / 414 MB, free: 18.38 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008586/0.1655, allocations: 0.8312 MB / 414.8 MB, free: 18.38 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003843/0.1693, allocations: 5.001 MB / 419.8 MB, free: 18.12 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1693, allocations: 0 / 419.8 MB, free: 18.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1693, allocations: 0 / 419.8 MB, free: 18.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.425e-05/0.1694, allocations: 1.625 kB / 419.8 MB, free: 18.12 MB / 330.7 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.006013/0.1754, allocations: 4.401 MB / 424.2 MB, free: 16.55 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.1754, allocations: 9.656 kB / 424.3 MB, free: 16.55 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003536/0.179, allocations: 1.8 MB / 426.1 MB, free: 16.25 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001748/0.1807, allocations: 1.318 MB / 427.4 MB, free: 15.57 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001089/0.1808, allocations: 150.9 kB / 427.5 MB, free: 15.54 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003303/0.1811, allocations: 198 kB / 427.7 MB, free: 15.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007666/0.1888, allocations: 8.268 MB / 436 MB, free: 11.5 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.659e-05/0.1889, allocations: 22.48 kB / 436 MB, free: 11.49 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002099/0.1891, allocations: 101.5 kB / 436.1 MB, free: 11.46 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001484/0.1905, allocations: 1.91 MB / 438 MB, free: 10.71 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0072/0.1977, allocations: 7.42 MB / 445.4 MB, free: 5.039 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01862/0.2164, allocations: 23.27 MB / 468.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0034/0.2198, allocations: 2.199 MB / 470.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008078/0.2206, allocations: 0.8576 MB / 471.8 MB, free: 10.6 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003266/0.2238, allocations: 2.85 MB / 474.6 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.876e-05/0.2239, allocations: 47.67 kB / 474.7 MB, free: 7.695 MB / 362.7 MB Notification: Performance of pre-optimization done (n=148): time 5.931e-06/0.2239, allocations: 10.66 kB / 474.7 MB, free: 7.688 MB / 362.7 MB Notification: Performance of matching and sorting (n=176): time 0.007826/0.2317, allocations: 5.639 MB / 480.3 MB, free: 2.094 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.263e-05/0.2317, allocations: 72.66 kB / 480.4 MB, free: 2.012 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002116/0.2339, allocations: 2.235 MB / 482.6 MB, free: 15.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 6.14e-05/0.2339, allocations: 49.7 kB / 482.7 MB, free: 15.72 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008074/0.2347, allocations: 2.185 MB / 484.8 MB, free: 13.54 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003124/0.235, allocations: 0.6636 MB / 485.5 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007044/0.2358, allocations: 0.8288 MB / 486.3 MB, free: 12.04 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 9.095e-05/0.2358, allocations: 341.9 kB / 486.7 MB, free: 11.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00133/0.2372, allocations: 1.374 MB / 488 MB, free: 10.32 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002517/0.2397, allocations: 3.631 MB / 491.7 MB, free: 5.602 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004041/0.2437, allocations: 5.421 MB / 497.1 MB, free: 15.16 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.982e-05/0.2437, allocations: 20 kB / 497.1 MB, free: 15.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=545) (initialization): time 0.00509/0.2488, allocations: 5.187 MB / 0.4905 GB, free: 9.957 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.619e-05/0.2489, allocations: 40 kB / 0.4906 GB, free: 9.918 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.515e-05/0.2489, allocations: 80 kB / 0.4906 GB, free: 9.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000532/0.2495, allocations: 361.3 kB / 0.491 GB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.2509, allocations: 0.9162 MB / 0.4919 GB, free: 8.566 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003171/0.254, allocations: 3.998 MB / 0.4958 GB, free: 4.48 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001254/0.2553, allocations: 206.9 kB / 0.496 GB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002025/0.2555, allocations: 244 kB / 0.4962 GB, free: 4.043 MB / 394.7 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.002054/0.2575, allocations: 1.605 MB / 0.4978 GB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001602/0.2577, allocations: 206.6 kB / 0.498 GB, free: 2.223 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002255/0.26, allocations: 2.296 MB / 0.5002 GB, free: 15.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.998e-05/0.26, allocations: 31.92 kB / 0.5003 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.26, allocations: 4 kB / 0.5003 GB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.078e-05/0.26, allocations: 8.25 kB / 0.5003 GB, free: 15.87 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005852/0.2659, allocations: 5.344 MB / 0.5055 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.193e-06/0.2659, allocations: 8.406 kB / 0.5055 GB, free: 10.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004934/0.2664, allocations: 250.8 kB / 0.5057 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000392/0.2668, allocations: 259.2 kB / 0.506 GB, free: 9.957 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.846e-05/0.2668, allocations: 31.98 kB / 0.506 GB, free: 9.926 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002615/0.2694, allocations: 3.259 MB / 0.5092 GB, free: 6.566 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.2694, allocations: 4 kB / 0.5092 GB, free: 6.562 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/0.2728, allocations: 3.56 MB / 0.5127 GB, free: 2.938 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.273, allocations: 186.7 kB / 0.5128 GB, free: 2.754 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001245/0.2732, allocations: 34.42 kB / 0.5129 GB, free: 2.723 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003913/0.2735, allocations: 79.84 kB / 0.513 GB, free: 2.645 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001243/0.2737, allocations: 111 kB / 0.5131 GB, free: 2.535 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.14e-05/0.2737, allocations: 51.98 kB / 0.5131 GB, free: 2.484 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001179/0.2749, allocations: 1.301 MB / 0.5144 GB, free: 1.191 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.2749, allocations: 0 / 0.5144 GB, free: 1.191 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.001904/0.2768, allocations: 0.7025 MB / 0.5151 GB, free: 0.4922 MB / 410.7 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.0002797/0.2771, allocations: 159 kB / 0.5152 GB, free: 336 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003474/0.2806, allocations: 3.319 MB / 0.5185 GB, free: 13.02 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.2806, allocations: 3.938 kB / 0.5185 GB, free: 13.01 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009422/0.2815, allocations: 1.106 MB / 0.5195 GB, free: 11.89 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007839/0.2823, allocations: 266.5 kB / 0.5198 GB, free: 11.64 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007423/0.2897, allocations: 7.035 MB / 0.5267 GB, free: 4.504 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/0.2915, allocations: 2.064 MB / 0.5287 GB, free: 2.398 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003456/0.2918, allocations: 200.5 kB / 0.5289 GB, free: 2.203 MB / 426.7 MB Notification: Performance of SimCode: time 1.533e-06/0.2918, allocations: 0 / 0.5289 GB, free: 2.203 MB / 426.7 MB Notification: Performance of Templates: time 0.1894/0.4812, allocations: 56.48 MB / 0.584 GB, free: 158 MB / 474.7 MB " [Timeout remaining time 660] 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.517566304653883] Failed to read output from testmodel.py, exit status != 0: 0.48706182930618525 0.49448157099999995 0.323801968 Calling exit ...