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.001335/0.001335, allocations: 78.64 kB / 19.18 MB, free: 2.527 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.001549/0.001549, allocations: 166.9 kB / 22.46 MB, free: 5.359 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.41/1.41, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.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.04762/0.04762, allocations: 7.109 MB / 266.3 MB, free: 9.773 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.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.322e-06/1.322e-06, allocations: 0 / 392.9 MB, free: 9.219 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.912e-05/2.044e-05, allocations: 2.281 kB / 392.9 MB, free: 9.215 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.Pendulum): time 0.007937/0.007957, allocations: 6.229 MB / 399.1 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004425/0.01238, allocations: 2.273 MB / 401.4 MB, free: 0.6719 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006291/0.01301, allocations: 27.94 kB / 401.4 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008632/0.01387, allocations: 317.9 kB / 401.7 MB, free: 340 kB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003086/0.01696, allocations: 1.353 MB / 403.1 MB, free: 14.97 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002694/0.01723, allocations: 79.77 kB / 403.2 MB, free: 14.89 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002484/0.01971, allocations: 2.184 MB / 405.3 MB, free: 12.7 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007359/0.02045, allocations: 0.583 MB / 405.9 MB, free: 12.11 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001319/0.02177, allocations: 1.165 MB / 407.1 MB, free: 10.94 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001512/0.02328, allocations: 1.157 MB / 408.2 MB, free: 9.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002899/0.02357, allocations: 200 kB / 408.4 MB, free: 9.586 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001243/0.02481, allocations: 0.784 MB / 409.2 MB, free: 8.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001032/0.02585, allocations: 1.106 MB / 410.3 MB, free: 7.691 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000856/0.0267, allocations: 0.6968 MB / 411 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004875/0.03158, allocations: 4.478 MB / 415.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.03158, allocations: 0 / 415.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.03158, allocations: 0 / 415.5 MB, free: 2.5 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.926e-05/0.03162, allocations: 0 / 415.5 MB, free: 2.5 MB / 334.1 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.007402/0.03902, allocations: 3.354 MB / 418.9 MB, free: 15.1 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.918e-05/0.03906, allocations: 12.62 kB / 418.9 MB, free: 15.09 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00696/0.04602, allocations: 1.785 MB / 420.7 MB, free: 13.3 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.04826, allocations: 1.152 MB / 421.8 MB, free: 12.12 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001201/0.04838, allocations: 119.3 kB / 421.9 MB, free: 12 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003511/0.04873, allocations: 160.2 kB / 422.1 MB, free: 11.84 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/0.0597, allocations: 7.178 MB / 429.3 MB, free: 4.375 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.757e-05/0.05976, allocations: 24.02 kB / 429.3 MB, free: 4.352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002678/0.06003, allocations: 75.81 kB / 429.4 MB, free: 4.277 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003091/0.06312, allocations: 1.738 MB / 431.1 MB, free: 2.535 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01265/0.07577, allocations: 6.529 MB / 437.6 MB, free: 11.99 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1887/0.2644, allocations: 19.02 MB / 456.6 MB, free: 49.11 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003741/0.2682, allocations: 1.54 MB / 458.2 MB, free: 49.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009172/0.2691, allocations: 0.6248 MB / 458.8 MB, free: 49.06 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00391/0.273, allocations: 2.047 MB / 460.9 MB, free: 48.43 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.273, allocations: 39.25 kB / 460.9 MB, free: 48.39 MB / 366.1 MB Notification: Performance of pre-optimization done (n=106): time 2.955e-06/0.273, allocations: 1.469 kB / 460.9 MB, free: 48.39 MB / 366.1 MB Notification: Performance of matching and sorting (n=120): time 0.01082/0.2838, allocations: 5.428 MB / 466.3 MB, free: 46.35 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.2839, allocations: 65.19 kB / 466.4 MB, free: 46.28 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002135/0.286, allocations: 1.918 MB / 468.3 MB, free: 45.54 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.915e-05/0.2861, allocations: 45.36 kB / 468.3 MB, free: 45.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006096/0.2867, allocations: 1.917 MB / 470.3 MB, free: 44.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002056/0.2869, allocations: 473.3 kB / 470.7 MB, free: 43.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006551/0.2875, allocations: 0.6641 MB / 471.4 MB, free: 43.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.2876, allocations: 340.1 kB / 471.7 MB, free: 43.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001365/0.289, allocations: 1.089 MB / 472.8 MB, free: 42.71 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001899/0.2909, allocations: 2.955 MB / 475.8 MB, free: 39.88 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003514/0.2944, allocations: 4.358 MB / 480.1 MB, free: 36.32 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.496e-05/0.2944, allocations: 21.47 kB / 480.1 MB, free: 36.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=430) (initialization): time 0.005294/0.2997, allocations: 4.085 MB / 484.2 MB, free: 33.8 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.733e-05/0.2997, allocations: 35.84 kB / 484.3 MB, free: 33.77 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.324e-05/0.2998, allocations: 70.5 kB / 484.3 MB, free: 33.7 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004445/0.3002, allocations: 213 kB / 484.5 MB, free: 33.51 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001932/0.3022, allocations: 0.7301 MB / 485.3 MB, free: 32.78 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002244/0.3044, allocations: 2.546 MB / 487.8 MB, free: 30.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.3064, allocations: 174.7 kB / 488 MB, free: 29.97 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002002/0.3066, allocations: 200 kB / 488.2 MB, free: 29.77 MB / 366.1 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.00159/0.3082, allocations: 1.425 MB / 489.6 MB, free: 28.34 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002441/0.3084, allocations: 158.9 kB / 489.8 MB, free: 28.18 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002223/0.3106, allocations: 1.572 MB / 491.3 MB, free: 26.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.644e-05/0.3107, allocations: 23.98 kB / 491.4 MB, free: 26.57 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.3107, allocations: 0 / 491.4 MB, free: 26.57 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.147e-05/0.3107, allocations: 11.92 kB / 491.4 MB, free: 26.56 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005962/0.3167, allocations: 3.886 MB / 495.3 MB, free: 22.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.3167, allocations: 5.562 kB / 495.3 MB, free: 22.62 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006397/0.3173, allocations: 159.7 kB / 495.4 MB, free: 22.46 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003025/0.3176, allocations: 113.3 kB / 495.5 MB, free: 22.35 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.652e-05/0.3177, allocations: 24.86 kB / 495.6 MB, free: 22.33 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001522/0.3192, allocations: 2.028 MB / 497.6 MB, free: 20.21 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.3192, allocations: 4.109 kB / 497.6 MB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002817/0.322, allocations: 2.503 MB / 0.4884 GB, free: 17.64 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002456/0.3223, allocations: 143 kB / 0.4885 GB, free: 17.5 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.3225, allocations: 20 kB / 0.4885 GB, free: 17.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006211/0.3231, allocations: 63.53 kB / 0.4886 GB, free: 17.43 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001173/0.3232, allocations: 72.75 kB / 0.4887 GB, free: 17.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.759e-05/0.3233, allocations: 39.22 kB / 0.4887 GB, free: 17.32 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001246/0.3245, allocations: 1.122 MB / 0.4898 GB, free: 16.2 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3245, allocations: 4.062 kB / 0.4898 GB, free: 16.2 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002325/0.3268, allocations: 0.5468 MB / 0.4903 GB, free: 15.65 MB / 366.1 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.0002907/0.3271, allocations: 141.7 kB / 0.4905 GB, free: 15.5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003134/0.3303, allocations: 2.556 MB / 0.493 GB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3303, allocations: 0 / 0.493 GB, free: 12.96 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008455/0.3311, allocations: 0.7738 MB / 0.4937 GB, free: 12.17 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001087/0.3322, allocations: 222.5 kB / 0.4939 GB, free: 11.97 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006783/0.339, allocations: 5.503 MB / 0.4993 GB, free: 6.406 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001669/0.3407, allocations: 1.788 MB / 0.501 GB, free: 4.594 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.001761/0.3424, allocations: 0.9962 MB / 0.502 GB, free: 3.594 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002873/0.3427, allocations: 128.5 kB / 0.5021 GB, free: 3.469 MB / 366.1 MB Notification: Performance of SimCode: time 8.52e-07/0.3427, allocations: 0 / 0.5021 GB, free: 3.469 MB / 366.1 MB Notification: Performance of Templates: time 0.03517/0.3779, allocations: 16.8 MB / 0.5186 GB, free: 2.93 MB / 382.1 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: 5.024060893803835] Failed to read output from testmodel.py, exit status != 0: 0.38739849999547005 0.40244035399999994 0.36772828700000004 Calling exit ...