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.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.001369/0.001369, allocations: 79.59 kB / 19.18 MB, free: 2.516 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.001601/0.001601, allocations: 162.4 kB / 22.46 MB, free: 5.375 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.444/1.444, allocations: 177.2 MB / 202.8 MB, free: 9.152 MB / 190.1 MB " [Timeout remaining time 178] 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.04851/0.04851, allocations: 7.11 MB / 266.3 MB, free: 9.746 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.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 1.242e-06/1.242e-06, allocations: 0 / 392.9 MB, free: 9.211 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.459e-05/2.583e-05, allocations: 10.16 kB / 392.9 MB, free: 9.199 MB / 318.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PowerDistanceDemo): time 0.01222/0.01224, allocations: 9.353 MB / 402.2 MB, free: 15.8 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006455/0.0187, allocations: 2.874 MB / 405.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001194/0.01989, allocations: 51.81 kB / 405.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001266/0.02116, allocations: 464.7 kB / 405.6 MB, free: 12.41 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004262/0.02542, allocations: 1.761 MB / 407.4 MB, free: 10.64 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005344/0.02595, allocations: 179.5 kB / 407.6 MB, free: 10.46 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.004297/0.03025, allocations: 3.163 MB / 410.7 MB, free: 7.289 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001774/0.03202, allocations: 0.9541 MB / 411.7 MB, free: 6.312 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003117/0.03514, allocations: 1.734 MB / 413.4 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002506/0.03765, allocations: 1.601 MB / 415 MB, free: 2.969 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005849/0.03823, allocations: 292 kB / 415.3 MB, free: 2.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001845/0.04008, allocations: 0.8971 MB / 416.2 MB, free: 1.785 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001783/0.04186, allocations: 1.573 MB / 417.8 MB, free: 212 kB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001634/0.04349, allocations: 1.032 MB / 418.8 MB, free: 15.17 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007858/0.05135, allocations: 6.039 MB / 424.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.71e-06/0.05136, allocations: 0 / 424.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.05136, allocations: 0 / 424.8 MB, free: 9.109 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001684/0.05153, allocations: 0 / 424.8 MB, free: 9.109 MB / 350.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.01173/0.06325, allocations: 4.615 MB / 429.4 MB, free: 4.441 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.06329, allocations: 8.625 kB / 429.5 MB, free: 4.434 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008213/0.07151, allocations: 2.007 MB / 431.5 MB, free: 2.422 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003085/0.07459, allocations: 1.528 MB / 433 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00018/0.07477, allocations: 193.1 kB / 433.2 MB, free: 0.6641 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005353/0.07531, allocations: 252.1 kB / 433.4 MB, free: 428 kB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0159/0.09121, allocations: 9.761 MB / 443.2 MB, free: 6.203 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-05/0.09129, allocations: 31.77 kB / 443.2 MB, free: 6.172 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003672/0.09166, allocations: 123.8 kB / 443.3 MB, free: 6.051 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004133/0.09579, allocations: 2.299 MB / 445.6 MB, free: 3.75 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.175/0.2708, allocations: 8.386 MB / 454 MB, free: 56.3 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0364/0.3072, allocations: 27.57 MB / 481.6 MB, free: 37.45 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005893/0.3131, allocations: 2.321 MB / 483.9 MB, free: 36.02 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001331/0.3144, allocations: 0.9507 MB / 484.9 MB, free: 35.07 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006125/0.3205, allocations: 3.59 MB / 488.5 MB, free: 31.58 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.775e-05/0.3206, allocations: 43.88 kB / 488.5 MB, free: 31.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=159): time 3.877e-06/0.3206, allocations: 3.75 kB / 488.5 MB, free: 31.53 MB / 366.1 MB Notification: Performance of matching and sorting (n=181): time 0.01427/0.3348, allocations: 8.103 MB / 496.6 MB, free: 23.6 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.655e-05/0.3349, allocations: 68.72 kB / 496.7 MB, free: 23.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002685/0.3376, allocations: 2.687 MB / 499.4 MB, free: 20.8 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001222/0.3377, allocations: 45.7 kB / 499.4 MB, free: 20.75 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001036/0.3387, allocations: 2.719 MB / 0.4904 GB, free: 18.04 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004312/0.3391, allocations: 0.6955 MB / 0.491 GB, free: 17.35 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001057/0.3402, allocations: 0.9842 MB / 0.492 GB, free: 16.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 7.186e-05/0.3403, allocations: 345.9 kB / 0.4923 GB, free: 16.02 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002029/0.3423, allocations: 1.54 MB / 0.4938 GB, free: 14.47 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002894/0.3452, allocations: 4.342 MB / 0.4981 GB, free: 8.742 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00534/0.3505, allocations: 6.33 MB / 0.5043 GB, free: 1.039 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.774e-05/0.3506, allocations: 28 kB / 0.5043 GB, free: 1.012 MB / 366.1 MB Notification: Performance of matching and sorting (n=642) (initialization): time 0.01083/0.3614, allocations: 5.957 MB / 0.5101 GB, free: 11.06 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.173e-05/0.3615, allocations: 48 kB / 0.5101 GB, free: 11.02 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001212/0.3616, allocations: 100 kB / 0.5102 GB, free: 10.92 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008394/0.3625, allocations: 340.6 kB / 0.5106 GB, free: 10.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003348/0.3658, allocations: 1.1 MB / 0.5116 GB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00491/0.3707, allocations: 3.54 MB / 0.5151 GB, free: 5.836 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002937/0.3736, allocations: 247.9 kB / 0.5153 GB, free: 5.594 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000432/0.3741, allocations: 296 kB / 0.5156 GB, free: 5.305 MB / 382.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.002967/0.377, allocations: 1.88 MB / 0.5174 GB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003907/0.3774, allocations: 246.4 kB / 0.5177 GB, free: 3.176 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004389/0.3818, allocations: 2.319 MB / 0.5199 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001409/0.382, allocations: 31.98 kB / 0.52 GB, free: 0.8125 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.898e-06/0.382, allocations: 7.984 kB / 0.52 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.382, allocations: 3.984 kB / 0.52 GB, free: 0.8008 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01028/0.3923, allocations: 5.483 MB / 0.5253 GB, free: 11.26 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/0.3923, allocations: 4.469 kB / 0.5253 GB, free: 11.25 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001156/0.3934, allocations: 271.6 kB / 0.5256 GB, free: 10.99 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006381/0.3941, allocations: 212.7 kB / 0.5258 GB, free: 10.78 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.955e-05/0.3942, allocations: 35.98 kB / 0.5258 GB, free: 10.74 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003733/0.3979, allocations: 2.798 MB / 0.5286 GB, free: 7.848 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.983e-06/0.3979, allocations: 7.938 kB / 0.5286 GB, free: 7.84 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00593/0.4038, allocations: 3.603 MB / 0.5321 GB, free: 4.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004714/0.4043, allocations: 218.5 kB / 0.5323 GB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002707/0.4046, allocations: 28 kB / 0.5323 GB, free: 3.926 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009201/0.4055, allocations: 75.91 kB / 0.5324 GB, free: 3.852 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002196/0.4057, allocations: 115.3 kB / 0.5325 GB, free: 3.742 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000147/0.4059, allocations: 55.98 kB / 0.5326 GB, free: 3.688 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.002362/0.4082, allocations: 1.538 MB / 0.5341 GB, free: 2.133 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4082, allocations: 0 / 0.5341 GB, free: 2.133 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003666/0.4119, allocations: 0.8147 MB / 0.5349 GB, free: 1.32 MB / 398.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.0004175/0.4123, allocations: 173.3 kB / 0.535 GB, free: 1.145 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.006679/0.419, allocations: 3.673 MB / 0.5386 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 8.516e-06/0.419, allocations: 4 kB / 0.5386 GB, free: 13.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001814/0.4208, allocations: 1.115 MB / 0.5397 GB, free: 12.35 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001618/0.4224, allocations: 302.2 kB / 0.54 GB, free: 12.07 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01523/0.4377, allocations: 7.845 MB / 0.5477 GB, free: 4.141 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003422/0.4411, allocations: 2.457 MB / 0.5501 GB, free: 1.652 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.003227/0.4443, allocations: 1.366 MB / 0.5514 GB, free: 288 kB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004978/0.4448, allocations: 184.5 kB / 0.5516 GB, free: 104 kB / 414.1 MB Notification: Performance of SimCode: time 9.11e-07/0.4448, allocations: 0 / 0.5516 GB, free: 104 kB / 414.1 MB Notification: Performance of Templates: time 0.0492/0.494, allocations: 20.32 MB / 0.5714 GB, free: 12.18 MB / 446.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: 5.7537497244775295] Failed to read output from testmodel.py, exit status != 0: 0.503551572561264 0.519995887 0.46525400100000003 Calling exit ...