Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001624/0.001624, allocations: 113.8 kB / 17.61 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002042/0.002042, allocations: 186 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.583/1.583, allocations: 225.6 MB / 249.4 MB, free: 3.137 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PlanarMechanics 1.6.0-master/package.mo): time 0.04982/0.04982, allocations: 9.241 MB / 313.7 MB, free: 1.605 MB / 238.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-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(PlanarMechanics.Examples.MeasureDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") translateModel(PlanarMechanics.Examples.MeasureDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.MeasureDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 59.91 kB / 437.4 MB, free: 9.02 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3484, allocations: 54.25 MB / 491.6 MB, free: 25.92 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.MeasureDemo): time 0.01626/0.3647, allocations: 13.89 MB / 0.4937 GB, free: 15.62 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01115/0.3758, allocations: 4.049 MB / 0.4976 GB, free: 12.34 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00441/0.3802, allocations: 54.12 kB / 0.4977 GB, free: 12.34 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.3818, allocations: 401.5 kB / 0.498 GB, free: 12 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004406/0.3862, allocations: 0.9232 MB / 0.4989 GB, free: 11.29 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002314/0.3886, allocations: 0.9798 MB / 0.4999 GB, free: 10.52 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.004713/0.3933, allocations: 2.222 MB / 0.5021 GB, free: 9.18 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002823/0.3961, allocations: 2.061 MB / 0.5041 GB, free: 7.699 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.3979, allocations: 1.03 MB / 0.5051 GB, free: 7.07 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001742/0.3997, allocations: 1.279 MB / 0.5063 GB, free: 6.168 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004988/0.4002, allocations: 309.8 kB / 0.5066 GB, free: 6.168 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001516/0.4017, allocations: 0.741 MB / 0.5074 GB, free: 5.949 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0008356/0.4025, allocations: 0.9806 MB / 0.5083 GB, free: 5.25 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001493/0.404, allocations: 1.487 MB / 0.5098 GB, free: 4.148 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004378/0.4084, allocations: 3.898 MB / 0.5136 GB, free: 0.9102 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.4084, allocations: 3.984 kB / 0.5136 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.675e-06/0.4084, allocations: 0 / 0.5136 GB, free: 0.9062 MB / 366.1 MB Notification: Performance of Transformations before backend: time 8.246e-05/0.4085, allocations: 0 / 0.5136 GB, free: 0.9062 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 869 * Number of variables: 869 Notification: Performance of Generate backend data structure: time 0.01181/0.4203, allocations: 4.238 MB / 0.5177 GB, free: 12.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.888e-05/0.4203, allocations: 8.031 kB / 0.5177 GB, free: 12.59 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000726/0.4211, allocations: 314.9 kB / 0.518 GB, free: 12.29 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002171/0.4232, allocations: 1.143 MB / 0.5191 GB, free: 11.1 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001913/0.4234, allocations: 210 kB / 0.5193 GB, free: 10.89 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004756/0.4239, allocations: 295.8 kB / 0.5196 GB, free: 10.6 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01067/0.4346, allocations: 4.736 MB / 0.5243 GB, free: 5.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001302/0.4347, allocations: 43.69 kB / 0.5243 GB, free: 5.352 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002825/0.435, allocations: 128 kB / 0.5244 GB, free: 5.223 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006359/0.4356, allocations: 432.2 kB / 0.5248 GB, free: 4.797 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008231/0.4438, allocations: 3.37 MB / 0.5281 GB, free: 1.41 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02926/0.4731, allocations: 21.61 MB / 0.5492 GB, free: 11.1 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005439/0.4785, allocations: 1.876 MB / 0.5511 GB, free: 9.102 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00122/0.4798, allocations: 0.6713 MB / 0.5517 GB, free: 8.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00855/0.4883, allocations: 5.55 MB / 0.5571 GB, free: 2.359 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.728e-05/0.4884, allocations: 47.55 kB / 0.5572 GB, free: 2.305 MB / 414.1 MB Notification: Performance of pre-optimization done (n=102): time 3.166e-06/0.4884, allocations: 0 / 0.5572 GB, free: 2.305 MB / 414.1 MB Notification: Performance of matching and sorting (n=140): time 0.02456/0.5129, allocations: 9.597 MB / 0.5665 GB, free: 8.602 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.107e-05/0.513, allocations: 64.72 kB / 0.5666 GB, free: 8.527 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002881/0.5159, allocations: 1.822 MB / 0.5684 GB, free: 6.707 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001375/0.516, allocations: 49.7 kB / 0.5684 GB, free: 6.652 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001467/0.5175, allocations: 1.806 MB / 0.5702 GB, free: 4.828 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006585/0.5181, allocations: 0.5542 MB / 0.5707 GB, free: 4.27 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001114/0.5193, allocations: 0.7469 MB / 0.5715 GB, free: 3.516 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0002304/0.5195, allocations: 357.9 kB / 0.5718 GB, free: 3.16 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002053/0.5215, allocations: 1.225 MB / 0.573 GB, free: 1.934 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003869/0.5254, allocations: 3.414 MB / 0.5763 GB, free: 13.44 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006701/0.5321, allocations: 5.112 MB / 0.5813 GB, free: 7.242 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.224e-05/0.5322, allocations: 24 kB / 0.5814 GB, free: 7.219 MB / 446.1 MB Notification: Performance of matching and sorting (n=485) (initialization): time 0.008508/0.5407, allocations: 4.81 MB / 0.5861 GB, free: 2.398 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.966e-05/0.5407, allocations: 43.98 kB / 0.5861 GB, free: 2.355 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.001e-05/0.5408, allocations: 76 kB / 0.5862 GB, free: 2.281 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009367/0.5418, allocations: 373.4 kB / 0.5865 GB, free: 1.914 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002852/0.5446, allocations: 0.889 MB / 0.5874 GB, free: 1.023 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006137/0.5507, allocations: 4.305 MB / 0.5916 GB, free: 12.58 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003055/0.5538, allocations: 211.8 kB / 0.5918 GB, free: 12.37 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004699/0.5543, allocations: 228 kB / 0.592 GB, free: 12.15 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 352 * Number of states: 0 () * Number of discrete variables: 18 (revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[1],fixedTranslation1.color[3],fixedTranslation1.color[2],fixedTranslation1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[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 (464): * Single equations (assignments): 463 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,20,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001846/0.5561, allocations: 0.9281 MB / 0.5929 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003664/0.5565, allocations: 202.6 kB / 0.5931 GB, free: 11.01 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004429/0.5609, allocations: 2.587 MB / 0.5956 GB, free: 8.402 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/0.5609, allocations: 16 kB / 0.5957 GB, free: 8.387 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.5609, allocations: 3.938 kB / 0.5957 GB, free: 8.383 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.547e-05/0.561, allocations: 11.97 kB / 0.5957 GB, free: 8.371 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01272/0.5737, allocations: 6.415 MB / 0.6019 GB, free: 1.828 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-05/0.5737, allocations: 3.938 kB / 0.6019 GB, free: 1.824 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001146/0.5748, allocations: 279.5 kB / 0.6022 GB, free: 1.551 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007168/0.5755, allocations: 263.5 kB / 0.6025 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001005/0.5756, allocations: 28 kB / 0.6025 GB, free: 1.266 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004695/0.5803, allocations: 3.457 MB / 0.6059 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.394e-06/0.5803, allocations: 7.938 kB / 0.6059 GB, free: 13.66 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005972/0.5863, allocations: 3.897 MB / 0.6097 GB, free: 9.699 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008199/0.5871, allocations: 259.8 kB / 0.6099 GB, free: 9.426 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/0.5874, allocations: 28 kB / 0.6099 GB, free: 9.398 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008596/0.5882, allocations: 107.8 kB / 0.61 GB, free: 9.293 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002974/0.5885, allocations: 92.81 kB / 0.6101 GB, free: 9.199 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.5886, allocations: 36 kB / 0.6102 GB, free: 9.164 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001909/0.5905, allocations: 1.096 MB / 0.6112 GB, free: 8.078 MB / 478.1 MB Notification: Performance of sort global known variables: time 1e-07/0.5905, allocations: 0 / 0.6112 GB, free: 8.078 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.003689/0.5942, allocations: 0.6328 MB / 0.6119 GB, free: 7.445 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.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 (121): * Single equations (assignments): 120 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(2,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003052/0.5945, allocations: 139 kB / 0.612 GB, free: 7.297 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.006007/0.6005, allocations: 3.198 MB / 0.6151 GB, free: 4.102 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 7.023e-06/0.6005, allocations: 0 / 0.6151 GB, free: 4.102 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001946/0.6025, allocations: 1.209 MB / 0.6163 GB, free: 2.879 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002311/0.6048, allocations: 460.9 kB / 0.6167 GB, free: 2.453 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3163/0.9211, allocations: 5.082 MB / 0.6217 GB, free: 119.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002327/0.9234, allocations: 1.827 MB / 0.6235 GB, free: 118.6 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.002939/0.9263, allocations: 0.8551 MB / 0.6243 GB, free: 118.6 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005989/0.9269, allocations: 153.3 kB / 0.6245 GB, free: 118.6 MB / 478.1 MB Notification: Performance of SimCode: time 2.374e-06/0.9269, allocations: 0 / 0.6245 GB, free: 118.6 MB / 478.1 MB Notification: Performance of Templates: time 0.06041/0.9873, allocations: 28.88 MB / 0.6527 GB, free: 106.2 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.MeasureDemo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.MeasureDemo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.34332378115505]