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.001515/0.001515, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001679/0.001679, allocations: 214.5 kB / 23.01 MB, free: 4.566 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.341/1.341, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 179] 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.04657/0.04657, allocations: 9.236 MB / 322.4 MB, free: 10.17 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: PlanarMechanics requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.91 kB / 449 MB, free: 14.64 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09061/0.09255, allocations: 55.46 MB / 0.4926 GB, free: 7.105 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.SpringDamperDemo): time 0.009437/0.102, allocations: 8.245 MB / 0.5007 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.004516/0.1065, allocations: 2.583 MB / 0.5032 GB, free: 12.23 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000511/0.107, allocations: 35.94 kB / 0.5032 GB, free: 12.19 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006968/0.1077, allocations: 365.6 kB / 0.5036 GB, free: 11.83 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002446/0.1102, allocations: 1.366 MB / 0.5049 GB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000307/0.1105, allocations: 115.7 kB / 0.505 GB, free: 10.35 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.002584/0.113, allocations: 2.421 MB / 0.5074 GB, free: 7.918 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008283/0.1139, allocations: 0.6656 MB / 0.508 GB, free: 7.23 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009326/0.1148, allocations: 0.8793 MB / 0.5089 GB, free: 6.348 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00164/0.1164, allocations: 1.374 MB / 0.5102 GB, free: 4.969 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003112/0.1168, allocations: 224 kB / 0.5105 GB, free: 4.75 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001288/0.118, allocations: 0.8504 MB / 0.5113 GB, free: 3.898 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001031/0.1191, allocations: 1.223 MB / 0.5125 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.1204, allocations: 1.522 MB / 0.514 GB, free: 1.141 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1827/0.3031, allocations: 4.947 MB / 0.5188 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.391e-06/0.3031, allocations: 1.188 kB / 0.5188 GB, free: 12.75 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3031, allocations: 0 / 0.5188 GB, free: 12.75 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0001009/0.3032, allocations: 0 / 0.5188 GB, free: 12.75 MB / 382.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.005956/0.3091, allocations: 3.262 MB / 0.522 GB, free: 11.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.3091, allocations: 10.28 kB / 0.522 GB, free: 11.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006043/0.3152, allocations: 1.789 MB / 0.5237 GB, free: 11.14 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002444/0.3176, allocations: 1.249 MB / 0.525 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.916e-05/0.3177, allocations: 144.8 kB / 0.5251 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003788/0.3181, allocations: 178 kB / 0.5253 GB, free: 10.79 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01139/0.3295, allocations: 8.107 MB / 0.5332 GB, free: 9.297 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.469e-05/0.3296, allocations: 26.59 kB / 0.5332 GB, free: 9.289 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002655/0.3298, allocations: 94.02 kB / 0.5333 GB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002863/0.3327, allocations: 2.001 MB / 0.5353 GB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01205/0.3448, allocations: 7.178 MB / 0.5423 GB, free: 6.531 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03153/0.3763, allocations: 24.06 MB / 0.5658 GB, free: 2.07 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004467/0.3808, allocations: 1.66 MB / 0.5674 GB, free: 412 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001147/0.3819, allocations: 0.6719 MB / 0.568 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005629/0.3875, allocations: 2.703 MB / 0.5707 GB, free: 13.04 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.986e-05/0.3876, allocations: 52.09 kB / 0.5707 GB, free: 12.98 MB / 414.1 MB Notification: Performance of pre-optimization done (n=114): time 3.307e-06/0.3876, allocations: 0 / 0.5707 GB, free: 12.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=117): time 0.009783/0.3974, allocations: 4.422 MB / 0.5751 GB, free: 8.547 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.179e-05/0.3974, allocations: 64.39 kB / 0.5751 GB, free: 8.469 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003646/0.4011, allocations: 2.584 MB / 0.5776 GB, free: 5.855 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 8.972e-05/0.4011, allocations: 37.7 kB / 0.5777 GB, free: 5.812 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001588/0.4027, allocations: 2.201 MB / 0.5798 GB, free: 3.621 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004505/0.4032, allocations: 481.2 kB / 0.5803 GB, free: 3.156 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001041/0.4042, allocations: 0.7604 MB / 0.581 GB, free: 2.391 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.4044, allocations: 308.1 kB / 0.5813 GB, free: 2.09 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001971/0.4063, allocations: 1.174 MB / 0.5825 GB, free: 0.9141 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003672/0.41, allocations: 3.325 MB / 0.5857 GB, free: 12.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00588/0.4159, allocations: 4.81 MB / 0.5904 GB, free: 7.02 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.175e-05/0.4159, allocations: 20 kB / 0.5904 GB, free: 7 MB / 430.1 MB Notification: Performance of matching and sorting (n=487) (initialization): time 0.007352/0.4233, allocations: 4.45 MB / 0.5948 GB, free: 2.781 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.18e-05/0.4233, allocations: 42.69 kB / 0.5948 GB, free: 2.742 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.137e-05/0.4234, allocations: 76 kB / 0.5949 GB, free: 2.668 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001028/0.4235, allocations: 104 kB / 0.595 GB, free: 2.566 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/0.4261, allocations: 0.8422 MB / 0.5958 GB, free: 1.723 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001374/0.4262, allocations: 155.6 kB / 0.596 GB, free: 1.57 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002181/0.4284, allocations: 186.5 kB / 0.5961 GB, free: 1.391 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003327/0.4287, allocations: 221.3 kB / 0.5963 GB, free: 1.176 MB / 430.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.002454/0.4312, allocations: 1.579 MB / 0.5979 GB, free: 15.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003264/0.4315, allocations: 218.5 kB / 0.5981 GB, free: 15.37 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002479/0.434, allocations: 1.428 MB / 0.5995 GB, free: 13.94 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001238/0.4341, allocations: 23.98 kB / 0.5995 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.4341, allocations: 0 / 0.5995 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/0.4341, allocations: 3.984 kB / 0.5995 GB, free: 13.91 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008435/0.4426, allocations: 4.784 MB / 0.6042 GB, free: 9.02 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.117e-06/0.4426, allocations: 4 kB / 0.6042 GB, free: 9.016 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008313/0.4434, allocations: 187.7 kB / 0.6044 GB, free: 8.832 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.68e-05/0.4434, allocations: 14.62 kB / 0.6044 GB, free: 8.82 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.419e-05/0.4435, allocations: 24.8 kB / 0.6044 GB, free: 8.797 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.156e-05/0.4435, allocations: 11.94 kB / 0.6044 GB, free: 8.785 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.364e-06/0.4435, allocations: 8.609 kB / 0.6044 GB, free: 8.777 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/0.447, allocations: 2.401 MB / 0.6068 GB, free: 6.293 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005612/0.4476, allocations: 226.6 kB / 0.607 GB, free: 6.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002373/0.4478, allocations: 28.17 kB / 0.607 GB, free: 6.043 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00071/0.4485, allocations: 51.89 kB / 0.6071 GB, free: 5.992 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.4487, allocations: 72.42 kB / 0.6071 GB, free: 5.922 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.971e-05/0.4487, allocations: 51.92 kB / 0.6072 GB, free: 5.871 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002498/0.4512, allocations: 1.652 MB / 0.6088 GB, free: 4.203 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4512, allocations: 0 / 0.6088 GB, free: 4.203 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002548/0.4538, allocations: 0.6045 MB / 0.6094 GB, free: 3.602 MB / 446.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.0003322/0.4541, allocations: 159.8 kB / 0.6095 GB, free: 3.438 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004229/0.4583, allocations: 2.541 MB / 0.612 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.4583, allocations: 0 / 0.612 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009623/0.4593, allocations: 0.5987 MB / 0.6126 GB, free: 328 kB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001653/0.461, allocations: 369 kB / 0.613 GB, free: 15.97 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01129/0.4723, allocations: 6.848 MB / 0.6196 GB, free: 9.043 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002847/0.4751, allocations: 2.56 MB / 0.6221 GB, free: 6.457 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006995/0.4758, allocations: 203.4 kB / 0.6223 GB, free: 6.258 MB / 462.1 MB Notification: Performance of SimCode: time 9.92e-07/0.4758, allocations: 0 / 0.6223 GB, free: 6.258 MB / 462.1 MB Notification: Performance of Templates: time 0.0578/0.5336, allocations: 40 MB / 0.6614 GB, free: 14.41 MB / 0.4981 GB " [Timeout remaining time 659] 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: 10.14852106384933] Failed to read output from testmodel.py, exit status != 0: 0.5420984919182956 0.5570338970000001 0.25087400000000004 Calling exit ...