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.001435/0.001435, allocations: 76.3 kB / 19.18 MB, free: 2.531 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.001542/0.001542, allocations: 173.9 kB / 22.46 MB, free: 5.355 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.447/1.447, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.04783/0.04783, allocations: 7.119 MB / 266.3 MB, free: 9.777 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.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.292e-06/1.292e-06, allocations: 0 / 392.9 MB, free: 9.234 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.201e-05/2.33e-05, allocations: 5.516 kB / 392.9 MB, free: 9.23 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.009699/0.009722, allocations: 7.211 MB / 400.1 MB, free: 1.984 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005627/0.01535, allocations: 2.439 MB / 402.5 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001286/0.01663, allocations: 35.88 kB / 402.6 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001148/0.01778, allocations: 365.6 kB / 402.9 MB, free: 15.13 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003579/0.02136, allocations: 1.396 MB / 404.3 MB, free: 13.73 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004153/0.02178, allocations: 115.7 kB / 404.4 MB, free: 13.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003235/0.02501, allocations: 2.485 MB / 406.9 MB, free: 11.13 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/0.02615, allocations: 0.6738 MB / 407.6 MB, free: 10.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001721/0.02787, allocations: 1.325 MB / 408.9 MB, free: 9.105 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.02978, allocations: 1.282 MB / 410.2 MB, free: 7.82 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003626/0.03014, allocations: 224 kB / 410.4 MB, free: 7.602 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00145/0.03159, allocations: 0.7995 MB / 411.2 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001211/0.0328, allocations: 1.258 MB / 412.5 MB, free: 5.539 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.03395, allocations: 0.7941 MB / 413.3 MB, free: 4.742 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00599/0.03994, allocations: 4.921 MB / 418.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.03995, allocations: 4 kB / 418.2 MB, free: 15.8 MB / 350.1 MB Notification: Performance of FrontEnd: time 6.622e-06/0.03996, allocations: 3.984 kB / 418.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.504e-05/0.04003, allocations: 0 / 418.2 MB, free: 15.79 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1172 * Number of variables: 1172 Notification: Performance of Generate backend data structure: time 0.006675/0.04671, allocations: 3.235 MB / 421.4 MB, free: 12.51 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.491e-05/0.04676, allocations: 12.03 kB / 421.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007504/0.05427, allocations: 1.875 MB / 423.3 MB, free: 10.62 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002582/0.05685, allocations: 1.257 MB / 424.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001312/0.05698, allocations: 143.8 kB / 424.7 MB, free: 9.191 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004166/0.0574, allocations: 180.2 kB / 424.9 MB, free: 9.016 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01267/0.07007, allocations: 8.094 MB / 433 MB, free: 0.5547 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.84e-05/0.07013, allocations: 20.06 kB / 433 MB, free: 0.5352 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002977/0.07043, allocations: 88.23 kB / 433.1 MB, free: 460 kB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003644/0.07407, allocations: 1.993 MB / 435.1 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01414/0.08821, allocations: 7.09 MB / 442.2 MB, free: 7.352 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1817/0.2699, allocations: 21.73 MB / 463.9 MB, free: 45.49 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00446/0.2744, allocations: 1.719 MB / 465.6 MB, free: 44.98 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0012/0.2756, allocations: 0.6708 MB / 466.3 MB, free: 44.74 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004443/0.28, allocations: 2.432 MB / 468.7 MB, free: 43.74 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.2801, allocations: 47.67 kB / 468.8 MB, free: 43.69 MB / 366.1 MB Notification: Performance of pre-optimization done (n=114): time 3.546e-06/0.2801, allocations: 0 / 468.8 MB, free: 43.69 MB / 366.1 MB Notification: Performance of matching and sorting (n=117): time 0.009327/0.2894, allocations: 4.471 MB / 473.2 MB, free: 42.04 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.164e-05/0.2894, allocations: 59.38 kB / 473.3 MB, free: 41.98 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00234/0.2918, allocations: 2.228 MB / 475.5 MB, free: 41.14 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.73e-05/0.2918, allocations: 33.7 kB / 475.6 MB, free: 41.11 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007057/0.2925, allocations: 2.217 MB / 477.8 MB, free: 39.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002446/0.2928, allocations: 475.4 kB / 478.2 MB, free: 39.12 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007317/0.2935, allocations: 0.7574 MB / 479 MB, free: 38.74 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 5.776e-05/0.2936, allocations: 344.7 kB / 479.3 MB, free: 38.42 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001532/0.2951, allocations: 1.172 MB / 480.5 MB, free: 37.98 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002077/0.2972, allocations: 3.317 MB / 483.8 MB, free: 34.46 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003648/0.3008, allocations: 4.798 MB / 488.6 MB, free: 29.98 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-05/0.3009, allocations: 20 kB / 488.6 MB, free: 29.96 MB / 366.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.005471/0.3063, allocations: 4.394 MB / 493 MB, free: 25.57 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.619e-05/0.3064, allocations: 40 kB / 493.1 MB, free: 25.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.492e-05/0.3064, allocations: 76 kB / 493.1 MB, free: 25.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.667e-05/0.3065, allocations: 103.2 kB / 493.2 MB, free: 25.36 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002203/0.3087, allocations: 0.8503 MB / 494.1 MB, free: 24.51 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-05/0.3088, allocations: 155.4 kB / 494.2 MB, free: 24.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002055/0.3108, allocations: 189.2 kB / 494.4 MB, free: 24.17 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/0.3111, allocations: 224 kB / 494.6 MB, free: 23.95 MB / 366.1 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 (459): * Single equations (assignments): 454 * 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.001688/0.3127, allocations: 1.565 MB / 496.2 MB, free: 22.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002066/0.3129, allocations: 182.8 kB / 496.4 MB, free: 22.2 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001913/0.3149, allocations: 1.379 MB / 497.8 MB, free: 20.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001145/0.315, allocations: 23.98 kB / 497.8 MB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.315, allocations: 0 / 497.8 MB, free: 20.79 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.315, allocations: 8.031 kB / 497.8 MB, free: 20.78 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005365/0.3204, allocations: 3.782 MB / 0.4898 GB, free: 16.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.3204, allocations: 8 kB / 0.4898 GB, free: 16.91 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007705/0.3211, allocations: 187.7 kB / 0.49 GB, free: 16.73 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.3211, allocations: 8 kB / 0.49 GB, free: 16.72 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.125e-05/0.3212, allocations: 36 kB / 0.4901 GB, free: 16.69 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.655e-06/0.3212, allocations: 15.94 kB / 0.4901 GB, free: 16.68 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/0.3212, allocations: 8 kB / 0.4901 GB, free: 16.67 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00256/0.3238, allocations: 2.318 MB / 0.4923 GB, free: 14.27 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002554/0.324, allocations: 186.8 kB / 0.4925 GB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002/0.3242, allocations: 27.92 kB / 0.4925 GB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006817/0.3249, allocations: 51.39 kB / 0.4926 GB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.325, allocations: 80.41 kB / 0.4927 GB, free: 13.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.644e-05/0.3251, allocations: 39.25 kB / 0.4927 GB, free: 13.89 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001337/0.3264, allocations: 1.293 MB / 0.494 GB, free: 12.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3264, allocations: 0 / 0.494 GB, free: 12.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002233/0.3287, allocations: 0.5937 MB / 0.4946 GB, free: 12.02 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * 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 (92): * Single equations (assignments): 87 * 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.0002736/0.3289, allocations: 154.4 kB / 0.4947 GB, free: 11.86 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.003203/0.3321, allocations: 2.534 MB / 0.4972 GB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.919e-06/0.3321, allocations: 8 kB / 0.4972 GB, free: 9.34 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007243/0.3329, allocations: 0.5954 MB / 0.4978 GB, free: 8.742 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001223/0.3341, allocations: 242 kB / 0.498 GB, free: 8.516 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008454/0.3425, allocations: 6.217 MB / 0.5041 GB, free: 2.211 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001885/0.3444, allocations: 2.007 MB / 0.506 GB, free: 168 kB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.00268/0.3471, allocations: 1.063 MB / 0.5071 GB, free: 15.09 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004199/0.3475, allocations: 144.4 kB / 0.5072 GB, free: 14.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.543e-06/0.3475, allocations: 4 kB / 0.5072 GB, free: 14.95 MB / 382.1 MB Notification: Performance of Templates: time 0.03807/0.3856, allocations: 17.23 MB / 0.524 GB, free: 14.02 MB / 398.1 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=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDamperDemo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.059094671159983] Failed to read output from testmodel.py, exit status != 0: 0.3944711349904537 0.40951103699999997 0.36629307499999997 Calling exit ...