Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.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.00179/0.00179, allocations: 93.47 kB / 19.44 MB, free: 332 kB / 13.93 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.001917/0.001917, allocations: 169.2 kB / 22.76 MB, free: 1.66 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 1.577/1.577, allocations: 177.1 MB / 203.1 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.0/package.mo): time 0.05462/0.05462, allocations: 7.169 MB / 266.7 MB, free: 6.086 MB / 250.7 MB " [Timeout remaining time 180] Using package PlanarMechanics with version 1.7.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.7.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.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") translateModel(PlanarMechanics.Examples.SpringDamperDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 3.938 kB / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.462e-05, allocations: 4.703 kB / 338.1 MB, free: 10.57 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.006835/0.00686, allocations: 7.952 MB / 346.1 MB, free: 2.57 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003972/0.01083, allocations: 2.508 MB / 348.6 MB, free: 52 kB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009956/0.01183, allocations: 35.88 kB / 348.6 MB, free: 16 kB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001096/0.01292, allocations: 365.6 kB / 349 MB, free: 15.66 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003631/0.01655, allocations: 1.423 MB / 350.4 MB, free: 14.23 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000482/0.01704, allocations: 115.6 kB / 350.5 MB, free: 14.11 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0037/0.02074, allocations: 2.504 MB / 353 MB, free: 11.61 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.02218, allocations: 0.7133 MB / 353.7 MB, free: 10.87 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002383/0.02456, allocations: 1.34 MB / 355.1 MB, free: 9.523 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002036/0.0266, allocations: 1.286 MB / 356.4 MB, free: 8.234 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004095/0.02701, allocations: 224 kB / 356.6 MB, free: 8.016 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/0.02859, allocations: 0.7996 MB / 357.4 MB, free: 7.215 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001437/0.03002, allocations: 1.262 MB / 358.6 MB, free: 5.949 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001163/0.03119, allocations: 0.8135 MB / 359.5 MB, free: 5.133 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006566/0.03775, allocations: 4.945 MB / 364.4 MB, free: 176 kB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.03776, allocations: 0 / 364.4 MB, free: 176 kB / 282.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.03776, allocations: 0 / 364.4 MB, free: 176 kB / 282.7 MB Notification: Performance of Transformations before backend: time 0.000104/0.03786, allocations: 4 kB / 364.4 MB, free: 172 kB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1180 * Number of variables: 1180 Notification: Performance of Generate backend data structure: time 0.008659/0.04652, allocations: 3.989 MB / 368.4 MB, free: 12.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.04656, allocations: 8.031 kB / 368.4 MB, free: 12.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008675/0.05524, allocations: 2.234 MB / 370.6 MB, free: 9.871 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003557/0.0588, allocations: 1.205 MB / 371.8 MB, free: 8.633 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000155/0.05895, allocations: 143.9 kB / 372 MB, free: 8.492 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005227/0.05947, allocations: 192.2 kB / 372.2 MB, free: 8.305 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/0.07148, allocations: 4.563 MB / 376.7 MB, free: 3.246 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.209e-05/0.07157, allocations: 20 kB / 376.7 MB, free: 3.227 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002996/0.07187, allocations: 88.23 kB / 376.8 MB, free: 3.141 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003816/0.07568, allocations: 1.993 MB / 378.8 MB, free: 1.145 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009694/0.08538, allocations: 2.807 MB / 381.6 MB, free: 14.32 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1937/0.2791, allocations: 37.36 MB / 419 MB, free: 54.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003973/0.2831, allocations: 1.14 MB / 420.1 MB, free: 54.29 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00083/0.2839, allocations: 367.7 kB / 420.5 MB, free: 54.26 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005596/0.2895, allocations: 2.475 MB / 423 MB, free: 53.62 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.479e-05/0.2895, allocations: 45.36 kB / 423 MB, free: 53.57 MB / 330.7 MB Notification: Performance of pre-optimization done (n=119): time 3.567e-06/0.2895, allocations: 3.438 kB / 423 MB, free: 53.57 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.007818/0.2973, allocations: 3.171 MB / 426.2 MB, free: 52.81 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.211e-05/0.2974, allocations: 60.22 kB / 426.2 MB, free: 52.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003001/0.3004, allocations: 2.624 MB / 428.9 MB, free: 52.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.542e-05/0.3004, allocations: 41.14 kB / 428.9 MB, free: 52.32 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001043/0.3015, allocations: 2.458 MB / 431.4 MB, free: 50.52 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003513/0.3018, allocations: 0.5395 MB / 431.9 MB, free: 50.13 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00103/0.3029, allocations: 0.9896 MB / 432.9 MB, free: 49.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001163/0.303, allocations: 0.5366 MB / 433.4 MB, free: 49.09 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0011/0.3041, allocations: 0.5039 MB / 433.9 MB, free: 48.99 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00215/0.3062, allocations: 3.837 MB / 437.8 MB, free: 44.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003506/0.3097, allocations: 4.703 MB / 442.5 MB, free: 39.63 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.402e-05/0.3098, allocations: 22.03 kB / 442.5 MB, free: 39.63 MB / 330.7 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.005241/0.315, allocations: 3.29 MB / 445.8 MB, free: 37.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.831e-05/0.3151, allocations: 38.5 kB / 445.8 MB, free: 37.9 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.171e-05/0.3151, allocations: 76 kB / 445.9 MB, free: 37.83 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.573e-05/0.3152, allocations: 104 kB / 446 MB, free: 37.73 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002299/0.3175, allocations: 0.8544 MB / 446.9 MB, free: 36.98 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001009/0.3176, allocations: 157.3 kB / 447 MB, free: 36.84 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002158/0.3198, allocations: 181.7 kB / 447.2 MB, free: 36.69 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/0.32, allocations: 228 kB / 447.4 MB, free: 36.47 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 345 * Number of states: 0 () * Number of discrete variables: 21 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],springDamper.color_b[3],springDamper.color_b[2],springDamper.color_b[1],springDamper.color_a[3],springDamper.color_a[2],springDamper.color_a[1],springDamper.color[3],springDamper.color[2],springDamper.color[1],springDamper.colorConnector_b[3],springDamper.colorConnector_b[2],springDamper.colorConnector_b[1],springDamper.colorConnector_a[3],springDamper.colorConnector_a[2],springDamper.colorConnector_a[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (467): * Single equations (assignments): 462 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001054/0.321, allocations: 0.5434 MB / 448 MB, free: 35.92 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002796/0.3213, allocations: 218.7 kB / 448.2 MB, free: 35.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001633/0.323, allocations: 0.8516 MB / 449 MB, free: 34.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001496/0.3231, allocations: 31.97 kB / 449 MB, free: 34.84 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.401e-06/0.3231, allocations: 4 kB / 449.1 MB, free: 34.84 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.3231, allocations: 3.984 kB / 449.1 MB, free: 34.84 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008055/0.3312, allocations: 4.625 MB / 453.7 MB, free: 30.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.3312, allocations: 4.844 kB / 453.7 MB, free: 30.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007901/0.332, allocations: 191.7 kB / 453.9 MB, free: 29.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.296e-05/0.332, allocations: 16 kB / 453.9 MB, free: 29.87 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.069e-05/0.3321, allocations: 33.55 kB / 453.9 MB, free: 29.84 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.217e-06/0.3321, allocations: 8 kB / 453.9 MB, free: 29.83 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.691e-06/0.3321, allocations: 11.94 kB / 453.9 MB, free: 29.82 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002478/0.3346, allocations: 1.585 MB / 455.5 MB, free: 28.1 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004671/0.335, allocations: 178.8 kB / 455.7 MB, free: 27.93 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002169/0.3352, allocations: 27.98 kB / 455.7 MB, free: 27.9 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006782/0.3359, allocations: 52.58 kB / 455.8 MB, free: 27.85 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001212/0.336, allocations: 80.34 kB / 455.9 MB, free: 27.77 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.892e-05/0.3361, allocations: 50.41 kB / 455.9 MB, free: 27.72 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001443/0.3376, allocations: 1.09 MB / 457 MB, free: 26.64 MB / 330.7 MB Notification: Performance of sort global known variables: time 8e-08/0.3376, allocations: 0 / 457 MB, free: 26.64 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002984/0.3406, allocations: 0.6054 MB / 457.6 MB, free: 26.04 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 6 (body.r[1],body.r[2],body.v[1],body.v[2],body.phi,body.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 (97): * Single equations (assignments): 92 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003516/0.3409, allocations: 159.8 kB / 457.8 MB, free: 25.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003481/0.3444, allocations: 1.943 MB / 459.7 MB, free: 23.94 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.483e-06/0.3444, allocations: 0 / 459.7 MB, free: 23.94 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006975/0.3451, allocations: 423.8 kB / 460.1 MB, free: 23.52 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001423/0.3465, allocations: 276.3 kB / 460.4 MB, free: 23.28 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008924/0.3554, allocations: 5.604 MB / 466 MB, free: 17.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001754/0.3572, allocations: 1.811 MB / 467.8 MB, free: 15.68 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.002061/0.3593, allocations: 0.9384 MB / 468.7 MB, free: 14.73 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003242/0.3596, allocations: 148.5 kB / 468.9 MB, free: 14.59 MB / 330.7 MB Notification: Performance of SimCode: time 2.013e-06/0.3596, allocations: 3.938 kB / 468.9 MB, free: 14.59 MB / 330.7 MB Notification: Performance of Templates: time 0.0313/0.3909, allocations: 17.51 MB / 486.4 MB, free: 13.38 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo -abortSlowSimulation -alarm=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.348300543962978]