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.001362/0.001362, allocations: 86.05 kB / 19.87 MB, free: 4.617 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.001659/0.001659, allocations: 169.7 kB / 23.27 MB, free: 1.223 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.114/1.114, allocations: 177.1 MB / 203.7 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] 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.04616/0.04616, allocations: 7.186 MB / 267.4 MB, free: 5.891 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 2.334e-06/2.334e-06, allocations: 0 / 339.3 MB, free: 11.01 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.197e-05/3.43e-05, allocations: 6.031 kB / 339.3 MB, free: 11 MB / 314.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.007754/0.007788, allocations: 7.842 MB / 347.1 MB, free: 3.121 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.006448/0.01424, allocations: 2.491 MB / 349.6 MB, free: 0.6172 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001774/0.01601, allocations: 35.88 kB / 349.7 MB, free: 0.582 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.01723, allocations: 365.5 kB / 350 MB, free: 228 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004045/0.02127, allocations: 1.431 MB / 351.5 MB, free: 14.79 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000504/0.02177, allocations: 123.6 kB / 351.6 MB, free: 14.66 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.003665/0.02544, allocations: 2.5 MB / 354.1 MB, free: 12.16 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001467/0.02691, allocations: 0.7132 MB / 354.8 MB, free: 11.43 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002205/0.02911, allocations: 1.344 MB / 356.1 MB, free: 10.08 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.03126, allocations: 1.289 MB / 357.4 MB, free: 8.785 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006725/0.03193, allocations: 228 kB / 357.7 MB, free: 8.562 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001711/0.03364, allocations: 0.8035 MB / 358.5 MB, free: 7.758 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001241/0.03488, allocations: 1.254 MB / 359.7 MB, free: 6.5 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.03609, allocations: 0.8096 MB / 360.5 MB, free: 5.688 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00525/0.04134, allocations: 3.268 MB / 363.8 MB, free: 2.406 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.646e-06/0.04135, allocations: 0 / 363.8 MB, free: 2.406 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.04135, allocations: 0 / 363.8 MB, free: 2.406 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000184/0.04154, allocations: 0 / 363.8 MB, free: 2.406 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: 1180 * Number of variables: 1180 Notification: Performance of Generate backend data structure: time 0.006375/0.04791, allocations: 3.543 MB / 367.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.04796, allocations: 8.031 kB / 367.3 MB, free: 14.8 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00334/0.0513, allocations: 1.271 MB / 368.6 MB, free: 13.52 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001972/0.05327, allocations: 1.145 MB / 369.8 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001105/0.05338, allocations: 147.9 kB / 369.9 MB, free: 12.2 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002705/0.05366, allocations: 188.2 kB / 370.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006628/0.06028, allocations: 3.669 MB / 373.8 MB, free: 7.855 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.956e-05/0.06035, allocations: 20 kB / 373.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002153/0.06057, allocations: 100.2 kB / 373.9 MB, free: 7.738 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001909/0.06248, allocations: 1.774 MB / 375.6 MB, free: 5.961 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006902/0.06938, allocations: 1.871 MB / 377.5 MB, free: 4.07 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03271/0.1021, allocations: 24.04 MB / 401.6 MB, free: 11.41 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002938/0.105, allocations: 0.9229 MB / 402.5 MB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004195/0.1054, allocations: 242.8 kB / 402.7 MB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003911/0.1094, allocations: 2.214 MB / 404.9 MB, free: 7.988 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.31e-05/0.1094, allocations: 46.39 kB / 405 MB, free: 7.93 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 4.158e-06/0.1094, allocations: 3.938 kB / 405 MB, free: 7.926 MB / 378.7 MB Notification: Performance of matching and sorting (n=122): time 0.006499/0.1159, allocations: 2.429 MB / 407.4 MB, free: 5.465 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.116, allocations: 60.41 kB / 407.5 MB, free: 5.395 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002767/0.1187, allocations: 1.931 MB / 409.4 MB, free: 3.449 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.499e-05/0.1188, allocations: 41.7 kB / 409.4 MB, free: 3.402 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001485/0.1203, allocations: 2.334 MB / 411.8 MB, free: 1.043 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005/0.1208, allocations: 0.5079 MB / 412.3 MB, free: 0.5312 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001001/0.1218, allocations: 0.8328 MB / 413.1 MB, free: 15.69 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001938/0.122, allocations: 0.5159 MB / 413.6 MB, free: 15.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006209/0.1226, allocations: 307.2 kB / 413.9 MB, free: 14.86 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002867/0.1255, allocations: 3.504 MB / 417.4 MB, free: 9.906 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0048/0.1303, allocations: 4.235 MB / 421.7 MB, free: 4.219 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.45e-05/0.1303, allocations: 20 kB / 421.7 MB, free: 4.199 MB / 394.7 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.005206/0.1355, allocations: 2.857 MB / 424.5 MB, free: 1.344 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.655e-05/0.1356, allocations: 43.94 kB / 424.6 MB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.681e-05/0.1357, allocations: 76 kB / 424.7 MB, free: 1.227 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.893e-05/0.1358, allocations: 100.8 kB / 424.8 MB, free: 1.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/0.1375, allocations: 0.85 MB / 425.6 MB, free: 284 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.303e-05/0.1376, allocations: 147.4 kB / 425.8 MB, free: 136 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002395/0.14, allocations: 148 kB / 425.9 MB, free: 15.98 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002323/0.1403, allocations: 195.9 kB / 426.1 MB, free: 15.8 MB / 410.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 (springDamper.colorConnector_a[1],springDamper.colorConnector_a[2],springDamper.colorConnector_a[3],springDamper.colorConnector_b[1],springDamper.colorConnector_b[2],springDamper.colorConnector_b[3],springDamper.color[1],springDamper.color[2],springDamper.color[3],springDamper.color_a[1],springDamper.color_a[2],springDamper.color_a[3],springDamper.color_b[1],springDamper.color_b[2],springDamper.color_b[3],body.sphereColor[1],body.sphereColor[2],body.sphereColor[3],fixedTranslation.color[1],fixedTranslation.color[2],fixedTranslation.color[3]) * 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.00206/0.1423, allocations: 465.2 kB / 426.5 MB, free: 15.33 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004247/0.1428, allocations: 210.7 kB / 426.7 MB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001101/0.1439, allocations: 0.6841 MB / 427.4 MB, free: 14.43 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001464/0.144, allocations: 20 kB / 427.5 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.144, allocations: 0 / 427.5 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.339e-05/0.144, allocations: 3.984 kB / 427.5 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005552/0.1496, allocations: 2.715 MB / 430.2 MB, free: 11.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.171e-05/0.1496, allocations: 8 kB / 430.2 MB, free: 11.53 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005498/0.1501, allocations: 183.7 kB / 430.4 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.229e-05/0.1501, allocations: 8 kB / 430.4 MB, free: 11.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.569e-05/0.1502, allocations: 28.06 kB / 430.4 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.557e-05/0.1502, allocations: 23.92 kB / 430.4 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/0.1502, allocations: 4 kB / 430.4 MB, free: 11.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.152, allocations: 1.269 MB / 431.7 MB, free: 9.883 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004766/0.1525, allocations: 170.8 kB / 431.9 MB, free: 9.715 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.1526, allocations: 31.98 kB / 431.9 MB, free: 9.684 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003967/0.153, allocations: 27.98 kB / 431.9 MB, free: 9.656 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.431e-05/0.1531, allocations: 92.28 kB / 432 MB, free: 9.566 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/0.1532, allocations: 35.98 kB / 432 MB, free: 9.531 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009911/0.1542, allocations: 0.8008 MB / 432.8 MB, free: 8.738 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1542, allocations: 0 / 432.8 MB, free: 8.738 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003102/0.1573, allocations: 0.6093 MB / 433.5 MB, free: 8.129 MB / 410.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.0009146/0.1582, allocations: 150.9 kB / 433.6 MB, free: 7.973 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.002847/0.161, allocations: 1.514 MB / 435.1 MB, free: 6.469 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.025e-06/0.161, allocations: 0 / 435.1 MB, free: 6.469 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004431/0.1615, allocations: 306.7 kB / 435.4 MB, free: 6.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001234/0.1627, allocations: 275.2 kB / 435.7 MB, free: 5.898 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009806/0.1725, allocations: 5.476 MB / 441.2 MB, free: 264 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.199/0.3715, allocations: 0.8896 MB / 442 MB, free: 129.6 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001341/0.3729, allocations: 293.6 kB / 442.3 MB, free: 129.6 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005873/0.3735, allocations: 394.2 kB / 442.7 MB, free: 129.5 MB / 410.7 MB Notification: Performance of SimCode: time 3.266e-06/0.3735, allocations: 2.844 kB / 442.7 MB, free: 129.5 MB / 410.7 MB Notification: Performance of Templates: time 0.04295/0.4164, allocations: 18.9 MB / 461.6 MB, free: 127.6 MB / 410.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: 4.192212020047009]