Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.Pendulum.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.0007843/0.0007843, allocations: 80.48 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.0007745/0.0007745, allocations: 173.9 kB / 23.21 MB, free: 1.352 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.8506/0.8506, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.02652/0.02652, allocations: 7.106 MB / 267.1 MB, free: 6.309 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.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") translateModel(PlanarMechanics.Examples.Pendulum,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.Pendulum") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 393.6 MB, free: 3.508 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.4e-05/2.569e-05, allocations: 6.281 kB / 393.6 MB, free: 3.5 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.005419/0.005444, allocations: 6.225 MB / 399.9 MB, free: 13.24 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.002975/0.008419, allocations: 2.273 MB / 402.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003582/0.008778, allocations: 27.94 kB / 402.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005673/0.009345, allocations: 325.9 kB / 402.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001744/0.01109, allocations: 1.349 MB / 403.8 MB, free: 9.258 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001562/0.01125, allocations: 79.81 kB / 403.9 MB, free: 9.18 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001495/0.01274, allocations: 2.186 MB / 406.1 MB, free: 6.988 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005479/0.01329, allocations: 0.5869 MB / 406.7 MB, free: 6.391 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008659/0.01415, allocations: 1.161 MB / 407.8 MB, free: 5.227 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001053/0.01521, allocations: 1.161 MB / 409 MB, free: 4.062 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001927/0.0154, allocations: 204 kB / 409.2 MB, free: 3.863 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008102/0.01621, allocations: 0.78 MB / 410 MB, free: 3.082 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0006991/0.01691, allocations: 1.106 MB / 411.1 MB, free: 1.973 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005636/0.01747, allocations: 0.6968 MB / 411.8 MB, free: 1.273 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.1737/0.1912, allocations: 4.472 MB / 416.3 MB, free: 19.44 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.1912, allocations: 4.922 kB / 416.3 MB, free: 19.44 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.1912, allocations: 0 / 416.3 MB, free: 19.44 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001053/0.1913, allocations: 0 / 416.3 MB, free: 19.44 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: 1017 * Number of variables: 1017 Notification: Performance of Generate backend data structure: time 0.00557/0.1969, allocations: 3.347 MB / 419.6 MB, free: 18.2 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.1969, allocations: 13.34 kB / 419.6 MB, free: 18.2 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003621/0.2005, allocations: 1.746 MB / 421.4 MB, free: 18.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001556/0.2021, allocations: 1.154 MB / 422.5 MB, free: 17.7 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.894e-05/0.2022, allocations: 120.8 kB / 422.6 MB, free: 17.7 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002756/0.2025, allocations: 160 kB / 422.8 MB, free: 17.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008487/0.2109, allocations: 7.213 MB / 430 MB, free: 14.98 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.466e-05/0.211, allocations: 21.05 kB / 430 MB, free: 14.97 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001945/0.2112, allocations: 75.83 kB / 430.1 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001702/0.2129, allocations: 1.74 MB / 431.8 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006225/0.2191, allocations: 6.589 MB / 438.4 MB, free: 11.76 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01428/0.2334, allocations: 19.08 MB / 457.5 MB, free: 9.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002282/0.2357, allocations: 1.562 MB / 459.1 MB, free: 7.441 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006176/0.2363, allocations: 0.6284 MB / 459.7 MB, free: 6.812 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002328/0.2386, allocations: 2.028 MB / 461.7 MB, free: 4.773 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.2386, allocations: 46.67 kB / 461.8 MB, free: 4.723 MB / 346.7 MB Notification: Performance of pre-optimization done (n=106): time 3.116e-06/0.2386, allocations: 2.719 kB / 461.8 MB, free: 4.723 MB / 346.7 MB Notification: Performance of matching and sorting (n=120): time 0.006492/0.2451, allocations: 5.472 MB / 467.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/0.2452, allocations: 64.41 kB / 467.3 MB, free: 15.15 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001586/0.2468, allocations: 1.92 MB / 469.2 MB, free: 13.22 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.525e-05/0.2468, allocations: 41.7 kB / 469.3 MB, free: 13.17 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007609/0.2476, allocations: 1.918 MB / 471.2 MB, free: 11.26 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002284/0.2478, allocations: 471.9 kB / 471.6 MB, free: 10.81 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005775/0.2484, allocations: 0.6595 MB / 472.3 MB, free: 10.14 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.2485, allocations: 341.9 kB / 472.6 MB, free: 9.801 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001103/0.2496, allocations: 1.106 MB / 473.7 MB, free: 8.695 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/0.2515, allocations: 2.967 MB / 476.7 MB, free: 4.844 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003166/0.2546, allocations: 4.374 MB / 481.1 MB, free: 15.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.698e-05/0.2546, allocations: 20 kB / 481.1 MB, free: 15.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.004029/0.2587, allocations: 4.114 MB / 485.2 MB, free: 11.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.672e-05/0.2587, allocations: 40.25 kB / 485.3 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001656/0.2589, allocations: 64 kB / 485.3 MB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002931/0.2592, allocations: 200.8 kB / 485.5 MB, free: 11.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001142/0.2603, allocations: 0.7252 MB / 486.2 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001899/0.2622, allocations: 2.557 MB / 488.8 MB, free: 7.891 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001259/0.2635, allocations: 167.9 kB / 489 MB, free: 7.727 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001708/0.2636, allocations: 195.3 kB / 489.2 MB, free: 7.539 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 298 * Number of states: 0 () * Number of discrete variables: 9 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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 (395): * Single equations (assignments): 390 * 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 {(1,9,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001857/0.2655, allocations: 1.433 MB / 490.6 MB, free: 6.098 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.2656, allocations: 167 kB / 490.8 MB, free: 5.934 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001599/0.2672, allocations: 1.573 MB / 492.3 MB, free: 4.348 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-05/0.2673, allocations: 27.66 kB / 492.3 MB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.2673, allocations: 4 kB / 492.4 MB, free: 4.32 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-06/0.2673, allocations: 3.984 kB / 492.4 MB, free: 4.316 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004549/0.2718, allocations: 3.924 MB / 496.3 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.25e-06/0.2719, allocations: 0 / 496.3 MB, free: 352 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.2722, allocations: 159.8 kB / 496.4 MB, free: 192 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001864/0.2724, allocations: 112.8 kB / 496.5 MB, free: 76 kB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.2724, allocations: 27.92 kB / 496.6 MB, free: 48 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001317/0.2737, allocations: 2.032 MB / 498.6 MB, free: 13.92 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.457e-06/0.2737, allocations: 4 kB / 498.6 MB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002225/0.276, allocations: 2.524 MB / 0.4894 GB, free: 11.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/0.2761, allocations: 147 kB / 0.4895 GB, free: 11.19 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.671e-05/0.2762, allocations: 23.03 kB / 0.4896 GB, free: 11.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003037/0.2765, allocations: 51.94 kB / 0.4896 GB, free: 11.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.796e-05/0.2766, allocations: 71.72 kB / 0.4897 GB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.764e-05/0.2767, allocations: 36.28 kB / 0.4897 GB, free: 11.02 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001051/0.2777, allocations: 1.134 MB / 0.4908 GB, free: 9.887 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.01e-07/0.2777, allocations: 4.062 kB / 0.4908 GB, free: 9.883 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0016/0.2793, allocations: 0.5488 MB / 0.4914 GB, free: 9.336 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (revolute.phi,revolute.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 (88): * Single equations (assignments): 83 * 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 {(1,7,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002521/0.2796, allocations: 146 kB / 0.4915 GB, free: 9.188 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002848/0.2824, allocations: 2.557 MB / 0.494 GB, free: 6.633 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2824, allocations: 448 / 0.494 GB, free: 6.633 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006655/0.2831, allocations: 0.7734 MB / 0.4947 GB, free: 5.844 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007724/0.2839, allocations: 222.7 kB / 0.495 GB, free: 5.641 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006614/0.2905, allocations: 5.856 MB / 0.5007 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001521/0.292, allocations: 1.799 MB / 0.5024 GB, free: 13.89 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003231/0.2923, allocations: 164.5 kB / 0.5026 GB, free: 13.73 MB / 410.7 MB Notification: Performance of SimCode: time 1.643e-06/0.2923, allocations: 0 / 0.5026 GB, free: 13.73 MB / 410.7 MB Notification: Performance of Templates: time 0.04071/0.333, allocations: 48.16 MB / 0.5496 GB, free: 13.65 MB / 458.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.Pendulum.sim & ./PlanarMechanics_PlanarMechanics.Examples.Pendulum -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.Pendulum.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.1040220987051725] Failed to read output from testmodel.py, exit status != 0: 0.3386577991768718 0.3471012 0.1538958 Calling exit ...