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.0009526/0.0009526, allocations: 93.06 kB / 19.65 MB, free: 276 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.001132/0.001132, allocations: 169 kB / 23.02 MB, free: 1.543 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.019/1.019, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.02922/0.02922, allocations: 7.179 MB / 267.1 MB, free: 6.074 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.773e-06/1.773e-06, allocations: 0 / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.721e-05/2.898e-05, allocations: 4.562 kB / 338.9 MB, free: 10.23 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.005438/0.005467, allocations: 8.006 MB / 346.9 MB, free: 2.176 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.003896/0.009362, allocations: 2.514 MB / 349.4 MB, free: 15.65 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006833/0.01005, allocations: 35.94 kB / 349.4 MB, free: 15.61 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006852/0.01073, allocations: 373.5 kB / 349.8 MB, free: 15.25 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00252/0.01325, allocations: 1.423 MB / 351.2 MB, free: 13.82 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002894/0.01354, allocations: 123.5 kB / 351.3 MB, free: 13.7 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.001881/0.01542, allocations: 2.505 MB / 353.8 MB, free: 11.19 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006328/0.01605, allocations: 0.7133 MB / 354.5 MB, free: 10.45 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001084/0.01714, allocations: 1.34 MB / 355.9 MB, free: 9.105 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001184/0.01832, allocations: 1.29 MB / 357.2 MB, free: 7.812 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002698/0.01859, allocations: 224 kB / 357.4 MB, free: 7.594 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001322/0.01991, allocations: 0.7957 MB / 358.2 MB, free: 6.797 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007246/0.02064, allocations: 1.27 MB / 359.5 MB, free: 5.523 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000652/0.02129, allocations: 0.7941 MB / 360.2 MB, free: 4.727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003215/0.02451, allocations: 3.284 MB / 363.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.02451, allocations: 0 / 363.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.02451, allocations: 0 / 363.5 MB, free: 1.43 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.862e-05/0.02457, allocations: 0 / 363.5 MB, free: 1.43 MB / 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.004412/0.02898, allocations: 3.56 MB / 367.1 MB, free: 13.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.02903, allocations: 12.03 kB / 367.1 MB, free: 13.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003976/0.033, allocations: 2.226 MB / 369.3 MB, free: 11.57 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001811/0.03481, allocations: 1.247 MB / 370.6 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.403e-05/0.03491, allocations: 147.9 kB / 370.7 MB, free: 10.14 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/0.03521, allocations: 184.2 kB / 370.9 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006462/0.04167, allocations: 4.033 MB / 374.9 MB, free: 5.438 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.873e-05/0.04173, allocations: 20 kB / 375 MB, free: 5.418 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00021/0.04194, allocations: 96.23 kB / 375 MB, free: 5.324 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00194/0.04388, allocations: 1.989 MB / 377 MB, free: 3.332 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006566/0.05045, allocations: 2.312 MB / 379.3 MB, free: 1.004 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02388/0.07433, allocations: 24.93 MB / 404.3 MB, free: 7.453 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002392/0.07672, allocations: 0.9971 MB / 405.3 MB, free: 6.434 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004043/0.07713, allocations: 278.8 kB / 405.5 MB, free: 6.156 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002817/0.07994, allocations: 2.351 MB / 407.9 MB, free: 3.777 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.07998, allocations: 42.39 kB / 407.9 MB, free: 3.723 MB / 330.7 MB Notification: Performance of pre-optimization done (n=119): time 2.956e-06/0.07998, allocations: 0 / 407.9 MB, free: 3.723 MB / 330.7 MB Notification: Performance of matching and sorting (n=122): time 0.005278/0.08526, allocations: 2.891 MB / 410.8 MB, free: 0.7969 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.24e-05/0.08529, allocations: 60.41 kB / 410.9 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1523/0.2376, allocations: 1.944 MB / 412.8 MB, free: 72.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002126/0.2378, allocations: 42.25 kB / 412.9 MB, free: 72.08 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009979/0.2388, allocations: 2.323 MB / 415.2 MB, free: 71.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004052/0.2392, allocations: 0.5062 MB / 415.7 MB, free: 70.96 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000812/0.24, allocations: 0.8145 MB / 416.5 MB, free: 70.87 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001017/0.2401, allocations: 0.5161 MB / 417 MB, free: 70.39 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008552/0.241, allocations: 391 kB / 417.4 MB, free: 70.38 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.2429, allocations: 3.572 MB / 421 MB, free: 66.29 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003083/0.246, allocations: 4.325 MB / 425.3 MB, free: 62.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.854e-05/0.246, allocations: 22.06 kB / 425.3 MB, free: 62.09 MB / 330.7 MB Notification: Performance of matching and sorting (n=495) (initialization): time 0.004529/0.2506, allocations: 3.068 MB / 428.4 MB, free: 61.4 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.43e-05/0.2506, allocations: 36.33 kB / 428.4 MB, free: 61.4 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.87e-05/0.2507, allocations: 79.19 kB / 428.5 MB, free: 61.39 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001031/0.2508, allocations: 104.3 kB / 428.6 MB, free: 61.39 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001603/0.2524, allocations: 0.8573 MB / 429.5 MB, free: 61.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.559e-05/0.2525, allocations: 147.7 kB / 429.6 MB, free: 61.29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001551/0.2541, allocations: 180 kB / 429.8 MB, free: 61.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002143/0.2543, allocations: 229.1 kB / 430 MB, free: 61.29 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.0009278/0.2552, allocations: 453.1 kB / 430.5 MB, free: 61 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002431/0.2554, allocations: 218.3 kB / 430.7 MB, free: 60.9 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009553/0.2564, allocations: 0.7378 MB / 431.4 MB, free: 60.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.993e-05/0.2565, allocations: 34.36 kB / 431.4 MB, free: 60.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.2565, allocations: 2.938 kB / 431.5 MB, free: 60.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.425e-06/0.2565, allocations: 3.047 kB / 431.5 MB, free: 60.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004513/0.261, allocations: 3.5 MB / 435 MB, free: 58.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.261, allocations: 4 kB / 435 MB, free: 58.34 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004368/0.2615, allocations: 193.7 kB / 435.1 MB, free: 58.18 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/0.2615, allocations: 12 kB / 435.2 MB, free: 58.16 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.91e-05/0.2615, allocations: 30.67 kB / 435.2 MB, free: 58.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.749e-06/0.2615, allocations: 14.75 kB / 435.2 MB, free: 58.12 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.2615, allocations: 8.375 kB / 435.2 MB, free: 58.12 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001288/0.2628, allocations: 1.35 MB / 436.6 MB, free: 56.71 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000285/0.2631, allocations: 189.4 kB / 436.7 MB, free: 56.54 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001399/0.2633, allocations: 24 kB / 436.8 MB, free: 56.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003573/0.2636, allocations: 52.86 kB / 436.8 MB, free: 56.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.345e-05/0.2637, allocations: 88.02 kB / 436.9 MB, free: 56.43 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.2637, allocations: 44.72 kB / 437 MB, free: 56.39 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008028/0.2645, allocations: 0.8604 MB / 437.8 MB, free: 55.68 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.2645, allocations: 4 kB / 437.8 MB, free: 55.68 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002046/0.2666, allocations: 0.5997 MB / 438.4 MB, free: 55.08 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.0002819/0.2669, allocations: 166.1 kB / 438.6 MB, free: 54.92 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002193/0.2691, allocations: 1.612 MB / 440.2 MB, free: 53.51 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/0.2691, allocations: 256 / 440.2 MB, free: 53.51 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003581/0.2694, allocations: 330.9 kB / 440.5 MB, free: 53.22 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009149/0.2703, allocations: 276.2 kB / 440.8 MB, free: 53 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007265/0.2776, allocations: 5.508 MB / 446.3 MB, free: 47.78 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000812/0.2784, allocations: 0.8939 MB / 447.2 MB, free: 47.1 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.001434/0.2799, allocations: 0.9406 MB / 448.1 MB, free: 46.23 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000283/0.2801, allocations: 148.5 kB / 448.3 MB, free: 46.08 MB / 330.7 MB Notification: Performance of SimCode: time 1.573e-06/0.2801, allocations: 0 / 448.3 MB, free: 46.08 MB / 330.7 MB Notification: Performance of Templates: time 0.02607/0.3062, allocations: 18.33 MB / 466.6 MB, free: 28.06 MB / 330.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: 3.318903762847185]