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.001425/0.001425, allocations: 92.2 kB / 20.19 MB, free: 4.363 MB / 18.57 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.001572/0.001572, allocations: 173.3 kB / 23.49 MB, free: 1.059 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.05/1.05, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.03017/0.03017, allocations: 7.183 MB / 267.5 MB, free: 6.129 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.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.112e-06/1.112e-06, allocations: 0 / 338.9 MB, free: 10.59 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.587e-05, allocations: 6.312 kB / 338.9 MB, free: 10.58 MB / 266.7 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PowerDistanceDemo): time 0.007242/0.007258, allocations: 10.41 MB / 349.3 MB, free: 116 kB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.006887/0.01415, allocations: 2.961 MB / 352.2 MB, free: 13.14 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001368/0.01551, allocations: 47.88 kB / 352.3 MB, free: 13.09 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001063/0.01658, allocations: 468.7 kB / 352.7 MB, free: 12.63 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004/0.02058, allocations: 1.792 MB / 354.5 MB, free: 10.83 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004936/0.02107, allocations: 171.6 kB / 354.7 MB, free: 10.66 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.003596/0.02467, allocations: 3.209 MB / 357.9 MB, free: 7.453 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001236/0.0259, allocations: 1.017 MB / 358.9 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001755/0.02766, allocations: 1.742 MB / 360.7 MB, free: 4.664 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001795/0.02945, allocations: 1.624 MB / 362.3 MB, free: 3.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004295/0.02988, allocations: 296 kB / 362.6 MB, free: 2.746 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001183/0.03106, allocations: 0.8893 MB / 363.5 MB, free: 1.855 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0009145/0.03198, allocations: 1.585 MB / 365.1 MB, free: 272 kB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000919/0.0329, allocations: 1.051 MB / 366.1 MB, free: 15.21 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004655/0.03755, allocations: 4.003 MB / 370.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.03756, allocations: 0 / 370.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.03756, allocations: 0 / 370.1 MB, free: 11.19 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.528e-05/0.03763, allocations: 0 / 370.1 MB, free: 11.19 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1479 * Number of variables: 1479 Notification: Performance of Generate backend data structure: time 0.008838/0.04647, allocations: 4.947 MB / 375.1 MB, free: 6.18 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.04651, allocations: 16.62 kB / 375.1 MB, free: 6.164 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005094/0.05161, allocations: 2.428 MB / 377.5 MB, free: 3.73 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/0.05328, allocations: 1.48 MB / 379 MB, free: 2.215 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001047/0.05338, allocations: 193.2 kB / 379.2 MB, free: 2.023 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003233/0.0537, allocations: 260.1 kB / 379.4 MB, free: 1.77 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005826/0.05953, allocations: 5.057 MB / 384.5 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.818e-05/0.05959, allocations: 23.81 kB / 384.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002569/0.05985, allocations: 119.8 kB / 384.6 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002226/0.06207, allocations: 2.306 MB / 386.9 MB, free: 9.645 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005974/0.06805, allocations: 2.871 MB / 389.8 MB, free: 6.762 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1581/0.2262, allocations: 31.79 MB / 421.6 MB, free: 51.8 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003826/0.23, allocations: 1.35 MB / 422.9 MB, free: 51.76 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007714/0.2308, allocations: 433.3 kB / 423.4 MB, free: 51.74 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004591/0.2354, allocations: 3.254 MB / 426.6 MB, free: 51.34 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.941e-05/0.2354, allocations: 49.48 kB / 426.7 MB, free: 51.29 MB / 330.7 MB Notification: Performance of pre-optimization done (n=159): time 3.547e-06/0.2354, allocations: 0 / 426.7 MB, free: 51.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=181): time 0.008605/0.244, allocations: 5.126 MB / 431.8 MB, free: 50.13 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.244, allocations: 77.53 kB / 431.9 MB, free: 50.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002354/0.2464, allocations: 2.399 MB / 434.3 MB, free: 49.42 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.135e-05/0.2465, allocations: 45.14 kB / 434.3 MB, free: 49.37 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001001/0.2475, allocations: 2.868 MB / 437.2 MB, free: 47.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004382/0.2479, allocations: 0.7225 MB / 437.9 MB, free: 46.67 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008918/0.2488, allocations: 1.062 MB / 439 MB, free: 46.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 8.998e-05/0.2489, allocations: 0.5237 MB / 439.5 MB, free: 45.59 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009407/0.2498, allocations: 0.5282 MB / 440 MB, free: 45.52 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001815/0.2516, allocations: 4.645 MB / 444.7 MB, free: 39.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003291/0.2549, allocations: 5.709 MB / 450.4 MB, free: 32.09 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-05/0.255, allocations: 32 kB / 450.4 MB, free: 32.06 MB / 330.7 MB Notification: Performance of matching and sorting (n=652) (initialization): time 0.004893/0.2598, allocations: 4.16 MB / 454.6 MB, free: 28.04 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.925e-05/0.2599, allocations: 54.98 kB / 454.6 MB, free: 27.99 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.054e-05/0.26, allocations: 100 kB / 454.7 MB, free: 27.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006382/0.2606, allocations: 329.3 kB / 455 MB, free: 27.57 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/0.2623, allocations: 1.103 MB / 456.1 MB, free: 26.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002099/0.2644, allocations: 3.111 MB / 459.3 MB, free: 23.24 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001974/0.2664, allocations: 251.8 kB / 459.5 MB, free: 22.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002417/0.2666, allocations: 299.5 kB / 459.8 MB, free: 22.7 MB / 330.7 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 (607): * Single equations (assignments): 601 * 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.001124/0.2678, allocations: 0.5449 MB / 460.3 MB, free: 22.14 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002731/0.268, allocations: 289.2 kB / 460.6 MB, free: 21.86 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00159/0.2696, allocations: 1.243 MB / 461.9 MB, free: 20.6 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.546e-05/0.2697, allocations: 43.95 kB / 461.9 MB, free: 20.56 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.2697, allocations: 10.12 kB / 461.9 MB, free: 20.55 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.064e-05/0.2697, allocations: 7.969 kB / 461.9 MB, free: 20.54 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005856/0.2756, allocations: 4.566 MB / 466.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.2756, allocations: 0 / 466.5 MB, free: 15.89 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005574/0.2762, allocations: 260.1 kB / 466.7 MB, free: 15.64 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000422/0.2766, allocations: 203.4 kB / 466.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.195e-05/0.2766, allocations: 35.98 kB / 467 MB, free: 15.4 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001324/0.278, allocations: 2.435 MB / 469.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.278, allocations: 7.938 kB / 469.4 MB, free: 12.85 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001918/0.2799, allocations: 1.839 MB / 471.3 MB, free: 10.92 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002843/0.2802, allocations: 218.4 kB / 471.5 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001563/0.2803, allocations: 35.34 kB / 471.5 MB, free: 10.67 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004568/0.2808, allocations: 79.91 kB / 471.6 MB, free: 10.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.2809, allocations: 113 kB / 471.7 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.906e-05/0.281, allocations: 59.98 kB / 471.7 MB, free: 10.43 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0009495/0.2819, allocations: 1.035 MB / 472.8 MB, free: 9.375 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.2819, allocations: 0 / 472.8 MB, free: 9.375 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002399/0.2843, allocations: 0.8274 MB / 473.6 MB, free: 8.551 MB / 330.7 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 (142): * Single equations (assignments): 136 * 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.0002747/0.2846, allocations: 170.8 kB / 473.8 MB, free: 8.375 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002914/0.2875, allocations: 2.467 MB / 476.2 MB, free: 5.918 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.2875, allocations: 5.75 kB / 476.3 MB, free: 5.914 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007269/0.2882, allocations: 0.7433 MB / 477 MB, free: 5.152 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009954/0.2892, allocations: 324.6 kB / 477.3 MB, free: 4.852 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008393/0.2976, allocations: 6.727 MB / 484 MB, free: 14 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009618/0.2986, allocations: 1.107 MB / 485.1 MB, free: 12.88 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002042/0.3006, allocations: 1.189 MB / 486.3 MB, free: 11.68 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003417/0.301, allocations: 192.5 kB / 486.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.813e-06/0.301, allocations: 0 / 486.5 MB, free: 11.5 MB / 346.7 MB Notification: Performance of Templates: time 0.03375/0.3347, allocations: 20.65 MB / 0.4953 GB, free: 7.25 MB / 362.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > PlanarMechanics_PlanarMechanics.Examples.PowerDistanceDemo.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7459210429806262]