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.00146/0.00146, allocations: 102.1 kB / 19.7 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.001663/0.001663, allocations: 218.6 kB / 23.01 MB, free: 5.125 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.35/1.35, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.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.05835/0.05835, allocations: 9.236 MB / 322.4 MB, free: 10.04 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: 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.00196/0.00196, allocations: 63.89 kB / 449 MB, free: 14.54 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0931/0.09506, allocations: 55.46 MB / 0.4926 GB, free: 6.98 MB / 366.1 MB Notification: Performance of NFInst.instantiate(PlanarMechanics.Examples.PowerDistanceDemo): time 0.01216/0.1072, allocations: 10.77 MB / 0.5032 GB, free: 12.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.005588/0.1128, allocations: 3.019 MB / 0.5061 GB, free: 9.137 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001101/0.1139, allocations: 47.81 kB / 0.5061 GB, free: 9.09 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001078/0.115, allocations: 468.8 kB / 0.5066 GB, free: 8.629 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003628/0.1186, allocations: 1.712 MB / 0.5083 GB, free: 6.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004968/0.1191, allocations: 179.7 kB / 0.5084 GB, free: 6.734 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003721/0.1228, allocations: 3.087 MB / 0.5115 GB, free: 3.641 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001153/0.124, allocations: 0.9465 MB / 0.5124 GB, free: 2.672 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001281/0.1253, allocations: 1.148 MB / 0.5135 GB, free: 1.52 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.1734/0.2987, allocations: 1.76 MB / 0.5152 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0007409/0.2994, allocations: 291.3 kB / 0.5155 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001474/0.3009, allocations: 0.9334 MB / 0.5164 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009553/0.3018, allocations: 1.522 MB / 0.5179 GB, free: 9.062 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001215/0.3031, allocations: 1.934 MB / 0.5198 GB, free: 8.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005264/0.3083, allocations: 6.071 MB / 0.5257 GB, free: 7.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.3083, allocations: 1.531 kB / 0.5257 GB, free: 7.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3083, allocations: 0 / 0.5257 GB, free: 7.504 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.788e-05/0.3084, allocations: 0.8438 kB / 0.5257 GB, free: 7.504 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.009033/0.3175, allocations: 4.625 MB / 0.5302 GB, free: 5.824 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.3175, allocations: 8.875 kB / 0.5302 GB, free: 5.824 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006254/0.3237, allocations: 1.925 MB / 0.5321 GB, free: 5.551 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002892/0.3266, allocations: 1.526 MB / 0.5336 GB, free: 5.145 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001153/0.3267, allocations: 198.6 kB / 0.5338 GB, free: 5.137 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004864/0.3272, allocations: 252.3 kB / 0.534 GB, free: 5.133 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01256/0.3398, allocations: 9.787 MB / 0.5436 GB, free: 1.293 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-05/0.3399, allocations: 31.89 kB / 0.5436 GB, free: 1.285 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003513/0.3402, allocations: 116.6 kB / 0.5437 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002876/0.3431, allocations: 2.301 MB / 0.546 GB, free: 360 kB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01487/0.358, allocations: 8.481 MB / 0.5543 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04312/0.4011, allocations: 30.56 MB / 0.5841 GB, free: 12.98 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00612/0.4072, allocations: 2.247 MB / 0.5863 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/0.4089, allocations: 0.9779 MB / 0.5873 GB, free: 9.762 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008261/0.4172, allocations: 3.955 MB / 0.5911 GB, free: 5.832 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.041e-05/0.4172, allocations: 55.16 kB / 0.5912 GB, free: 5.77 MB / 430.1 MB Notification: Performance of pre-optimization done (n=159): time 3.356e-06/0.4173, allocations: 0 / 0.5912 GB, free: 5.77 MB / 430.1 MB Notification: Performance of matching and sorting (n=181): time 0.01678/0.434, allocations: 8.132 MB / 0.5991 GB, free: 13.64 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.4341, allocations: 72 kB / 0.5992 GB, free: 13.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004933/0.439, allocations: 3.191 MB / 0.6023 GB, free: 10.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.913e-05/0.4391, allocations: 49.7 kB / 0.6023 GB, free: 10.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002029/0.4411, allocations: 2.712 MB / 0.605 GB, free: 7.598 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006239/0.4418, allocations: 0.7067 MB / 0.6057 GB, free: 6.898 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001379/0.4431, allocations: 0.9848 MB / 0.6066 GB, free: 5.906 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001202/0.4433, allocations: 305.1 kB / 0.6069 GB, free: 5.605 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00266/0.4459, allocations: 1.567 MB / 0.6085 GB, free: 4.031 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004871/0.4508, allocations: 4.36 MB / 0.6127 GB, free: 14.33 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007722/0.4585, allocations: 6.382 MB / 0.619 GB, free: 6.969 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.295e-05/0.4586, allocations: 28 kB / 0.619 GB, free: 6.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=642) (initialization): time 0.009983/0.4686, allocations: 6.037 MB / 0.6249 GB, free: 0.9961 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.356e-05/0.4686, allocations: 44.97 kB / 0.6249 GB, free: 0.9531 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001361/0.4688, allocations: 100 kB / 0.625 GB, free: 0.8555 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007815/0.4695, allocations: 351.5 kB / 0.6254 GB, free: 0.5117 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003227/0.4728, allocations: 1.096 MB / 0.6264 GB, free: 15.41 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004582/0.4774, allocations: 3.593 MB / 0.6299 GB, free: 11.71 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002825/0.4802, allocations: 251.9 kB / 0.6302 GB, free: 11.47 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004202/0.4806, allocations: 303.9 kB / 0.6305 GB, free: 11.18 MB / 478.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.002955/0.4836, allocations: 1.878 MB / 0.6323 GB, free: 9.285 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004682/0.484, allocations: 290.1 kB / 0.6326 GB, free: 9 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00428/0.4883, allocations: 2.413 MB / 0.6349 GB, free: 6.57 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001687/0.4885, allocations: 47.09 kB / 0.635 GB, free: 6.527 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/0.4885, allocations: 7.938 kB / 0.635 GB, free: 6.52 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.4885, allocations: 7.969 kB / 0.635 GB, free: 6.512 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/0.5005, allocations: 6.801 MB / 0.6416 GB, free: 15.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.297e-06/0.5005, allocations: 4 kB / 0.6416 GB, free: 15.62 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001029/0.5016, allocations: 259.6 kB / 0.6419 GB, free: 15.37 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005798/0.5021, allocations: 220.9 kB / 0.6421 GB, free: 15.15 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001066/0.5022, allocations: 43.86 kB / 0.6421 GB, free: 15.11 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003476/0.5057, allocations: 2.855 MB / 0.6449 GB, free: 12.15 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.5057, allocations: 12.06 kB / 0.6449 GB, free: 12.14 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005815/0.5115, allocations: 3.736 MB / 0.6486 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007161/0.5123, allocations: 282.1 kB / 0.6489 GB, free: 8.062 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004712/0.5127, allocations: 39.98 kB / 0.6489 GB, free: 8.023 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001062/0.5138, allocations: 87.78 kB / 0.649 GB, free: 7.938 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.514, allocations: 108.4 kB / 0.6491 GB, free: 7.832 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001077/0.5141, allocations: 55.98 kB / 0.6491 GB, free: 7.777 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.003518/0.5176, allocations: 2.029 MB / 0.6511 GB, free: 5.746 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5176, allocations: 0 / 0.6511 GB, free: 5.746 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.003627/0.5212, allocations: 0.8242 MB / 0.6519 GB, free: 4.922 MB / 494.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.0003786/0.5216, allocations: 170 kB / 0.6521 GB, free: 4.75 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.006447/0.5281, allocations: 3.708 MB / 0.6557 GB, free: 1.051 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.5281, allocations: 0 / 0.6557 GB, free: 1.051 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001822/0.5299, allocations: 1.137 MB / 0.6568 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002164/0.532, allocations: 470.1 kB / 0.6573 GB, free: 15.46 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01549/0.5475, allocations: 8.506 MB / 0.6656 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003443/0.551, allocations: 3.007 MB / 0.6685 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007965/0.5518, allocations: 259.4 kB / 0.6688 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of SimCode: time 6.21e-07/0.5518, allocations: 0 / 0.6688 GB, free: 3.586 MB / 0.4981 GB Notification: Performance of Templates: time 0.2617/0.8135, allocations: 69.13 MB / 0.7363 GB, free: 177.9 MB / 0.545 GB " [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: 11.74006965989247] Failed to read output from testmodel.py, exit status != 0: 0.8209349650423974 0.830196001 0.519713938 Calling exit ...