Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.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.001423/0.001423, allocations: 102.9 kB / 16.4 MB, free: 6.508 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.001408/0.001408, allocations: 199.8 kB / 19.35 MB, free: 3.73 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.462/1.462, allocations: 222.9 MB / 245.1 MB, free: 14.98 MB / 206.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.04576/0.04576, allocations: 9.137 MB / 306.4 MB, free: 3.742 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.PowerDistanceDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo") translateModel(PlanarMechanics.Examples.PowerDistanceDemo,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001939/0.001939, allocations: 71.86 kB / 423.4 MB, free: 20.01 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1251, allocations: 51.43 MB / 474.8 MB, free: 0.543 MB / 334.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PowerDistanceDemo): time 0.01326/0.1384, allocations: 10.69 MB / 485.5 MB, free: 5.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007237/0.1457, allocations: 2.957 MB / 488.4 MB, free: 2.828 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001911/0.1476, allocations: 39.94 kB / 488.5 MB, free: 2.789 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001612/0.1493, allocations: 456.9 kB / 488.9 MB, free: 2.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006005/0.1553, allocations: 1.657 MB / 490.6 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008969/0.1563, allocations: 179.7 kB / 490.8 MB, free: 0.5 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.007188/0.1635, allocations: 3.115 MB / 493.9 MB, free: 13.38 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003379/0.1669, allocations: 1.141 MB / 495 MB, free: 12.21 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003501/0.1704, allocations: 1.128 MB / 496.1 MB, free: 11.08 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004/0.1745, allocations: 1.615 MB / 497.8 MB, free: 9.461 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009614/0.1755, allocations: 295.9 kB / 498 MB, free: 9.172 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002339/0.1778, allocations: 0.8855 MB / 498.9 MB, free: 8.285 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001941/0.1798, allocations: 1.504 MB / 0.4887 GB, free: 6.777 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002978/0.1828, allocations: 1.957 MB / 0.4906 GB, free: 4.809 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00948/0.1923, allocations: 6.1 MB / 0.4966 GB, free: 14.68 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.1923, allocations: 0 / 0.4966 GB, free: 14.68 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.316e-06/0.1923, allocations: 0 / 0.4966 GB, free: 14.68 MB / 382.1 MB Notification: Performance of Transformations before backend: time 0.0002879/0.1926, allocations: 0 / 0.4966 GB, free: 14.68 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: 1467 * Number of variables: 1467 Notification: Performance of Generate backend data structure: time 0.01472/0.2074, allocations: 4.686 MB / 0.5012 GB, free: 9.922 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.34e-05/0.2074, allocations: 12.03 kB / 0.5012 GB, free: 9.91 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008469/0.2159, allocations: 1.925 MB / 0.503 GB, free: 7.98 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004416/0.2204, allocations: 1.597 MB / 0.5046 GB, free: 6.332 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000194/0.2206, allocations: 185.1 kB / 0.5048 GB, free: 6.148 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006998/0.2213, allocations: 263.7 kB / 0.505 GB, free: 5.891 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3118/0.5331, allocations: 9.773 MB / 0.5146 GB, free: 39.64 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.282e-05/0.5332, allocations: 30.2 kB / 0.5146 GB, free: 39.62 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003748/0.5336, allocations: 121.2 kB / 0.5147 GB, free: 39.58 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003953/0.5376, allocations: 2.301 MB / 0.517 GB, free: 39.14 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02133/0.5589, allocations: 8.475 MB / 0.5252 GB, free: 36.26 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03951/0.5985, allocations: 30.64 MB / 0.5552 GB, free: 11.22 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00577/0.6043, allocations: 2.796 MB / 0.5579 GB, free: 8.305 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001521/0.6058, allocations: 1.051 MB / 0.5589 GB, free: 7.254 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007246/0.6131, allocations: 5.839 MB / 0.5646 GB, free: 0.9609 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.493e-05/0.6132, allocations: 48.61 kB / 0.5647 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=159): time 4.048e-06/0.6132, allocations: 0 / 0.5647 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of matching and sorting (n=181): time 0.02006/0.6332, allocations: 8.305 MB / 0.5728 GB, free: 8.535 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.857e-05/0.6333, allocations: 64.72 kB / 0.5728 GB, free: 8.461 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00545/0.6388, allocations: 3.199 MB / 0.576 GB, free: 5.246 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003374/0.6392, allocations: 45.7 kB / 0.576 GB, free: 5.195 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00237/0.6416, allocations: 2.71 MB / 0.5787 GB, free: 2.461 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000989/0.6426, allocations: 0.7015 MB / 0.5793 GB, free: 1.754 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001501/0.6441, allocations: 0.9977 MB / 0.5803 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.6442, allocations: 305.1 kB / 0.5806 GB, free: 456 kB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002818/0.647, allocations: 1.563 MB / 0.5821 GB, free: 14.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00545/0.6525, allocations: 4.357 MB / 0.5864 GB, free: 9.129 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009325/0.6619, allocations: 6.378 MB / 0.5926 GB, free: 1.387 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.38e-05/0.662, allocations: 28 kB / 0.5926 GB, free: 1.359 MB / 414.1 MB Notification: Performance of matching and sorting (n=642) (initialization): time 0.01258/0.6746, allocations: 6.052 MB / 0.5986 GB, free: 11.3 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.299e-05/0.6747, allocations: 44 kB / 0.5986 GB, free: 11.25 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001164/0.6748, allocations: 100 kB / 0.5987 GB, free: 11.16 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008659/0.6757, allocations: 346.7 kB / 0.599 GB, free: 10.82 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00388/0.6795, allocations: 1.1 MB / 0.6001 GB, free: 9.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005056/0.6846, allocations: 3.697 MB / 0.6037 GB, free: 5.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003593/0.6882, allocations: 247.8 kB / 0.6039 GB, free: 5.633 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00061/0.6889, allocations: 296 kB / 0.6042 GB, free: 5.344 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 446 * Number of states: 0 () * Number of discrete variables: 30 (distance.arrowColor[3],distance.arrowColor[2],distance.arrowColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[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],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 (597): * Single equations (assignments): 591 * Array equations: 5 * 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,17,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003677/0.6925, allocations: 1.887 MB / 0.6061 GB, free: 3.449 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005236/0.6931, allocations: 289.9 kB / 0.6063 GB, free: 3.168 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004704/0.6978, allocations: 2.418 MB / 0.6087 GB, free: 0.7305 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001851/0.698, allocations: 39.97 kB / 0.6087 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.421e-05/0.698, allocations: 11.98 kB / 0.6088 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.608e-05/0.698, allocations: 3.984 kB / 0.6088 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01505/0.7131, allocations: 6.856 MB / 0.6155 GB, free: 9.688 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.276e-05/0.7131, allocations: 4 kB / 0.6155 GB, free: 9.684 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001033/0.7142, allocations: 263.5 kB / 0.6157 GB, free: 9.426 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006312/0.7148, allocations: 219.1 kB / 0.6159 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.836e-05/0.7149, allocations: 40.33 kB / 0.616 GB, free: 9.172 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004006/0.7189, allocations: 2.943 MB / 0.6188 GB, free: 6.094 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.143e-06/0.719, allocations: 4 kB / 0.6188 GB, free: 6.09 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006457/0.7254, allocations: 3.756 MB / 0.6225 GB, free: 2.262 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000966/0.7264, allocations: 359.2 kB / 0.6228 GB, free: 1.891 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003051/0.7267, allocations: 39.94 kB / 0.6229 GB, free: 1.852 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009958/0.7277, allocations: 87.89 kB / 0.623 GB, free: 1.766 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002216/0.728, allocations: 97.12 kB / 0.6231 GB, free: 1.672 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.7281, allocations: 51.98 kB / 0.6231 GB, free: 1.621 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003562/0.7317, allocations: 2.029 MB / 0.6251 GB, free: 15.59 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.7317, allocations: 0 / 0.6251 GB, free: 15.59 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.003707/0.7354, allocations: 0.8514 MB / 0.6259 GB, free: 14.74 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 4 (revolute.phi,revolute.w,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 (143): * Single equations (assignments): 137 * Array equations: 5 * 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,15,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.000376/0.7358, allocations: 165.9 kB / 0.6261 GB, free: 14.57 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.006885/0.7427, allocations: 3.856 MB / 0.6298 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.7427, allocations: 0 / 0.6298 GB, free: 10.72 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001937/0.7446, allocations: 1.203 MB / 0.631 GB, free: 9.508 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002315/0.747, allocations: 457.6 kB / 0.6315 GB, free: 9.07 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/0.7612, allocations: 7.991 MB / 0.6393 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003679/0.7649, allocations: 3.007 MB / 0.6422 GB, free: 13.95 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.003428/0.7684, allocations: 1.428 MB / 0.6436 GB, free: 12.52 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005359/0.7689, allocations: 211.3 kB / 0.6438 GB, free: 12.31 MB / 478.1 MB Notification: Performance of SimCode: time 8.22e-07/0.769, allocations: 4 kB / 0.6438 GB, free: 12.3 MB / 478.1 MB Notification: Performance of Templates: time 0.0601/0.8291, allocations: 27.7 MB / 0.6708 GB, free: 0.7695 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.makefile [Timeout 660] (rm -f PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.pipe ; mkfifo PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.pipe ; head -c 1048576 < PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.pipe >> ../files/PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.sim & ./PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo -abortSlowSimulation -alarm=480 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.243428369984031]