Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.SpringDemo.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.002009/0.002009, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.002414/0.002414, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.453/1.453, allocations: 177.2 MB / 202.8 MB, free: 9.145 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.04757/0.04757, allocations: 7.12 MB / 266.3 MB, free: 9.738 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.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") translateModel(PlanarMechanics.Examples.SpringDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.SpringDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.947e-06/3.947e-06, allocations: 4 kB / 392.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.486e-05/2.88e-05, allocations: 6.219 kB / 392.9 MB, free: 9.191 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDemo): time 0.01058/0.01061, allocations: 8.373 MB / 401.3 MB, free: 0.7773 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006114/0.01673, allocations: 2.655 MB / 403.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001087/0.01781, allocations: 43.88 kB / 404 MB, free: 14.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001001/0.01881, allocations: 421.1 kB / 404.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.0223, allocations: 1.505 MB / 405.9 MB, free: 12.14 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004797/0.02278, allocations: 167.5 kB / 406 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.003469/0.02625, allocations: 2.759 MB / 408.8 MB, free: 9.211 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001215/0.02747, allocations: 0.8004 MB / 409.6 MB, free: 8.387 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002071/0.02954, allocations: 1.5 MB / 411.1 MB, free: 6.883 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002174/0.03171, allocations: 1.399 MB / 412.5 MB, free: 5.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000457/0.03217, allocations: 248 kB / 412.7 MB, free: 5.238 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001646/0.03382, allocations: 0.8425 MB / 413.6 MB, free: 4.395 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001364/0.03518, allocations: 1.379 MB / 415 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001235/0.03641, allocations: 0.8992 MB / 415.9 MB, free: 2.109 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006809/0.04322, allocations: 5.334 MB / 421.2 MB, free: 12.76 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.851e-06/0.04323, allocations: 4 kB / 421.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.04323, allocations: 0 / 421.2 MB, free: 12.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.000184/0.04341, allocations: 0 / 421.2 MB, free: 12.75 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: 1293 * Number of variables: 1293 Notification: Performance of Generate backend data structure: time 0.008009/0.05142, allocations: 3.579 MB / 424.8 MB, free: 9.121 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/0.05147, allocations: 8.625 kB / 424.8 MB, free: 9.113 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007783/0.05925, allocations: 1.941 MB / 426.7 MB, free: 7.168 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003183/0.06243, allocations: 1.376 MB / 428.1 MB, free: 5.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001546/0.06259, allocations: 160.4 kB / 428.3 MB, free: 5.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005637/0.06315, allocations: 216.2 kB / 428.5 MB, free: 5.383 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01452/0.07767, allocations: 8.683 MB / 437.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.951e-05/0.07774, allocations: 23.95 kB / 437.2 MB, free: 12.24 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003321/0.07808, allocations: 107.8 kB / 437.3 MB, free: 12.14 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003679/0.08176, allocations: 2.095 MB / 439.4 MB, free: 10.04 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01593/0.09768, allocations: 7.463 MB / 446.8 MB, free: 2.566 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1866/0.2843, allocations: 24.38 MB / 471.2 MB, free: 42.46 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004367/0.2887, allocations: 1.709 MB / 472.9 MB, free: 41.95 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001321/0.29, allocations: 0.8615 MB / 473.8 MB, free: 41.67 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006944/0.297, allocations: 3.753 MB / 477.5 MB, free: 40.18 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.297, allocations: 47.03 kB / 477.6 MB, free: 40.13 MB / 366.1 MB Notification: Performance of pre-optimization done (n=119): time 3.517e-06/0.297, allocations: 0 / 477.6 MB, free: 40.13 MB / 366.1 MB Notification: Performance of matching and sorting (n=135): time 0.01194/0.3089, allocations: 6.587 MB / 484.2 MB, free: 36.23 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.77e-05/0.3089, allocations: 64.41 kB / 484.2 MB, free: 36.15 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/0.3114, allocations: 2.513 MB / 486.7 MB, free: 33.7 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.795e-05/0.3115, allocations: 45.55 kB / 486.8 MB, free: 33.66 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008141/0.3123, allocations: 2.467 MB / 489.3 MB, free: 31.27 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/0.3125, allocations: 0.5303 MB / 489.8 MB, free: 30.75 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008232/0.3134, allocations: 0.8615 MB / 490.7 MB, free: 29.87 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 6.289e-05/0.3134, allocations: 341.9 kB / 491 MB, free: 29.53 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001654/0.3151, allocations: 1.336 MB / 492.3 MB, free: 28.19 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002389/0.3175, allocations: 3.784 MB / 496.1 MB, free: 23.18 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004335/0.3218, allocations: 5.469 MB / 0.4898 GB, free: 16.52 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.861e-05/0.3218, allocations: 24 kB / 0.4898 GB, free: 16.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=552) (initialization): time 0.006905/0.3288, allocations: 5.238 MB / 0.495 GB, free: 11.24 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.145e-05/0.3288, allocations: 44 kB / 0.495 GB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-05/0.3289, allocations: 84 kB / 0.4951 GB, free: 11.11 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006186/0.3295, allocations: 373 kB / 0.4954 GB, free: 10.73 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002324/0.3318, allocations: 0.9279 MB / 0.4963 GB, free: 9.805 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00462/0.3364, allocations: 8.44 MB / 0.5046 GB, free: 0.8711 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00271/0.3391, allocations: 223.9 kB / 0.5048 GB, free: 0.6523 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003079/0.3395, allocations: 255.8 kB / 0.505 GB, free: 416 kB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 392 * Number of states: 0 () * Number of discrete variables: 30 (prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],damper.color_b[3],damper.color_b[2],damper.color_b[1],damper.color_a[3],damper.color_a[2],damper.color_a[1],damper.colorConnector_b[3],damper.colorConnector_b[2],damper.colorConnector_b[1],damper.colorConnector_a[3],damper.colorConnector_a[2],damper.colorConnector_a[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.colorConnector_b[3],spring1.colorConnector_b[2],spring1.colorConnector_b[1],spring1.colorConnector_a[3],spring1.colorConnector_a[2],spring1.colorConnector_a[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 (505): * Single equations (assignments): 495 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 5 systems {(3,10,66.7%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002676/0.3421, allocations: 1.694 MB / 0.5067 GB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004816/0.3426, allocations: 210.6 kB / 0.5069 GB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003734/0.3463, allocations: 1.868 MB / 0.5087 GB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001383/0.3465, allocations: 35.97 kB / 0.5088 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.3465, allocations: 4 kB / 0.5088 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.3465, allocations: 3.984 kB / 0.5088 GB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008728/0.3552, allocations: 4.45 MB / 0.5131 GB, free: 8.039 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.15e-05/0.3552, allocations: 7.984 kB / 0.5131 GB, free: 8.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007948/0.356, allocations: 183.7 kB / 0.5133 GB, free: 7.852 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004285/0.3565, allocations: 146.9 kB / 0.5134 GB, free: 7.699 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.62e-05/0.3565, allocations: 28.08 kB / 0.5135 GB, free: 7.672 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004618/0.3612, allocations: 4.797 MB / 0.5181 GB, free: 2.582 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/0.3612, allocations: 7.938 kB / 0.5181 GB, free: 2.574 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00477/0.3659, allocations: 2.759 MB / 0.5208 GB, free: 15.75 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005048/0.3664, allocations: 206.8 kB / 0.521 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002371/0.3667, allocations: 24 kB / 0.5211 GB, free: 15.52 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000805/0.3675, allocations: 63.92 kB / 0.5211 GB, free: 15.46 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001795/0.3677, allocations: 84.73 kB / 0.5212 GB, free: 15.37 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.483e-05/0.3678, allocations: 45.86 kB / 0.5212 GB, free: 15.33 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002386/0.3701, allocations: 1.455 MB / 0.5227 GB, free: 13.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3701, allocations: 0 / 0.5227 GB, free: 13.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003468/0.3736, allocations: 0.6942 MB / 0.5233 GB, free: 13.16 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (prismatic.s,prismatic.v) * 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 (102): * Single equations (assignments): 94 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,6,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003626/0.374, allocations: 157.2 kB / 0.5235 GB, free: 13 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006227/0.3802, allocations: 3.551 MB / 0.527 GB, free: 9.406 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 8.365e-06/0.3802, allocations: 4.625 kB / 0.527 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001715/0.3819, allocations: 1.052 MB / 0.528 GB, free: 8.309 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.3835, allocations: 271.6 kB / 0.5283 GB, free: 8.051 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0123/0.3958, allocations: 6.791 MB / 0.5349 GB, free: 1.188 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002989/0.3988, allocations: 2.192 MB / 0.537 GB, free: 14.96 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002754/0.4016, allocations: 1.156 MB / 0.5382 GB, free: 13.8 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000409/0.402, allocations: 156.5 kB / 0.5383 GB, free: 13.65 MB / 414.1 MB Notification: Performance of SimCode: time 7.42e-07/0.402, allocations: 0 / 0.5383 GB, free: 13.65 MB / 414.1 MB Notification: Performance of Templates: time 0.04292/0.4449, allocations: 17.71 MB / 0.5556 GB, free: 12.3 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.SpringDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.SpringDemo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.SpringDemo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.628621235489845] Failed to read output from testmodel.py, exit status != 0: 0.45357873290777206 0.46793150200000005 0.42158625600000005 Calling exit ...